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.008218/0.008219, allocations: 99.58 kB / 15.73 MB, free: 6.016 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.001537/0.001537, allocations: 193.3 kB / 16.68 MB, free: 5.934 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0987/0.0987, allocations: 16.67 MB / 307.2 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002992/0.002992, allocations: 75.86 kB / 426.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1332, allocations: 53.54 MB / 480.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing): time 0.2749/0.4081, allocations: 38.42 MB / 0.5064 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.4259, allocations: 9.064 MB / 0.5152 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00501/0.4309, allocations: 65.88 kB / 0.5153 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002957/0.434, allocations: 0.7063 MB / 0.516 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008103/0.4421, allocations: 2.178 MB / 0.5181 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004034/0.4462, allocations: 1.474 MB / 0.5195 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006873/0.4531, allocations: 3.805 MB / 0.5232 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.4547, allocations: 0.7168 MB / 0.5239 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.4574, allocations: 1.299 MB / 0.5252 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.4596, allocations: 1.406 MB / 0.5266 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003883/0.46, allocations: 167.3 kB / 0.5267 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.4621, allocations: 0.5801 MB / 0.5273 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.4624, allocations: 423.6 kB / 0.5277 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.4639, allocations: 1.202 MB / 0.5289 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003835/0.4678, allocations: 2.852 MB / 0.5317 GB, free: 2.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4678, allocations: 0 / 0.5317 GB, free: 2.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4678, allocations: 0 / 0.5317 GB, free: 2.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.629e-05/0.4679, allocations: 0 / 0.5317 GB, free: 2.852 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.008701/0.4766, allocations: 3.135 MB / 0.5347 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4766, allocations: 13.94 kB / 0.5347 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.4784, allocations: 363.4 kB / 0.5351 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.4809, allocations: 1.348 MB / 0.5364 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-05/0.481, allocations: 120.1 kB / 0.5365 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.4812, allocations: 165.2 kB / 0.5367 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.4839, allocations: 1.651 MB / 0.5383 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.4839, allocations: 9.188 kB / 0.5383 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.4841, allocations: 67.25 kB / 0.5384 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.4841, allocations: 37.12 kB / 0.5384 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.4862, allocations: 1.302 MB / 0.5397 GB, free: 13.64 MB / 398.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.01568/0.5019, allocations: 11.91 MB / 0.5513 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/0.5048, allocations: 1.981 MB / 0.5532 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00087/0.5057, allocations: 0.5237 MB / 0.5538 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.668e-05/0.5058, allocations: 16.59 kB / 0.5538 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.5058, allocations: 53.09 kB / 0.5538 GB, free: 0.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=138): time 3.937e-06/0.5058, allocations: 0 / 0.5538 GB, free: 0.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=138): time 0.009784/0.5156, allocations: 2.933 MB / 0.5567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.5157, allocations: 72.72 kB / 0.5568 GB, free: 14.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.5181, allocations: 1.46 MB / 0.5582 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.5183, allocations: 57.7 kB / 0.5582 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007965/0.5191, allocations: 0.8587 MB / 0.5591 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005891/0.5197, allocations: 0.5152 MB / 0.5596 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006053/0.5203, allocations: 428.5 kB / 0.56 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5204, allocations: 301.1 kB / 0.5603 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.5217, allocations: 0.6474 MB / 0.5609 GB, free: 9.793 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.5235, allocations: 1.333 MB / 0.5622 GB, free: 8.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/0.5265, allocations: 2.009 MB / 0.5642 GB, free: 5.824 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.5266, allocations: 8 kB / 0.5642 GB, free: 5.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01537/0.5419, allocations: 3.395 MB / 0.5675 GB, free: 2.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.542, allocations: 16 kB / 0.5675 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/0.5421, allocations: 24 kB / 0.5675 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01974/0.5618, allocations: 2.287 MB / 0.5698 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.5639, allocations: 499.2 kB / 0.5702 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02474/0.5886, allocations: 13.05 MB / 0.583 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.5913, allocations: 230.4 kB / 0.5832 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.5916, allocations: 104 kB / 0.5833 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001721/0.5933, allocations: 0.8599 MB / 0.5841 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001784/0.5951, allocations: 1.305 MB / 0.5854 GB, free: 15.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002931/0.598, allocations: 1.958 MB / 0.5873 GB, free: 12.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.008e-05/0.5981, allocations: 4 kB / 0.5873 GB, free: 12.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=301) (initialization_lambda0): time 0.00631/0.6044, allocations: 2.769 MB / 0.59 GB, free: 9.957 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.6044, allocations: 16 kB / 0.59 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.6044, allocations: 23.94 kB / 0.5901 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007753/0.6122, allocations: 1.405 MB / 0.5914 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.6142, allocations: 0.5071 MB / 0.5919 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/0.6311, allocations: 13.64 MB / 0.6053 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.6338, allocations: 175 kB / 0.6054 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.634, allocations: 104 kB / 0.6055 GB, free: 9.09 MB / 462.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.0006209/0.6347, allocations: 326.5 kB / 0.6058 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006526/0.6353, allocations: 194.8 kB / 0.606 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/0.6389, allocations: 1.602 MB / 0.6076 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.6389, allocations: 11.97 kB / 0.6076 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.639, allocations: 0 / 0.6076 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.6401, allocations: 411.5 kB / 0.608 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.6403, allocations: 27.94 kB / 0.608 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.6416, allocations: 67.95 kB / 0.6081 GB, free: 6.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.6418, allocations: 117.1 kB / 0.6082 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004227/0.646, allocations: 1.59 MB / 0.6097 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003277/0.6493, allocations: 1.799 MB / 0.6115 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000743/0.6501, allocations: 434.3 kB / 0.6119 GB, free: 2.504 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001544/0.6517, allocations: 0.924 MB / 0.6128 GB, free: 1.586 MB / 462.1 MB Notification: Performance of Backend: time 4.167e-06/0.6517, allocations: 0 / 0.6128 GB, free: 1.586 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01384/0.6655, allocations: 5.65 MB / 0.6183 GB, free: 11.81 MB / 478.1 MB Notification: Performance of SimCode: time 0.007009/0.6726, allocations: 4.147 MB / 0.6224 GB, free: 7.637 MB / 478.1 MB Notification: Performance of Templates: time 0.08025/0.7528, allocations: 43.43 MB / 0.6648 GB, free: 12.29 MB / 0.5137 GB 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=50 -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.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