Use of Modelica language to simulate electrified railway lines and trains