Hardware-In-Loop Testing of a Completely Digital IEC 61850-Based Teleprotection Scheme Using the RTDS Simulator