Gravar-mail: A compact model for early electromigration failures of copper dual-damascene interconnects