The long referendum campaign created divisions in the country's energy heartland.