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.001794/0.001794, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001905/0.001905, allocations: 198.9 kB / 16.26 MB, free: 6.625 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.281/1.281, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1813/0.1813, allocations: 16.79 MB / 306.9 MB, free: 14.89 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 371.3 MB, free: 3.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3125, allocations: 53.55 MB / 424.8 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing): time 0.02251/0.3351, allocations: 40.97 MB / 465.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.3484, allocations: 9.088 MB / 474.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004279/0.3527, allocations: 83.56 kB / 475 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.3548, allocations: 0.6082 MB / 475.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.3592, allocations: 1.998 MB / 477.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.3621, allocations: 1.377 MB / 479 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005481/0.3676, allocations: 3.949 MB / 482.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.3689, allocations: 0.7788 MB / 483.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.3712, allocations: 1.201 MB / 484.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.3729, allocations: 1.292 MB / 486.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.3733, allocations: 145.5 kB / 486.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.3748, allocations: 0.5547 MB / 486.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003592/0.3752, allocations: 386.4 kB / 487.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.3765, allocations: 1.162 MB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003555/0.38, allocations: 2.692 MB / 491.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.38, allocations: 1.031 kB / 491.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3801, allocations: 0 / 491.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.994e-05/0.3801, allocations: 0 / 491.1 MB, free: 11.53 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.008109/0.3882, allocations: 2.958 MB / 494.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3883, allocations: 9.406 kB / 494.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.3899, allocations: 349.9 kB / 494.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.392, allocations: 1.239 MB / 495.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/0.3921, allocations: 121.7 kB / 495.8 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.3923, allocations: 160.9 kB / 495.9 MB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.3947, allocations: 1.658 MB / 497.6 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.3948, allocations: 12.53 kB / 497.6 MB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.3949, allocations: 62.53 kB / 497.7 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.395, allocations: 41.59 kB / 497.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.3971, allocations: 1.301 MB / 499 MB, free: 7.324 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.01177/0.4088, allocations: 11.24 MB / 0.4983 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.4113, allocations: 1.978 MB / 0.5002 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007427/0.4121, allocations: 0.5244 MB / 0.5007 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.322e-05/0.4122, allocations: 19.3 kB / 0.5008 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.4122, allocations: 55.12 kB / 0.5008 GB, free: 11.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=138): time 3.407e-06/0.4122, allocations: 0 / 0.5008 GB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.008489/0.4207, allocations: 2.929 MB / 0.5037 GB, free: 9.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.4208, allocations: 64.72 kB / 0.5037 GB, free: 9.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.4224, allocations: 1.366 MB / 0.5051 GB, free: 7.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.4226, allocations: 61.7 kB / 0.5051 GB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000529/0.4231, allocations: 0.8236 MB / 0.5059 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004064/0.4235, allocations: 0.493 MB / 0.5064 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/0.424, allocations: 428.4 kB / 0.5068 GB, free: 6.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.4241, allocations: 301.1 kB / 0.5071 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4252, allocations: 0.6396 MB / 0.5077 GB, free: 5.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.4266, allocations: 1.34 MB / 0.509 GB, free: 3.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/0.429, allocations: 2.001 MB / 0.511 GB, free: 1.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.429, allocations: 4 kB / 0.511 GB, free: 1.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01556/0.4446, allocations: 3.386 MB / 0.5143 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.4446, allocations: 19.98 kB / 0.5143 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.4447, allocations: 20 kB / 0.5143 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01955/0.4642, allocations: 2.283 MB / 0.5166 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.466, allocations: 499.2 kB / 0.517 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/0.4867, allocations: 13 MB / 0.5297 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.489, allocations: 233.7 kB / 0.53 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.4892, allocations: 104 kB / 0.5301 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001475/0.4906, allocations: 0.856 MB / 0.5309 GB, free: 12.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001287/0.4919, allocations: 1.297 MB / 0.5322 GB, free: 10.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002263/0.4942, allocations: 1.958 MB / 0.5341 GB, free: 8.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.013e-05/0.4942, allocations: 4 kB / 0.5341 GB, free: 8.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=301) (initialization_lambda0): time 0.005605/0.4998, allocations: 2.75 MB / 0.5368 GB, free: 5.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4999, allocations: 16 kB / 0.5368 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.4999, allocations: 31.92 kB / 0.5368 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007533/0.5075, allocations: 1.403 MB / 0.5382 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.5093, allocations: 0.507 MB / 0.5387 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/0.524, allocations: 13.58 MB / 0.5519 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.5266, allocations: 186.4 kB / 0.5521 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.5268, allocations: 103.9 kB / 0.5522 GB, free: 4.496 MB / 430.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.0006283/0.5274, allocations: 320.5 kB / 0.5525 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/0.5278, allocations: 189.7 kB / 0.5527 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/0.531, allocations: 1.602 MB / 0.5543 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.531, allocations: 7.984 kB / 0.5543 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.531, allocations: 0 / 0.5543 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006927/0.5317, allocations: 358.6 kB / 0.5546 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.5319, allocations: 31.94 kB / 0.5547 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.5329, allocations: 83.64 kB / 0.5547 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.5332, allocations: 117.1 kB / 0.5548 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003769/0.537, allocations: 1.579 MB / 0.5564 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002568/0.5395, allocations: 1.79 MB / 0.5581 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006503/0.5402, allocations: 434.3 kB / 0.5585 GB, free: 13.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.5414, allocations: 0.8539 MB / 0.5594 GB, free: 13.09 MB / 446.1 MB Notification: Performance of Backend: time 8.22e-07/0.5414, allocations: 0 / 0.5594 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01239/0.5538, allocations: 5.616 MB / 0.5649 GB, free: 7.332 MB / 446.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.005905/0.5597, allocations: 4.605 MB / 0.5694 GB, free: 2.695 MB / 446.1 MB Notification: Performance of Templates: time 0.24/0.7997, allocations: 39.7 MB / 0.6081 GB, free: 130.1 MB / 462.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing_res.mat","/var/lib/jenkins/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