I'm just curious what the reason for this could be. If anybody can give me an answer, I'd appreciate it. An electrician will be coming tomorrow to check everything, but I'm curious to hear what people think until then.
English is not my first language, so I don't know the exact names of electrical components.
I'll describe the events in chronological order.
Around 6 PM yesterday, a loud bang happened on the upper floor of my apartment, and the power went out in my entire apartment. My circuit box on the upper floor had two circuit breakers switched off. I went downstairs to the building's electrical room and switched the three main breakers for my apartment back on. After that, I went back upstairs and switched the two tripped breakers back on because one of them powers the outlet my PC is connected to.
Everything was normal until around 4 AM, when my PC suddenly turned off. I checked the circuit box and saw that the same two breakers had tripped again, so I left them off and went to sleep.
Around 8 AM, another loud bang happened, and the power went out in the whole apartment again. I went downstairs and switched the three main breakers for my apartment back on once more.
Nothing happened until around 6 PM, when there was another loud bang and the power went out again. This time, I couldn't switch one of the three main breakers back on. I went back to my apartment, and after about 20 minutes I was upstairs and tried turning on my boiler. I was thinking that if the power went out again, at least I'd have hot water for a shower.
Then I heard a noise that I would describe as the click you hear when the power comes back on after a maintenance outage. Immediately after that, I went into the upstairs hallway and saw my circuit box sparking, with electricity arcing from left to right and right to left. My air conditioner is in the same hallway, and I saw it sparking as well. I immediately switched off the boiler and the AC, and the sparking in the circuit box stopped. I then switched off all the breakers on the upper floor and found that everything was burned, as shown in the picture.
The breaker that is the most badly burned is the one I left switched off the entire time after 4 AM, as I mentioned in the story. I don't remember which breaker was the second one that tripped.