Invia SMS: Criteria and countermeasures for voltage collapse