Optimization of a FACTS Control Device using Real Time OE-EMTP Technique