DIN rail power supply for three-phase system