Thousands without power in New South Wales due to severe weather, prompting flood warnings and emergency response.