Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="AVR.Ka|AVR.Ta|AVR.Tb|AVR.Tc|AVR.VcPuStart|AVR.ViMax|AVR.ViMin|AVR.VrMax|AVR.VrMin|AVR.addIng.k1|AVR.addIng.k2|AVR.addIng.k3|AVR.delta|AVR.firstOrderLim.G.k|AVR.firstOrderLim.Gk.k|AVR.firstOrderLim.I.initType|AVR.firstOrderLim.I.k|AVR.firstOrderLim.I.y_start|AVR.firstOrderLim.T|AVR.firstOrderLim.initType|AVR.firstOrderLim.k|AVR.firstOrderLim.lim.homotopyType|AVR.firstOrderLim.lim.limitsAtInit|AVR.firstOrderLim.lim.strict|AVR.firstOrderLim.lim.uMax|AVR.firstOrderLim.lim.uMin|AVR.firstOrderLim.strict|AVR.firstOrderLim.yMax|AVR.firstOrderLim.yMin|AVR.firstOrderLim.yStart|AVR.fixInitialControlledVariable|AVR.fixInitialControlledVariableDefault|AVR.inputLimiter.homotopyType|AVR.inputLimiter.limitsAtInit|AVR.inputLimiter.strict|AVR.inputLimiter.uMax|AVR.inputLimiter.uMin|AVR.largeReal.k|AVR.largeReal.y|AVR.leadLag.T1|AVR.leadLag.T2|AVR.leadLag.firstOrder.T|AVR.leadLag.firstOrder.initType|AVR.leadLag.firstOrder.k|AVR.leadLag.firstOrder.y_start|AVR.leadLag.gain.k|AVR.leadLag.initType|AVR.leadLag.k|AVR.leadLag.noDynamics|AVR.leadLag.yStart|AVR.oversaturationPu|AVR.variableLimiter.homotopyType|AVR.variableLimiter.limit1|AVR.variableLimiter.limitsAtInit|AVR.variableLimiter.strict|AVR.variableLimiter.ySimplified|GEN.DPu|GEN.H|GEN.IStartPu|GEN.LDPu|GEN.LQ1Pu|GEN.LQ2Pu|GEN.LdPu|GEN.LfPu|GEN.LqPu|GEN.MdPu|GEN.MqPu|GEN.PNom|GEN.PStart|GEN.QStart|GEN.SNom|GEN.T1dPu|GEN.T1qPu|GEN.T2dPu|GEN.T2qPu|GEN.T3dPu|GEN.T3qPu|GEN.T4dPu|GEN.T4qPu|GEN.T5dPu|GEN.T5qPu|GEN.T6dPu|GEN.T6qPu|GEN.Tpd|GEN.Tpd0|GEN.Tppd|GEN.Tppd0|GEN.Tppq|GEN.Tppq0|GEN.Tpq|GEN.Tpq0|GEN.UNom|GEN.UPhaseStart|GEN.UStart|GEN.VStartPu|GEN.cosPhiStart|GEN.excitationPuType|GEN.idPuStart|GEN.ifPuStart|GEN.initOpt|GEN.iqPuStart|GEN.kuf|GEN.lambdadPuStart|GEN.lambdaqPuStart|GEN.localInit|GEN.mrcPu|GEN.neglectTransformerTerms|GEN.omega|GEN.omegaBase|GEN.port.IBase|GEN.port.IStart|GEN.port.PStart|GEN.port.QStart|GEN.port.SBase|GEN.port.SNom|GEN.port.UBase|GEN.port.UNom|GEN.port.UPhaseStart|GEN.port.UStart|GEN.port.VBase|GEN.port.VStart|GEN.port.i.im|GEN.port.i.re|GEN.port.iStart.im|GEN.port.iStart.re|GEN.port.portVariablesPhases|GEN.port.v.im|GEN.port.v.re|GEN.port.vStart.im|GEN.port.vStart.re|GEN.portVariablesPhases|GEN.rDPu|GEN.rQ1Pu|GEN.rQ2Pu|GEN.raPu|GEN.referenceGenerator|GEN.rfPu|GEN.sinPhiStart|GEN.thetaStart|GEN.timeConstApprox|GEN.udPuStart|GEN.ufPuInStart|GEN.ufPuStart|GEN.uqPuStart|GEN.xdPu|GEN.xlPu|GEN.xpdPu|GEN.xppdPu|GEN.xppqPu|GEN.xpqPu|GEN.xqPu|GRID.PStart|GRID.QStart|GRID.R_X|GRID.SNom|GRID.SSC|GRID.Ssc.im|GRID.Ssc.re|GRID.UNom|GRID.UPhaseRef|GRID.UPhaseStart|GRID.URef|GRID.UStart|GRID.ZGrid.im|GRID.ZGrid.re|GRID.c|GRID.e.im|GRID.e.re|GRID.eSource.im|GRID.eSource.re|GRID.eStart.im|GRID.eStart.re|GRID.i.im|GRID.i.re|GRID.localInit|GRID.port.IBase|GRID.port.IStart|GRID.port.PStart|GRID.port.QStart|GRID.port.SBase|GRID.port.SNom|GRID.port.UBase|GRID.port.UNom|GRID.port.UPhaseStart|GRID.port.UStart|GRID.port.VBase|GRID.port.VStart|GRID.port.i.im|GRID.port.i.re|GRID.port.iStart.im|GRID.port.iStart.re|GRID.port.portVariablesPhases|GRID.port.v.im|GRID.port.v.re|GRID.port.vStart.im|GRID.port.vStart.re|GRID.portVariablesPhases|GRIDL.PRef|GRIDL.PRefConst|GRIDL.PStart|GRIDL.QRef|GRIDL.QRefConst|GRIDL.QStart|GRIDL.SNom|GRIDL.UNom|GRIDL.UPhaseStart|GRIDL.URef|GRIDL.UStart|GRIDL.i.im|GRIDL.i.re|GRIDL.localInit|GRIDL.port.IBase|GRIDL.port.IStart|GRIDL.port.PStart|GRIDL.port.QStart|GRIDL.port.SBase|GRIDL.port.SNom|GRIDL.port.UBase|GRIDL.port.UNom|GRIDL.port.UPhaseStart|GRIDL.port.UStart|GRIDL.port.VBase|GRIDL.port.VStart|GRIDL.port.i.im|GRIDL.port.i.re|GRIDL.port.iStart.im|GRIDL.port.iStart.re|GRIDL.port.portVariablesPhases|GRIDL.port.v.im|GRIDL.port.v.re|GRIDL.port.vStart.im|GRIDL.port.vStart.re|GRIDL.portVariablesPhases|NTHV.PStart|NTHV.QStart|NTHV.R|NTHV.SNom|NTHV.UNom|NTHV.UPhaseStart|NTHV.UStart|NTHV.X|NTHV.i.im|NTHV.i.re|NTHV.localInit|NTHV.port.IBase|NTHV.port.IStart|NTHV.port.PStart|NTHV.port.QStart|NTHV.port.SBase|NTHV.port.SNom|NTHV.port.UBase|NTHV.port.UNom|NTHV.port.UPhaseStart|NTHV.port.UStart|NTHV.port.VBase|NTHV.port.VStart|NTHV.port.i.im|NTHV.port.i.re|NTHV.port.iStart.im|NTHV.port.iStart.re|NTHV.port.portVariablesPhases|NTHV.port.v.im|NTHV.port.v.re|NTHV.port.vStart.im|NTHV.port.vStart.re|NTHV.portVariablesPhases|NTHV.startTime|NTHV.stopTime|NTHV.v.im|NTHV.v.re|NTLV.PStart|NTLV.QStart|NTLV.SNom|NTLV.UNom|NTLV.UPhaseStart|NTLV.UStart|NTLV.localInit|NTLV.port.IBase|NTLV.port.IStart|NTLV.port.PStart|NTLV.port.QStart|NTLV.port.SBase|NTLV.port.SNom|NTLV.port.UBase|NTLV.port.UNom|NTLV.port.UPhaseStart|NTLV.port.UStart|NTLV.port.VBase|NTLV.port.VStart|NTLV.port.i.im|NTLV.port.i.re|NTLV.port.iStart.im|NTLV.port.iStart.re|NTLV.port.portVariablesPhases|NTLV.port.v.im|NTLV.port.v.re|NTLV.port.vStart.im|NTLV.port.vStart.re|NTLV.portVariablesPhases|TGEN.B|TGEN.G|TGEN.PStartA|TGEN.PStartB|TGEN.QStartA|TGEN.QStartB|TGEN.R|TGEN.SNom|TGEN.UNomA|TGEN.UNomB|TGEN.UPhaseStartA|TGEN.UPhaseStartB|TGEN.UStartA|TGEN.UStartB|TGEN.X|TGEN.YB.im|TGEN.YB.re|TGEN.computePowerBalance|TGEN.iA.im|TGEN.iA.re|TGEN.portA.IBase|TGEN.portA.IStart|TGEN.portA.PStart|TGEN.portA.QStart|TGEN.portA.SBase|TGEN.portA.SNom|TGEN.portA.UBase|TGEN.portA.UNom|TGEN.portA.UPhaseStart|TGEN.portA.UStart|TGEN.portA.VBase|TGEN.portA.VStart|TGEN.portA.iStart.im|TGEN.portA.iStart.re|TGEN.portA.portVariablesPhases|TGEN.portA.vStart.im|TGEN.portA.vStart.re|TGEN.portB.IBase|TGEN.portB.IStart|TGEN.portB.PStart|TGEN.portB.QStart|TGEN.portB.SBase|TGEN.portB.SNom|TGEN.portB.UBase|TGEN.portB.UNom|TGEN.portB.UPhaseStart|TGEN.portB.UStart|TGEN.portB.VBase|TGEN.portB.VStart|TGEN.portB.iStart.im|TGEN.portB.iStart.re|TGEN.portB.portVariablesPhases|TGEN.portB.vStart.im|TGEN.portB.vStart.re|TGEN.portVariablesPhases|TGEN.rFixed|TGEN.thetaFixed|TGEN.vA.im|TGEN.vA.re|TGOV.Dt|TGOV.PMechPuStart|TGOV.R|TGOV.T1|TGOV.T2|TGOV.T3|TGOV.VMax|TGOV.VMin|TGOV.delta|TGOV.deltaOmegaPu.u2|TGOV.firstOrderLim.G.k|TGOV.firstOrderLim.Gk.k|TGOV.firstOrderLim.I.initType|TGOV.firstOrderLim.I.k|TGOV.firstOrderLim.I.y_start|TGOV.firstOrderLim.T|TGOV.firstOrderLim.initType|TGOV.firstOrderLim.k|TGOV.firstOrderLim.lim.homotopyType|TGOV.firstOrderLim.lim.limitsAtInit|TGOV.firstOrderLim.lim.strict|TGOV.firstOrderLim.lim.uMax|TGOV.firstOrderLim.lim.uMin|TGOV.firstOrderLim.strict|TGOV.firstOrderLim.yMax|TGOV.firstOrderLim.yMin|TGOV.firstOrderLim.yStart|TGOV.fixInitialControlledVariable|TGOV.fixInitialControlledVariableDefault|TGOV.gainDivR.k|TGOV.gainDt.k|TGOV.leadLag.T1|TGOV.leadLag.T2|TGOV.leadLag.firstOrder.T|TGOV.leadLag.firstOrder.initType|TGOV.leadLag.firstOrder.k|TGOV.leadLag.firstOrder.y_start|TGOV.leadLag.gain.k|TGOV.leadLag.initType|TGOV.leadLag.k|TGOV.leadLag.noDynamics|TGOV.leadLag.yStart|TGOV.omegaRefPu.k|TGOV.omegaRefPu.y|TGOV.oversaturationPu|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="AVR.Ka|AVR.Ta|AVR.Tb|AVR.Tc|AVR.VcPuStart|AVR.ViMax|AVR.ViMin|AVR.VrMax|AVR.VrMin|AVR.addIng.k1|AVR.addIng.k2|AVR.addIng.k3|AVR.delta|AVR.firstOrderLim.G.k|AVR.firstOrderLim.Gk.k|AVR.firstOrderLim.I.initType|AVR.firstOrderLim.I.k|AVR.firstOrderLim.I.y_start|AVR.firstOrderLim.T|AVR.firstOrderLim.initType|AVR.firstOrderLim.k|AVR.firstOrderLim.lim.homotopyType|AVR.firstOrderLim.lim.limitsAtInit|AVR.firstOrderLim.lim.strict|AVR.firstOrderLim.lim.uMax|AVR.firstOrderLim.lim.uMin|AVR.firstOrderLim.strict|AVR.firstOrderLim.yMax|AVR.firstOrderLim.yMin|AVR.firstOrderLim.yStart|AVR.fixInitialControlledVariable|AVR.fixInitialControlledVariableDefault|AVR.inputLimiter.homotopyType|AVR.inputLimiter.limitsAtInit|AVR.inputLimiter.strict|AVR.inputLimiter.uMax|AVR.inputLimiter.uMin|AVR.largeReal.k|AVR.largeReal.y|AVR.leadLag.T1|AVR.leadLag.T2|AVR.leadLag.firstOrder.T|AVR.leadLag.firstOrder.initType|AVR.leadLag.firstOrder.k|AVR.leadLag.firstOrder.y_start|AVR.leadLag.gain.k|AVR.leadLag.initType|AVR.leadLag.k|AVR.leadLag.noDynamics|AVR.leadLag.yStart|AVR.oversaturationPu|AVR.variableLimiter.homotopyType|AVR.variableLimiter.limit1|AVR.variableLimiter.limitsAtInit|AVR.variableLimiter.strict|AVR.variableLimiter.ySimplified|GEN.DPu|GEN.H|GEN.IStartPu|GEN.LDPu|GEN.LQ1Pu|GEN.LQ2Pu|GEN.LdPu|GEN.LfPu|GEN.LqPu|GEN.MdPu|GEN.MqPu|GEN.PNom|GEN.PStart|GEN.QStart|GEN.SNom|GEN.T1dPu|GEN.T1qPu|GEN.T2dPu|GEN.T2qPu|GEN.T3dPu|GEN.T3qPu|GEN.T4dPu|GEN.T4qPu|GEN.T5dPu|GEN.T5qPu|GEN.T6dPu|GEN.T6qPu|GEN.Tpd|GEN.Tpd0|GEN.Tppd|GEN.Tppd0|GEN.Tppq|GEN.Tppq0|GEN.Tpq|GEN.Tpq0|GEN.UNom|GEN.UPhaseStart|GEN.UStart|GEN.VStartPu|GEN.cosPhiStart|GEN.excitationPuType|GEN.idPuStart|GEN.ifPuStart|GEN.initOpt|GEN.iqPuStart|GEN.kuf|GEN.lambdadPuStart|GEN.lambdaqPuStart|GEN.localInit|GEN.mrcPu|GEN.neglectTransformerTerms|GEN.omega|GEN.omegaBase|GEN.port.IBase|GEN.port.IStart|GEN.port.PStart|GEN.port.QStart|GEN.port.SBase|GEN.port.SNom|GEN.port.UBase|GEN.port.UNom|GEN.port.UPhaseStart|GEN.port.UStart|GEN.port.VBase|GEN.port.VStart|GEN.port.i.im|GEN.port.i.re|GEN.port.iStart.im|GEN.port.iStart.re|GEN.port.portVariablesPhases|GEN.port.v.im|GEN.port.v.re|GEN.port.vStart.im|GEN.port.vStart.re|GEN.portVariablesPhases|GEN.rDPu|GEN.rQ1Pu|GEN.rQ2Pu|GEN.raPu|GEN.referenceGenerator|GEN.rfPu|GEN.sinPhiStart|GEN.thetaStart|GEN.timeConstApprox|GEN.udPuStart|GEN.ufPuInStart|GEN.ufPuStart|GEN.uqPuStart|GEN.xdPu|GEN.xlPu|GEN.xpdPu|GEN.xppdPu|GEN.xppqPu|GEN.xpqPu|GEN.xqPu|GRID.PStart|GRID.QStart|GRID.R_X|GRID.SNom|GRID.SSC|GRID.Ssc.im|GRID.Ssc.re|GRID.UNom|GRID.UPhaseRef|GRID.UPhaseStart|GRID.URef|GRID.UStart|GRID.ZGrid.im|GRID.ZGrid.re|GRID.c|GRID.e.im|GRID.e.re|GRID.eSource.im|GRID.eSource.re|GRID.eStart.im|GRID.eStart.re|GRID.i.im|GRID.i.re|GRID.localInit|GRID.port.IBase|GRID.port.IStart|GRID.port.PStart|GRID.port.QStart|GRID.port.SBase|GRID.port.SNom|GRID.port.UBase|GRID.port.UNom|GRID.port.UPhaseStart|GRID.port.UStart|GRID.port.VBase|GRID.port.VStart|GRID.port.i.im|GRID.port.i.re|GRID.port.iStart.im|GRID.port.iStart.re|GRID.port.portVariablesPhases|GRID.port.v.im|GRID.port.v.re|GRID.port.vStart.im|GRID.port.vStart.re|GRID.portVariablesPhases|GRIDL.PRef|GRIDL.PRefConst|GRIDL.PStart|GRIDL.QRef|GRIDL.QRefConst|GRIDL.QStart|GRIDL.SNom|GRIDL.UNom|GRIDL.UPhaseStart|GRIDL.URef|GRIDL.UStart|GRIDL.i.im|GRIDL.i.re|GRIDL.localInit|GRIDL.port.IBase|GRIDL.port.IStart|GRIDL.port.PStart|GRIDL.port.QStart|GRIDL.port.SBase|GRIDL.port.SNom|GRIDL.port.UBase|GRIDL.port.UNom|GRIDL.port.UPhaseStart|GRIDL.port.UStart|GRIDL.port.VBase|GRIDL.port.VStart|GRIDL.port.i.im|GRIDL.port.i.re|GRIDL.port.iStart.im|GRIDL.port.iStart.re|GRIDL.port.portVariablesPhases|GRIDL.port.v.im|GRIDL.port.v.re|GRIDL.port.vStart.im|GRIDL.port.vStart.re|GRIDL.portVariablesPhases|NTHV.PStart|NTHV.QStart|NTHV.R|NTHV.SNom|NTHV.UNom|NTHV.UPhaseStart|NTHV.UStart|NTHV.X|NTHV.i.im|NTHV.i.re|NTHV.localInit|NTHV.port.IBase|NTHV.port.IStart|NTHV.port.PStart|NTHV.port.QStart|NTHV.port.SBase|NTHV.port.SNom|NTHV.port.UBase|NTHV.port.UNom|NTHV.port.UPhaseStart|NTHV.port.UStart|NTHV.port.VBase|NTHV.port.VStart|NTHV.port.i.im|NTHV.port.i.re|NTHV.port.iStart.im|NTHV.port.iStart.re|NTHV.port.portVariablesPhases|NTHV.port.v.im|NTHV.port.v.re|NTHV.port.vStart.im|NTHV.port.vStart.re|NTHV.portVariablesPhases|NTHV.startTime|NTHV.stopTime|NTHV.v.im|NTHV.v.re|NTLV.PStart|NTLV.QStart|NTLV.SNom|NTLV.UNom|NTLV.UPhaseStart|NTLV.UStart|NTLV.localInit|NTLV.port.IBase|NTLV.port.IStart|NTLV.port.PStart|NTLV.port.QStart|NTLV.port.SBase|NTLV.port.SNom|NTLV.port.UBase|NTLV.port.UNom|NTLV.port.UPhaseStart|NTLV.port.UStart|NTLV.port.VBase|NTLV.port.VStart|NTLV.port.i.im|NTLV.port.i.re|NTLV.port.iStart.im|NTLV.port.iStart.re|NTLV.port.portVariablesPhases|NTLV.port.v.im|NTLV.port.v.re|NTLV.port.vStart.im|NTLV.port.vStart.re|NTLV.portVariablesPhases|TGEN.B|TGEN.G|TGEN.PStartA|TGEN.PStartB|TGEN.QStartA|TGEN.QStartB|TGEN.R|TGEN.SNom|TGEN.UNomA|TGEN.UNomB|TGEN.UPhaseStartA|TGEN.UPhaseStartB|TGEN.UStartA|TGEN.UStartB|TGEN.X|TGEN.YB.im|TGEN.YB.re|TGEN.computePowerBalance|TGEN.iA.im|TGEN.iA.re|TGEN.portA.IBase|TGEN.portA.IStart|TGEN.portA.PStart|TGEN.portA.QStart|TGEN.portA.SBase|TGEN.portA.SNom|TGEN.portA.UBase|TGEN.portA.UNom|TGEN.portA.UPhaseStart|TGEN.portA.UStart|TGEN.portA.VBase|TGEN.portA.VStart|TGEN.portA.iStart.im|TGEN.portA.iStart.re|TGEN.portA.portVariablesPhases|TGEN.portA.vStart.im|TGEN.portA.vStart.re|TGEN.portB.IBase|TGEN.portB.IStart|TGEN.portB.PStart|TGEN.portB.QStart|TGEN.portB.SBase|TGEN.portB.SNom|TGEN.portB.UBase|TGEN.portB.UNom|TGEN.portB.UPhaseStart|TGEN.portB.UStart|TGEN.portB.VBase|TGEN.portB.VStart|TGEN.portB.iStart.im|TGEN.portB.iStart.re|TGEN.portB.portVariablesPhases|TGEN.portB.vStart.im|TGEN.portB.vStart.re|TGEN.portVariablesPhases|TGEN.rFixed|TGEN.thetaFixed|TGEN.vA.im|TGEN.vA.re|TGOV.Dt|TGOV.PMechPuStart|TGOV.R|TGOV.T1|TGOV.T2|TGOV.T3|TGOV.VMax|TGOV.VMin|TGOV.delta|TGOV.deltaOmegaPu.u2|TGOV.firstOrderLim.G.k|TGOV.firstOrderLim.Gk.k|TGOV.firstOrderLim.I.initType|TGOV.firstOrderLim.I.k|TGOV.firstOrderLim.I.y_start|TGOV.firstOrderLim.T|TGOV.firstOrderLim.initType|TGOV.firstOrderLim.k|TGOV.firstOrderLim.lim.homotopyType|TGOV.firstOrderLim.lim.limitsAtInit|TGOV.firstOrderLim.lim.strict|TGOV.firstOrderLim.lim.uMax|TGOV.firstOrderLim.lim.uMin|TGOV.firstOrderLim.strict|TGOV.firstOrderLim.yMax|TGOV.firstOrderLim.yMin|TGOV.firstOrderLim.yStart|TGOV.fixInitialControlledVariable|TGOV.fixInitialControlledVariableDefault|TGOV.gainDivR.k|TGOV.gainDt.k|TGOV.leadLag.T1|TGOV.leadLag.T2|TGOV.leadLag.firstOrder.T|TGOV.leadLag.firstOrder.initType|TGOV.leadLag.firstOrder.k|TGOV.leadLag.firstOrder.y_start|TGOV.leadLag.gain.k|TGOV.leadLag.initType|TGOV.leadLag.k|TGOV.leadLag.noDynamics|TGOV.leadLag.yStart|TGOV.omegaRefPu.k|TGOV.omegaRefPu.y|TGOV.oversaturationPu|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 105.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07822/0.07822, allocations: 16.68 MB / 307.7 MB, free: 14.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.001941, allocations: 65.31 kB / 372.4 MB, free: 48.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1052, allocations: 53.56 MB / 425.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS): time 0.0404/0.1457, allocations: 43.17 MB / 469.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01973/0.1654, allocations: 10.81 MB / 479.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005622/0.1711, allocations: 91.56 kB / 480 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005267/0.1764, allocations: 1.409 MB / 481.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.1905, allocations: 4.22 MB / 485.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006866/0.1974, allocations: 2.589 MB / 488.2 MB, free: 14.36 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2647:11-2647:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.01372/0.2111, allocations: 8.999 MB / 497.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00405/0.2152, allocations: 1.834 MB / 499 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005599/0.2208, allocations: 3.028 MB / 0.4903 GB, free: 448 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005775/0.2266, allocations: 3.229 MB / 0.4934 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001853/0.2285, allocations: 468 kB / 0.4939 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.2326, allocations: 1.043 MB / 0.4949 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002411/0.235, allocations: 1.046 MB / 0.4959 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006713/0.2418, allocations: 2.935 MB / 0.4988 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.253, allocations: 7.111 MB / 0.5057 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.2531, allocations: 0 / 0.5057 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.2531, allocations: 0 / 0.5057 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002395/0.2533, allocations: 0 / 0.5057 GB, free: 0.5625 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 871 * Number of variables: 871 Notification: Performance of Generate backend data structure: time 0.2259/0.4792, allocations: 7.246 MB / 0.5128 GB, free: 78.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4793, allocations: 9.828 kB / 0.5128 GB, free: 78.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006726/0.486, allocations: 1.127 MB / 0.5139 GB, free: 78.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008522/0.4946, allocations: 3.102 MB / 0.517 GB, free: 76.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/0.4949, allocations: 283.4 kB / 0.5172 GB, free: 76.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.496, allocations: 371.8 kB / 0.5176 GB, free: 76.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007753/0.5038, allocations: 4.119 MB / 0.5216 GB, free: 73.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-05/0.5039, allocations: 32.84 kB / 0.5216 GB, free: 73.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004138/0.5043, allocations: 158.5 kB / 0.5218 GB, free: 73.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.541e-05/0.5044, allocations: 89.81 kB / 0.5219 GB, free: 73.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005409/0.5098, allocations: 3.278 MB / 0.5251 GB, free: 71.41 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03004/0.5399, allocations: 25.84 MB / 0.5503 GB, free: 46.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004798/0.5447, allocations: 3.701 MB / 0.5539 GB, free: 43.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.5464, allocations: 1.196 MB / 0.5551 GB, free: 41.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.5465, allocations: 52.8 kB / 0.5551 GB, free: 41.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002259/0.5488, allocations: 1.65 MB / 0.5568 GB, free: 40.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=303): time 5.35e-06/0.5488, allocations: 4 kB / 0.5568 GB, free: 40.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=303): time 0.01504/0.5639, allocations: 5.62 MB / 0.5623 GB, free: 34.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.5641, allocations: 0.8183 MB / 0.563 GB, free: 33.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005627/0.5697, allocations: 3.747 MB / 0.5667 GB, free: 29.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006075/0.5703, allocations: 101.7 kB / 0.5668 GB, free: 29.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001985/0.5723, allocations: 1.928 MB / 0.5687 GB, free: 27.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001777/0.5741, allocations: 1.191 MB / 0.5699 GB, free: 26.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004859/0.579, allocations: 1.711 MB / 0.5715 GB, free: 24.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.5791, allocations: 305.1 kB / 0.5718 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004644/0.5837, allocations: 2.57 MB / 0.5743 GB, free: 21.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005471/0.5892, allocations: 3.558 MB / 0.5778 GB, free: 18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0077/0.5969, allocations: 5.083 MB / 0.5828 GB, free: 12.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-05/0.597, allocations: 4 kB / 0.5828 GB, free: 12.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.02111/0.6181, allocations: 8.832 MB / 0.5914 GB, free: 3.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.123e-05/0.6183, allocations: 67.39 kB / 0.5915 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/0.6183, allocations: 12.7 kB / 0.5915 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/0.6292, allocations: 1.991 MB / 0.5934 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007062/0.6363, allocations: 1.79 MB / 0.5952 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0317/0.668, allocations: 23.61 MB / 0.6182 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008539/0.6766, allocations: 0.6581 MB / 0.6189 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/0.6781, allocations: 300 kB / 0.6191 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008262/0.6864, allocations: 3.139 MB / 0.6222 GB, free: 2.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007121/0.6935, allocations: 3.484 MB / 0.6256 GB, free: 14.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01028/0.7038, allocations: 4.966 MB / 0.6305 GB, free: 9.477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.423e-05/0.7039, allocations: 4 kB / 0.6305 GB, free: 9.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=1208) (initialization_lambda0): time 0.02247/0.7264, allocations: 8.364 MB / 0.6386 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/0.7265, allocations: 67.39 kB / 0.6387 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-05/0.7266, allocations: 15.94 kB / 0.6387 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/0.737, allocations: 1.707 MB / 0.6404 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008315/0.7453, allocations: 1.814 MB / 0.6421 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02515/0.7705, allocations: 20.58 MB / 0.6622 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00852/0.7791, allocations: 0.5194 MB / 0.6627 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/0.7806, allocations: 300 kB / 0.663 GB, free: 6.391 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 17 (FAULT.fault,$PRE.FAULT.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,FAULT.componentPF.isSlackBus,GRIDL.componentPF.isSlackBus,GRID.componentPF.isSlackBus,NTLV.componentPF.isSlackBus,GEN.componentPF.isSlackBus,FAULT.Y.im,$PRE.FAULT.Y.im,FAULT.Y.re,$PRE.FAULT.Y.re,AVR.firstOrderLim.I.local_reset,TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1138): * Single equations (assignments): 1124 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(38,0), (19,0), (2,0), (2,0), (2,0), (2,0), (4,0)} Notification: Performance of prepare postOptimizeDAE: time 0.002511/0.7832, allocations: 0.6265 MB / 0.6636 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001964/0.7852, allocations: 434.8 kB / 0.6641 GB, free: 5.312 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007889/0.7931, allocations: 3.272 MB / 0.6673 GB, free: 2.004 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.631e-05/0.7932, allocations: 19.94 kB / 0.6673 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.7932, allocations: 0 / 0.6673 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003331/0.7965, allocations: 0.9014 MB / 0.6682 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001595/0.7981, allocations: 59.94 kB / 0.6682 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004093/0.8023, allocations: 167.8 kB / 0.6684 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006495/0.8029, allocations: 242.6 kB / 0.6686 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009665/0.8126, allocations: 4.22 MB / 0.6727 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009086/0.8218, allocations: 4.919 MB / 0.6775 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002092/0.8239, allocations: 1.125 MB / 0.6786 GB, free: 6.191 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004996/0.8289, allocations: 2.289 MB / 0.6809 GB, free: 3.895 MB / 478.1 MB Notification: Performance of Backend: time 8.22e-07/0.8289, allocations: 0 / 0.6809 GB, free: 3.895 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2091/1.038, allocations: 14.37 MB / 0.6949 GB, free: 151 MB / 478.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.01628/1.054, allocations: 9.604 MB / 0.7043 GB, free: 147.1 MB / 478.1 MB [CodegenCpp.tpl:12250:11-12250:11:writable] Error: Template error: Unsupported zero crossing at 2: TGOV.firstOrderLim.G.y >= 0.0 and TGOV.firstOrderLim.I.y > TGOV.firstOrderLim.lim.uMax or TGOV.firstOrderLim.G.y <= 0.0 and TGOV.firstOrderLim.I.y < TGOV.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12250:11-12250:11:writable] Error: Template error: Unsupported zero crossing at 3: AVR.firstOrderLim.G.y >= 0.0 and AVR.firstOrderLim.I.y > AVR.firstOrderLim.lim.uMax or AVR.firstOrderLim.G.y <= 0.0 and AVR.firstOrderLim.I.y < AVR.firstOrderLim.lim.uMin. Error: Internal error SimCode DAEmode: The model PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS could not be translated