Insurgents have knocked out electrical power to much of Baghdad on the eve of Iraq 's nationwide constitutional referendum .