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.00141/0.001415, allocations: 102 kB / 16.35 MB, free: 5.828 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.001629/0.00163, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1947/0.1947, allocations: 16.74 MB / 307.9 MB, free: 14.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 373.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2772, allocations: 53.55 MB / 426.7 MB, free: 39.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing): time 0.02368/0.3009, allocations: 38.19 MB / 464.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.3141, allocations: 8.998 MB / 473.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004198/0.3183, allocations: 65.75 kB / 474 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00324/0.3217, allocations: 0.7011 MB / 474.7 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007757/0.3294, allocations: 2.185 MB / 476.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.3329, allocations: 1.473 MB / 478.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00556/0.3385, allocations: 3.808 MB / 482.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.34, allocations: 0.709 MB / 482.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.3424, allocations: 1.289 MB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/0.3448, allocations: 1.408 MB / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000415/0.3453, allocations: 167.4 kB / 485.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.3476, allocations: 0.5829 MB / 486.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004121/0.348, allocations: 425.8 kB / 486.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002007/0.35, allocations: 1.207 MB / 487.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005188/0.3552, allocations: 2.831 MB / 490.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3553, allocations: 0 / 490.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3553, allocations: 0 / 490.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.374e-05/0.3554, allocations: 0 / 490.8 MB, free: 13.68 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.01172/0.3671, allocations: 3.07 MB / 493.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/0.3672, allocations: 18.06 kB / 493.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/0.3694, allocations: 345.3 kB / 494.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.3729, allocations: 1.342 MB / 495.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3731, allocations: 120.9 kB / 495.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003773/0.3734, allocations: 162.4 kB / 495.8 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.3765, allocations: 1.654 MB / 497.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.3765, allocations: 7.719 kB / 497.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.3767, allocations: 67.28 kB / 497.5 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/0.3767, allocations: 36.66 kB / 497.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.3795, allocations: 1.302 MB / 498.9 MB, free: 9.398 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.01798/0.3975, allocations: 11.91 MB / 0.4988 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/0.4003, allocations: 1.972 MB / 0.5007 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000881/0.4012, allocations: 0.5164 MB / 0.5012 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.095e-05/0.4013, allocations: 16.19 kB / 0.5013 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.4014, allocations: 61.88 kB / 0.5013 GB, free: 12.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=138): time 3.937e-06/0.4014, allocations: 0 / 0.5013 GB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.009483/0.4109, allocations: 2.918 MB / 0.5042 GB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.411, allocations: 72.72 kB / 0.5042 GB, free: 10.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.4133, allocations: 1.46 MB / 0.5057 GB, free: 8.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002709/0.4136, allocations: 61.7 kB / 0.5057 GB, free: 8.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006603/0.4142, allocations: 0.8314 MB / 0.5065 GB, free: 7.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/0.4148, allocations: 0.4892 MB / 0.507 GB, free: 7.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005943/0.4154, allocations: 428.4 kB / 0.5074 GB, free: 7.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.4155, allocations: 305.1 kB / 0.5077 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.4167, allocations: 0.6396 MB / 0.5083 GB, free: 6.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.4183, allocations: 1.344 MB / 0.5096 GB, free: 4.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.4211, allocations: 1.997 MB / 0.5116 GB, free: 2.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.4212, allocations: 12 kB / 0.5116 GB, free: 2.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01579/0.437, allocations: 3.388 MB / 0.5149 GB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.4371, allocations: 12 kB / 0.5149 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/0.4371, allocations: 24 kB / 0.5149 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02002/0.4571, allocations: 2.279 MB / 0.5172 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.4592, allocations: 499.2 kB / 0.5177 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02375/0.483, allocations: 13.04 MB / 0.5304 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/0.4859, allocations: 233.7 kB / 0.5306 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.4862, allocations: 104 kB / 0.5307 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001675/0.4879, allocations: 0.856 MB / 0.5315 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00152/0.4894, allocations: 1.305 MB / 0.5328 GB, free: 11.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002614/0.4921, allocations: 1.962 MB / 0.5347 GB, free: 9.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.515e-05/0.4921, allocations: 8 kB / 0.5347 GB, free: 9.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=301) (initialization_lambda0): time 0.006253/0.4984, allocations: 2.754 MB / 0.5374 GB, free: 6.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4984, allocations: 12 kB / 0.5374 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.4984, allocations: 27.94 kB / 0.5375 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007779/0.5062, allocations: 1.403 MB / 0.5388 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/0.5085, allocations: 0.5032 MB / 0.5393 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/0.5244, allocations: 13.61 MB / 0.5526 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/0.5273, allocations: 182.4 kB / 0.5528 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002508/0.5276, allocations: 100 kB / 0.5529 GB, free: 5.371 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.0005641/0.5282, allocations: 335.4 kB / 0.5532 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/0.5287, allocations: 181.8 kB / 0.5534 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/0.5321, allocations: 1.598 MB / 0.5549 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.5322, allocations: 7.969 kB / 0.5549 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5322, allocations: 0 / 0.5549 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.5332, allocations: 398.4 kB / 0.5553 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.5335, allocations: 31.94 kB / 0.5554 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.5347, allocations: 67.94 kB / 0.5554 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.5349, allocations: 117.1 kB / 0.5555 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003793/0.5387, allocations: 1.587 MB / 0.5571 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002724/0.5414, allocations: 1.786 MB / 0.5588 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006787/0.5421, allocations: 434.3 kB / 0.5592 GB, free: 14.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.5435, allocations: 0.9242 MB / 0.5601 GB, free: 13.86 MB / 446.1 MB Notification: Performance of Backend: time 1.022e-06/0.5435, allocations: 0 / 0.5601 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01248/0.556, allocations: 5.642 MB / 0.5657 GB, free: 8.082 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.006684/0.5627, allocations: 4.075 MB / 0.5696 GB, free: 3.984 MB / 446.1 MB Notification: Performance of Templates: time 0.2354/0.7982, allocations: 42.82 MB / 0.6115 GB, free: 134.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 -s cvode -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