If it wasn't intentional I think they are going to find inadequate maintenance and required testing. And or incompetence of crew. All of the lights should not have gone out because main generator shut down. Emergency lighting and Nav lights should have stayed lit on emergency power Which would be a battery bank until Emergency / backup generator starts.