Electric Machine Models for the RTDS Simulator; Application: Generator Protection & Control Testing