Residents of a sweltering Iraqi port city lost power — and air conditioning — when three Turkish-owned electric generating ships in the harbor shut off the juice.