This is a prototype "electric locomotive" model-1082 made in Austria in 1932.
It seems that a transformer and a huge DC generator are contained in a huge tube like a steam locomotive boiler. The current flows in the following order: pantograph → transformer → rotary phase converter (converts single-phase AC to three-phase AC) → DC generator → DC motor.