joking aside, wm- it is a testing loco for new catenary. Its West German, I think- possibly Austrian or Italian, Swiss, French, Belgian, Luxembourg, Dutch, Danish, Swedish, Norwegian, Finnish, Estonian, Bulgarian or Spanish.
Or maybe its from somewhere else
EDIT: It has DR on the cab, so its either pre-1945 or East German.
EDIT2: Did the Germans have overhead wires pre 1945- I think only a few in Euroland, so my money is 1950s East Germany
EDIT3: just had it from the horses mouth... IT IS an electric fired steam engine... See? Even I'M wrong sometimes- I hope that makes you feel better