As to why the transformer went bang - it could just be a duff component in it, or sometimes it is provoked by a spider or similar shorting stuff out and causing an arc (which is the high current bit that does the damage, the spider is long gone by then).
You mention the house electric tripping, that is something to have investigated as it might just be a serious issue. Do you know if it was the MCB (over current) breaker that trips, or the RCD (earth leakage) one?
Transformers do draw a high inrush current so can trip MCBs and thinking about it if that really is a 5kVA transformer it would need a dedicated supply and not a 13A plug! Basically 5kVA is about 22A for 230V and usually you would be looking at something like a 32A D-curve MCB or BS88 fuse for it.
You mention the house electric tripping, that is something to have investigated as it might just be a serious issue. Do you know if it was the MCB (over current) breaker that trips, or the RCD (earth leakage) one?
Transformers do draw a high inrush current so can trip MCBs and thinking about it if that really is a 5kVA transformer it would need a dedicated supply and not a 13A plug! Basically 5kVA is about 22A for 230V and usually you would be looking at something like a 32A D-curve MCB or BS88 fuse for it.