So for the sake of me, I finally found the culprit module.
I narrowed it down to the?GUDE Expert Power Control 8316.
I inherited the whole project from another firm and this module was not used anywhere.
Anyway, it was instanced and was connecting to an existing intelligent power socket.
I had to go through any single instanced module to finally find the offending one.
Thank you everybody for your input.
Luca