When mine did that, it was overheating under load.
It does seem to make sense that it has to do with the wiring in your apartment and the fact that other appliances 'pull' from the same power circuit. However, if you're plugged into a UPS, that shouldn't be an issue, either, so it would make your UPS suspect, IMO.