The earthquake, which was felt in neighbouring countries where it prompted similar tsunami alerts, caused windows to break in Sumatra's largest city Medan and power outages across the island, including the devastated Aceh region.