TES generators and motors - Production of electric machines