Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.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.Electrical.Test.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="P.height|P.offset|P.startTime|PmPu.height|PmPu.offset|PmPu.startTime|Q.height|Q.offset|Q.startTime|bus.ERef|bus.PStart|bus.QStart|bus.R|bus.SNom|bus.UNom|bus.UPhaseStart|bus.URef|bus.UStart|bus.X|bus.localInit|bus.port.IBase|bus.port.IStart|bus.port.PStart|bus.port.QStart|bus.port.SBase|bus.port.SNom|bus.port.UBase|bus.port.UNom|bus.port.UPhaseStart|bus.port.UStart|bus.port.VBase|bus.port.VStart|bus.port.i.im|bus.port.i.re|bus.port.iStart.im|bus.port.iStart.re|bus.port.portVariablesPhases|bus.port.v.im|bus.port.v.re|bus.port.vStart.im|bus.port.vStart.re|bus.portVariablesPhases|bus.theta|line.B|line.G|line.PStartA|line.PStartB|line.QStartA|line.QStartB|line.R|line.SNom|line.UNom|line.UNomA|line.UNomB|line.UPhaseStartA|line.UPhaseStartB|line.UStartA|line.UStartB|line.X|line.computePowerBalance|line.iz.im|line.portA.IBase|line.portA.IStart|line.portA.PStart|line.portA.QStart|line.portA.SBase|line.portA.SNom|line.portA.UBase|line.portA.UNom|line.portA.UPhaseStart|line.portA.UStart|line.portA.VBase|line.portA.VStart|line.portA.iStart.im|line.portA.iStart.re|line.portA.portVariablesPhases|line.portA.vStart.im|line.portA.vStart.re|line.portB.IBase|line.portB.IStart|line.portB.PStart|line.portB.QStart|line.portB.SBase|line.portB.SNom|line.portB.UBase|line.portB.UNom|line.portB.UPhaseStart|line.portB.UStart|line.portB.VBase|line.portB.VStart|line.portB.iStart.im|line.portB.iStart.re|line.portB.portVariablesPhases|line.portB.vStart.im|line.portB.vStart.re|line.portVariablesPhases|line.vAt.im|line.vAt.re|line.vB.im|line.vB.re|load.PRefConst|load.PStart|load.QRefConst|load.QStart|load.SNom|load.UNom|load.UPhaseStart|load.URef|load.UStart|load.alpha|load.beta|load.localInit|load.port.IBase|load.port.IStart|load.port.PStart|load.port.QStart|load.port.SBase|load.port.SNom|load.port.UBase|load.port.UNom|load.port.UPhaseStart|load.port.UStart|load.port.VBase|load.port.VStart|load.port.i.im|load.port.i.re|load.port.iGen.im|load.port.iGen.re|load.port.iStart.im|load.port.iStart.re|load.port.portVariablesPhases|load.port.v.im|load.port.v.re|load.port.vStart.im|load.port.vStart.re|load.portVariablesPhases|machine.DPu|machine.H|machine.IStartPu|machine.LDPu|machine.LQ1Pu|machine.LQ2Pu|machine.LdPu|machine.LfPu|machine.LqPu|machine.MdPu|machine.MqPu|machine.PNom|machine.PStart|machine.QStart|machine.SNom|machine.T1dPu|machine.T1qPu|machine.T2dPu|machine.T2qPu|machine.T3dPu|machine.T3qPu|machine.T4dPu|machine.T4qPu|machine.T5dPu|machine.T5qPu|machine.T6dPu|machine.T6qPu|machine.Tpd|machine.Tpd0|machine.Tppd|machine.Tppd0|machine.Tppq|machine.Tppq0|machine.Tpq|machine.Tpq0|machine.UNom|machine.UPhaseStart|machine.UStart|machine.VStartPu|machine.cosPhiStart|machine.excitationPuType|machine.idPu|machine.idPuStart|machine.ifPuStart|machine.initOpt|machine.iqPuStart|machine.kuf|machine.lambdadPuStart|machine.lambdaqPuStart|machine.localInit|machine.mrcPu|machine.neglectTransformerTerms|machine.omega|machine.omegaBase|machine.port.IBase|machine.port.IStart|machine.port.PStart|machine.port.QStart|machine.port.SBase|machine.port.SNom|machine.port.UBase|machine.port.UNom|machine.port.UPhaseStart|machine.port.UStart|machine.port.VBase|machine.port.VStart|machine.port.i.im|machine.port.i.re|machine.port.iGen.im|machine.port.iGen.re|machine.port.iStart.im|machine.port.iStart.re|machine.port.portVariablesPhases|machine.port.v.im|machine.port.v.re|machine.port.vStart.im|machine.port.vStart.re|machine.portVariablesPhases|machine.rDPu|machine.rQ1Pu|machine.rQ2Pu|machine.raPu|machine.referenceGenerator|machine.rfPu|machine.sinPhiStart|machine.thetaStart|machine.timeConstApprox|machine.udPuStart|machine.ufPuIn|machine.ufPuInStart|machine.ufPuStart|machine.uqPuStart|machine.xdPu|machine.xlPu|machine.xpdPu|machine.xppdPu|machine.xppqPu|machine.xpqPu|machine.xqPu|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.referenceFrequency|time|ufPu.height|ufPu.offset|ufPu.startTime|ufPu.y",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="P.height|P.offset|P.startTime|PmPu.height|PmPu.offset|PmPu.startTime|Q.height|Q.offset|Q.startTime|bus.ERef|bus.PStart|bus.QStart|bus.R|bus.SNom|bus.UNom|bus.UPhaseStart|bus.URef|bus.UStart|bus.X|bus.localInit|bus.port.IBase|bus.port.IStart|bus.port.PStart|bus.port.QStart|bus.port.SBase|bus.port.SNom|bus.port.UBase|bus.port.UNom|bus.port.UPhaseStart|bus.port.UStart|bus.port.VBase|bus.port.VStart|bus.port.i.im|bus.port.i.re|bus.port.iStart.im|bus.port.iStart.re|bus.port.portVariablesPhases|bus.port.v.im|bus.port.v.re|bus.port.vStart.im|bus.port.vStart.re|bus.portVariablesPhases|bus.theta|line.B|line.G|line.PStartA|line.PStartB|line.QStartA|line.QStartB|line.R|line.SNom|line.UNom|line.UNomA|line.UNomB|line.UPhaseStartA|line.UPhaseStartB|line.UStartA|line.UStartB|line.X|line.computePowerBalance|line.iz.im|line.portA.IBase|line.portA.IStart|line.portA.PStart|line.portA.QStart|line.portA.SBase|line.portA.SNom|line.portA.UBase|line.portA.UNom|line.portA.UPhaseStart|line.portA.UStart|line.portA.VBase|line.portA.VStart|line.portA.iStart.im|line.portA.iStart.re|line.portA.portVariablesPhases|line.portA.vStart.im|line.portA.vStart.re|line.portB.IBase|line.portB.IStart|line.portB.PStart|line.portB.QStart|line.portB.SBase|line.portB.SNom|line.portB.UBase|line.portB.UNom|line.portB.UPhaseStart|line.portB.UStart|line.portB.VBase|line.portB.VStart|line.portB.iStart.im|line.portB.iStart.re|line.portB.portVariablesPhases|line.portB.vStart.im|line.portB.vStart.re|line.portVariablesPhases|line.vAt.im|line.vAt.re|line.vB.im|line.vB.re|load.PRefConst|load.PStart|load.QRefConst|load.QStart|load.SNom|load.UNom|load.UPhaseStart|load.URef|load.UStart|load.alpha|load.beta|load.localInit|load.port.IBase|load.port.IStart|load.port.PStart|load.port.QStart|load.port.SBase|load.port.SNom|load.port.UBase|load.port.UNom|load.port.UPhaseStart|load.port.UStart|load.port.VBase|load.port.VStart|load.port.i.im|load.port.i.re|load.port.iGen.im|load.port.iGen.re|load.port.iStart.im|load.port.iStart.re|load.port.portVariablesPhases|load.port.v.im|load.port.v.re|load.port.vStart.im|load.port.vStart.re|load.portVariablesPhases|machine.DPu|machine.H|machine.IStartPu|machine.LDPu|machine.LQ1Pu|machine.LQ2Pu|machine.LdPu|machine.LfPu|machine.LqPu|machine.MdPu|machine.MqPu|machine.PNom|machine.PStart|machine.QStart|machine.SNom|machine.T1dPu|machine.T1qPu|machine.T2dPu|machine.T2qPu|machine.T3dPu|machine.T3qPu|machine.T4dPu|machine.T4qPu|machine.T5dPu|machine.T5qPu|machine.T6dPu|machine.T6qPu|machine.Tpd|machine.Tpd0|machine.Tppd|machine.Tppd0|machine.Tppq|machine.Tppq0|machine.Tpq|machine.Tpq0|machine.UNom|machine.UPhaseStart|machine.UStart|machine.VStartPu|machine.cosPhiStart|machine.excitationPuType|machine.idPu|machine.idPuStart|machine.ifPuStart|machine.initOpt|machine.iqPuStart|machine.kuf|machine.lambdadPuStart|machine.lambdaqPuStart|machine.localInit|machine.mrcPu|machine.neglectTransformerTerms|machine.omega|machine.omegaBase|machine.port.IBase|machine.port.IStart|machine.port.PStart|machine.port.QStart|machine.port.SBase|machine.port.SNom|machine.port.UBase|machine.port.UNom|machine.port.UPhaseStart|machine.port.UStart|machine.port.VBase|machine.port.VStart|machine.port.i.im|machine.port.i.re|machine.port.iGen.im|machine.port.iGen.re|machine.port.iStart.im|machine.port.iStart.re|machine.port.portVariablesPhases|machine.port.v.im|machine.port.v.re|machine.port.vStart.im|machine.port.vStart.re|machine.portVariablesPhases|machine.rDPu|machine.rQ1Pu|machine.rQ2Pu|machine.raPu|machine.referenceGenerator|machine.rfPu|machine.sinPhiStart|machine.thetaStart|machine.timeConstApprox|machine.udPuStart|machine.ufPuIn|machine.ufPuInStart|machine.ufPuStart|machine.uqPuStart|machine.xdPu|machine.xlPu|machine.xpdPu|machine.xppdPu|machine.xppqPu|machine.xpqPu|machine.xqPu|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.referenceFrequency|time|ufPu.height|ufPu.offset|ufPu.startTime|ufPu.y",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.001819/0.001819, allocations: 191 kB / 17.29 MB, free: 5.516 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07996/0.07996, allocations: 16.75 MB / 307.9 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 63.03 kB / 373.2 MB, free: 48.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1057, allocations: 53.57 MB / 426.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing): time 0.03101/0.1368, allocations: 38.2 MB / 464.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01536/0.1522, allocations: 8.984 MB / 473.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003678/0.1559, allocations: 67.69 kB / 474 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.1585, allocations: 0.7104 MB / 474.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006247/0.1648, allocations: 2.177 MB / 476.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003431/0.1682, allocations: 1.481 MB / 478.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004948/0.1732, allocations: 3.805 MB / 482.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.1746, allocations: 0.7076 MB / 482.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.1766, allocations: 1.288 MB / 484.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.1789, allocations: 1.408 MB / 485.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000475/0.1794, allocations: 168 kB / 485.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.181, allocations: 0.5856 MB / 486.3 MB, free: 120 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004468/0.1815, allocations: 422.3 kB / 486.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.1829, allocations: 1.197 MB / 487.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.1857, allocations: 2.842 MB / 490.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1857, allocations: 0 / 490.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1857, allocations: 3.938 kB / 490.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.1857, allocations: 0 / 490.8 MB, free: 11.64 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.008156/0.1939, allocations: 3.073 MB / 493.8 MB, free: 8.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.194, allocations: 11.97 kB / 493.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.1956, allocations: 346.1 kB / 494.2 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.1979, allocations: 1.35 MB / 495.5 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.419e-05/0.198, allocations: 118.8 kB / 495.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.1983, allocations: 160 kB / 495.8 MB, free: 6.484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.2007, allocations: 1.659 MB / 497.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/0.2008, allocations: 11.92 kB / 497.5 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.201, allocations: 64 kB / 497.5 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-05/0.2011, allocations: 36 kB / 497.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.2045, allocations: 1.304 MB / 498.9 MB, free: 3.172 MB / 366.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.02296/0.2275, allocations: 11.89 MB / 0.4988 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005115/0.2326, allocations: 1.972 MB / 0.5007 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.2343, allocations: 0.5201 MB / 0.5012 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.2344, allocations: 21.25 kB / 0.5013 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.39e-05/0.2345, allocations: 55.88 kB / 0.5013 GB, free: 3.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=138): time 5.961e-06/0.2345, allocations: 0 / 0.5013 GB, free: 3.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.01709/0.2516, allocations: 2.923 MB / 0.5042 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.2518, allocations: 68.72 kB / 0.5042 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2575/0.5093, allocations: 1.456 MB / 0.5056 GB, free: 81.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003868/0.5097, allocations: 63.55 kB / 0.5057 GB, free: 81.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008861/0.5106, allocations: 0.8245 MB / 0.5065 GB, free: 81.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008235/0.5115, allocations: 0.4944 MB / 0.507 GB, free: 81.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/0.5126, allocations: 421.2 kB / 0.5074 GB, free: 81.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.5127, allocations: 301.8 kB / 0.5077 GB, free: 81.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/0.5148, allocations: 0.6435 MB / 0.5083 GB, free: 81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002574/0.5174, allocations: 1.336 MB / 0.5096 GB, free: 80.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004353/0.5218, allocations: 2.009 MB / 0.5116 GB, free: 79.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.092e-05/0.5218, allocations: 9.188 kB / 0.5116 GB, free: 79.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02637/0.5482, allocations: 3.387 MB / 0.5149 GB, free: 77.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/0.5484, allocations: 15.12 kB / 0.5149 GB, free: 77.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.723e-05/0.5484, allocations: 22.8 kB / 0.5149 GB, free: 77.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02363/0.5721, allocations: 2.289 MB / 0.5172 GB, free: 77.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.5741, allocations: 499.2 kB / 0.5176 GB, free: 77.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/0.5945, allocations: 13.03 MB / 0.5304 GB, free: 67.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.597, allocations: 231.5 kB / 0.5306 GB, free: 67.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003755/0.5974, allocations: 101.3 kB / 0.5307 GB, free: 67.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001704/0.5991, allocations: 0.8638 MB / 0.5315 GB, free: 66.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00125/0.6004, allocations: 1.295 MB / 0.5328 GB, free: 65.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002093/0.6025, allocations: 1.958 MB / 0.5347 GB, free: 63.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.574e-05/0.6025, allocations: 8 kB / 0.5347 GB, free: 63.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=301) (initialization_lambda0): time 0.005138/0.6077, allocations: 2.769 MB / 0.5374 GB, free: 60.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6077, allocations: 12 kB / 0.5374 GB, free: 60.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.6078, allocations: 24.56 kB / 0.5374 GB, free: 60.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007127/0.6149, allocations: 1.4 MB / 0.5388 GB, free: 58.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.6166, allocations: 0.5032 MB / 0.5393 GB, free: 58.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.6284, allocations: 13.62 MB / 0.5526 GB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.6303, allocations: 174.6 kB / 0.5528 GB, free: 43.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.6305, allocations: 104 kB / 0.5529 GB, free: 43.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 1 (machine.isSlackBusPF) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (243): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(39,0), (10,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.00046/0.631, allocations: 323.5 kB / 0.5532 GB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/0.6314, allocations: 183.8 kB / 0.5534 GB, free: 43.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002817/0.6342, allocations: 1.605 MB / 0.5549 GB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.6342, allocations: 7.969 kB / 0.5549 GB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.6343, allocations: 0 / 0.5549 GB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000689/0.6349, allocations: 402.4 kB / 0.5553 GB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.6352, allocations: 24 kB / 0.5553 GB, free: 41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.6365, allocations: 71.89 kB / 0.5554 GB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.6367, allocations: 121.8 kB / 0.5555 GB, free: 40.81 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003525/0.6402, allocations: 1.586 MB / 0.5571 GB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002188/0.6424, allocations: 1.786 MB / 0.5588 GB, free: 37.44 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005449/0.643, allocations: 437.2 kB / 0.5592 GB, free: 37.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001119/0.6441, allocations: 0.9203 MB / 0.5601 GB, free: 36.11 MB / 382.1 MB Notification: Performance of Backend: time 9.82e-07/0.6441, allocations: 0 / 0.5601 GB, free: 36.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01094/0.655, allocations: 5.632 MB / 0.5656 GB, free: 30.39 MB / 382.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.004991/0.6601, allocations: 4.066 MB / 0.5696 GB, free: 26.33 MB / 382.1 MB Notification: Performance of Templates: time 0.06061/0.7207, allocations: 42.85 MB / 0.6114 GB, free: 15.57 MB / 414.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable bus.theta in file PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing_res.mat. Warning: Get data of variable bus.theta from file PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing_res.mat failed! Error: Could not read variable machine.referenceGenerator in file PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing_res.mat. Warning: Get data of variable machine.referenceGenerator from file PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing_res.mat failed! Error: Could not read variable systemPowerGrids.referenceFrequency in file PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing_res.mat. Warning: Get data of variable systemPowerGrids.referenceFrequency from file PowerGrids_dev_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing_res.mat failed! " Variables in the reference:P.height,P.offset,P.startTime,PmPu.height,PmPu.offset,PmPu.startTime,Q.height,Q.offset,Q.startTime,bus.ERef,bus.PStart,bus.QStart,bus.R,bus.SNom,bus.UNom,bus.UPhaseStart,bus.URef,bus.UStart,bus.X,bus.localInit,bus.port.IBase,bus.port.IStart,bus.port.PStart,bus.port.QStart,bus.port.SBase,bus.port.SNom,bus.port.UBase,bus.port.UNom,bus.port.UPhaseStart,bus.port.UStart,bus.port.VBase,bus.port.VStart,bus.port.i.im,bus.port.i.re,bus.port.iStart.im,bus.port.iStart.re,bus.port.portVariablesPhases,bus.port.v.im,bus.port.v.re,bus.port.vStart.im,bus.port.vStart.re,bus.portVariablesPhases,bus.theta,line.B,line.G,line.PStartA,line.PStartB,line.QStartA,line.QStartB,line.R,line.SNom,line.UNom,line.UNomA,line.UNomB,line.UPhaseStartA,line.UPhaseStartB,line.UStartA,line.UStartB,line.X,line.computePowerBalance,line.iz.im,line.portA.IBase,line.portA.IStart,line.portA.PStart,line.portA.QStart,line.portA.SBase,line.portA.SNom,line.portA.UBase,line.portA.UNom,line.portA.UPhaseStart,line.portA.UStart,line.portA.VBase,line.portA.VStart,line.portA.iStart.im,line.portA.iStart.re,line.portA.portVariablesPhases,line.portA.vStart.im,line.portA.vStart.re,line.portB.IBase,line.portB.IStart,line.portB.PStart,line.portB.QStart,line.portB.SBase,line.portB.SNom,line.portB.UBase,line.portB.UNom,line.portB.UPhaseStart,line.portB.UStart,line.portB.VBase,line.portB.VStart,line.portB.iStart.im,line.portB.iStart.re,line.portB.portVariablesPhases,line.portB.vStart.im,line.portB.vStart.re,line.portVariablesPhases,line.vAt.im,line.vAt.re,line.vB.im,line.vB.re,load.PRefConst,load.PStart,load.QRefConst,load.QStart,load.SNom,load.UNom,load.UPhaseStart,load.URef,load.UStart,load.alpha,load.beta,load.localInit,load.port.IBase,load.port.IStart,load.port.PStart,load.port.QStart,load.port.SBase,load.port.SNom,load.port.UBase,load.port.UNom,load.port.UPhaseStart,load.port.UStart,load.port.VBase,load.port.VStart,load.port.i.im,load.port.i.re,load.port.iGen.im,load.port.iGen.re,load.port.iStart.im,load.port.iStart.re,load.port.portVariablesPhases,load.port.v.im,load.port.v.re,load.port.vStart.im,load.port.vStart.re,load.portVariablesPhases,machine.DPu,machine.H,machine.IStartPu,machine.LDPu,machine.LQ1Pu,machine.LQ2Pu,machine.LdPu,machine.LfPu,machine.LqPu,machine.MdPu,machine.MqPu,machine.PNom,machine.PStart,machine.QStart,machine.SNom,machine.T1dPu,machine.T1qPu,machine.T2dPu,machine.T2qPu,machine.T3dPu,machine.T3qPu,machine.T4dPu,machine.T4qPu,machine.T5dPu,machine.T5qPu,machine.T6dPu,machine.T6qPu,machine.Tpd,machine.Tpd0,machine.Tppd,machine.Tppd0,machine.Tppq,machine.Tppq0,machine.Tpq,machine.Tpq0,machine.UNom,machine.UPhaseStart,machine.UStart,machine.VStartPu,machine.cosPhiStart,machine.excitationPuType,machine.idPu,machine.idPuStart,machine.ifPuStart,machine.initOpt,machine.iqPuStart,machine.kuf,machine.lambdadPuStart,machine.lambdaqPuStart,machine.localInit,machine.mrcPu,machine.neglectTransformerTerms,machine.omega,machine.omegaBase,machine.port.IBase,machine.port.IStart,machine.port.PStart,machine.port.QStart,machine.port.SBase,machine.port.SNom,machine.port.UBase,machine.port.UNom,machine.port.UPhaseStart,machine.port.UStart,machine.port.VBase,machine.port.VStart,machine.port.i.im,machine.port.i.re,machine.port.iGen.im,machine.port.iGen.re,machine.port.iStart.im,machine.port.iStart.re,machine.port.portVariablesPhases,machine.port.v.im,machine.port.v.re,machine.port.vStart.im,machine.port.vStart.re,machine.portVariablesPhases,machine.rDPu,machine.rQ1Pu,machine.rQ2Pu,machine.raPu,machine.referenceGenerator,machine.rfPu,machine.sinPhiStart,machine.thetaStart,machine.timeConstApprox,machine.udPuStart,machine.ufPuIn,machine.ufPuInStart,machine.ufPuStart,machine.uqPuStart,machine.xdPu,machine.xlPu,machine.xpdPu,machine.xppdPu,machine.xppqPu,machine.xpqPu,machine.xqPu,systemPowerGrids.fNom,systemPowerGrids.initOpt,systemPowerGrids.omegaNom,systemPowerGrids.referenceFrequency,time,ufPu.height,ufPu.offset,ufPu.startTime,ufPu.y Variables in the result:P.height,P.offset,P.startTime,PmPu.height,PmPu.offset,PmPu.startTime,Q.height,Q.offset,Q.startTime,bus.ERef,bus.IPuMax,bus.PStart,bus.PStartPF,bus.QStart,bus.QStartPF,bus.R,bus.SNom,bus.UNom,bus.UPhase,bus.UPhaseStart,bus.UPhaseStartPF,bus.URef,bus.UStart,bus.UStartPF,bus.VPuMax,bus.VPuMin,bus.X,bus.Z.im,bus.Z.re,bus.assertionLevel,bus.computePF,bus.enableAssertions,bus.enableOmegaPuChecking,bus.hasSubPF,bus.isLinear,bus.isOnePortAC,bus.localInit,bus.omegaPuMax,bus.omegaPuMin,bus.port.IBase,bus.port.INom,bus.port.IStart,bus.port.PStart,bus.port.QStart,bus.port.SBase,bus.port.SNom,bus.port.UBase,bus.port.UNom,bus.port.UPhaseStart,bus.port.UStart,bus.port.VBase,bus.port.VNom,bus.port.VStart,bus.port.i.im,bus.port.i.re,bus.port.iStart.im,bus.port.iStart.re,bus.port.portVariablesPhases,bus.port.v.im,bus.port.v.re,bus.port.vStart.im,bus.port.vStart.re,bus.portVariablesPhases,bus.showDataOnDiagramsPu,bus.showDataOnDiagramsSI,bus.terminalAC.computePF,line.B,line.G,line.PStartA,line.PStartAPF,line.PStartB,line.PStartBPF,line.QStartA,line.QStartAPF,line.QStartB,line.QStartBPF,line.R,line.SNom,line.UNom,line.UNomA,line.UNomB,line.UPhaseStartA,line.UPhaseStartAPF,line.UPhaseStartB,line.UPhaseStartBPF,line.UStartA,line.UStartAPF,line.UStartB,line.UStartBPF,line.X,line.computePF,line.computePowerBalance,line.hasSubPF,line.iB.im,line.iB.re,line.isLinear,line.isTwoPortAC,line.iz.im,line.portA.IBase,line.portA.INom,line.portA.IStart,line.portA.PStart,line.portA.QStart,line.portA.SBase,line.portA.SNom,line.portA.UBase,line.portA.UNom,line.portA.UPhaseStart,line.portA.UStart,line.portA.VBase,line.portA.VNom,line.portA.VStart,line.portA.iStart.im,line.portA.iStart.re,line.portA.portVariablesPhases,line.portA.vStart.im,line.portA.vStart.re,line.portB.IBase,line.portB.INom,line.portB.IStart,line.portB.PStart,line.portB.QStart,line.portB.SBase,line.portB.SNom,line.portB.UBase,line.portB.UNom,line.portB.UPhaseStart,line.portB.UStart,line.portB.VBase,line.portB.VNom,line.portB.VStart,line.portB.iStart.im,line.portB.iStart.re,line.portB.portVariablesPhases,line.portB.vStart.im,line.portB.vStart.re,line.portVariablesPhases,line.showDataOnDiagramsPu,line.showDataOnDiagramsSI,line.terminalAC_a.computePF,line.terminalAC_b.computePF,line.vAt.im,line.vAt.re,line.vB.im,line.vB.re,load.IPuMax,load.PRefConst,load.PStart,load.PStartPF,load.QRefConst,load.QStart,load.QStartPF,load.SNom,load.SRef,load.UNom,load.UPhaseStart,load.UPhaseStartPF,load.URef,load.UStart,load.UStartPF,load.VPuMax,load.VPuMin,load.VPuThr,load.alpha,load.assertionLevel,load.beta,load.computePF,load.enableAssertions,load.enableOmegaPuChecking,load.hasSubPF,load.isLinear,load.isOnePortAC,load.localInit,load.lowVoltageAsImpedance,load.omegaPuMax,load.omegaPuMin,load.port.IBase,load.port.INom,load.port.IStart,load.port.PStart,load.port.QStart,load.port.SBase,load.port.SNom,load.port.UBase,load.port.UNom,load.port.UPhaseStart,load.port.UStart,load.port.VBase,load.port.VNom,load.port.VStart,load.port.i.im,load.port.i.re,load.port.iGen.im,load.port.iGen.re,load.port.iStart.im,load.port.iStart.re,load.port.portVariablesPhases,load.port.v.im,load.port.v.re,load.port.vStart.im,load.port.vStart.re,load.portVariablesPhases,load.showDataOnDiagramsPu,load.showDataOnDiagramsSI,load.terminalAC.computePF,machine.DPu,machine.H,machine.IPuMax,machine.IStartPu,machine.LDPu,machine.LQ1Pu,machine.LQ2Pu,machine.LdPu,machine.LfPu,machine.LqPu,machine.MdPu,machine.MqPu,machine.PNom,machine.PPF,machine.PStart,machine.PStartPF,machine.QStart,machine.QStartPF,machine.SNom,machine.T1dPu,machine.T1qPu,machine.T2dPu,machine.T2qPu,machine.T3dPu,machine.T3qPu,machine.T4dPu,machine.T4qPu,machine.T5dPu,machine.T5qPu,machine.T6dPu,machine.T6qPu,machine.Tpd,machine.Tpd0,machine.Tppd,machine.Tppd0,machine.Tppq,machine.Tppq0,machine.Tpq,machine.Tpq0,machine.UNom,machine.UPF,machine.UPhasePF,machine.UPhaseStart,machine.UPhaseStartPF,machine.UStart,machine.UStartPF,machine.VPuMax,machine.VPuMin,machine.VStartPu,machine.assertionLevel,machine.computePF,machine.cosPhiStart,machine.enableAssertions,machine.enableOmegaPuChecking,machine.excitationPuType,machine.hasSubPF,machine.idPu,machine.idPuStart,machine.ifPuStart,machine.initOpt,machine.iqPuStart,machine.isLinear,machine.isOnePortAC,machine.kuf,machine.lambdadPuStart,machine.lambdaqPuStart,machine.localInit,machine.mrcPu,machine.neglectTransformerTerms,machine.omega,machine.omegaBase,machine.omegaPuMax,machine.omegaPuMin,machine.port.IBase,machine.port.INom,machine.port.IStart,machine.port.PStart,machine.port.QStart,machine.port.SBase,machine.port.SNom,machine.port.UBase,machine.port.UNom,machine.port.UPhaseStart,machine.port.UStart,machine.port.VBase,machine.port.VNom,machine.port.VStart,machine.port.i.im,machine.port.i.re,machine.port.iGen.im,machine.port.iGen.re,machine.port.iStart.im,machine.port.iStart.re,machine.port.portVariablesPhases,machine.port.v.im,machine.port.v.re,machine.port.vStart.im,machine.port.vStart.re,machine.portVariablesPhases,machine.priority,machine.rDPu,machine.rQ1Pu,machine.rQ2Pu,machine.raPu,machine.rfPu,machine.showDataOnDiagramsPu,machine.showDataOnDiagramsSI,machine.sinPhiStart,machine.terminalAC.computePF,machine.thetaStart,machine.timeConstApprox,machine.udPuStart,machine.ufPuIn,machine.ufPuInStart,machine.ufPuStart,machine.uqPuStart,machine.useEPFtoSetExternalOffset,machine.xdPu,machine.xlPu,machine.xpdPu,machine.xppdPu,machine.xppqPu,machine.xpqPu,machine.xqPu,machineBus.IPuMax,machineBus.PStart,machineBus.PStartPF,machineBus.QStart,machineBus.QStartPF,machineBus.SNom,machineBus.UNom,machineBus.UPhaseStart,machineBus.UPhaseStartPF,machineBus.UStart,machineBus.UStartPF,machineBus.VPuMax,machineBus.VPuMin,machineBus.assertionLevel,machineBus.computePF,machineBus.enableAssertions,machineBus.enableOmegaPuChecking,machineBus.hasSubPF,machineBus.isLinear,machineBus.isOnePortAC,machineBus.localInit,machineBus.omegaPuMax,machineBus.omegaPuMin,machineBus.port.IBase,machineBus.port.INom,machineBus.port.IStart,machineBus.port.PStart,machineBus.port.QStart,machineBus.port.SBase,machineBus.port.SNom,machineBus.port.UBase,machineBus.port.UNom,machineBus.port.UPhaseStart,machineBus.port.UStart,machineBus.port.VBase,machineBus.port.VNom,machineBus.port.VStart,machineBus.port.iStart.im,machineBus.port.iStart.re,machineBus.port.portVariablesPhases,machineBus.port.vStart.im,machineBus.port.vStart.re,machineBus.portVariablesPhases,machineBus.showDataOnDiagramsPu,machineBus.showDataOnDiagramsSI,machineBus.terminalAC.computePF,systemPowerGrids.IPuMax,systemPowerGrids.VPuMax,systemPowerGrids.VPuMin,systemPowerGrids.assertionLevel,systemPowerGrids.computePF,systemPowerGrids.computePowerBalance,systemPowerGrids.enableAssertions,systemPowerGrids.fNom,systemPowerGrids.initOpt,systemPowerGrids.loadLowVoltageAsImpedance,systemPowerGrids.omegaNom,systemPowerGrids.omegaPuMax,systemPowerGrids.omegaPuMin,systemPowerGrids.portVariablesPhases,systemPowerGrids.showDataOnDiagramsPu,systemPowerGrids.showDataOnDiagramsSI,time,ufPu.height,ufPu.offset,ufPu.startTime,ufPu.y