Traction motors in diesel locomotives