single phase ac mains failure alarm