A dynamoelectric machine having a cooling system for removing heat uniformly about the machine. The machine includes a cooling jacket defining a flow path for liquid coolant which extends circumferentially of the machine and which reduces loss of coolant pressure. An endshield of the machine is configured for holding electronic components in arrangement integrated with the machine. The endshield has a flow passage for receiving the coolant to remove heat from the electronic components. The flow passage of the endshield and the flow path of the cooling jacket are serially arranged so that the coolant removes heat sequentially from the electronic components and a stator of the machine.