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.001177/0.001177, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.171/0.171, allocations: 16.78 MB / 307.2 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.89 kB / 371.8 MB, free: 3.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2222, allocations: 53.55 MB / 425.3 MB, free: 39.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing): time 0.01995/0.2422, allocations: 38.46 MB / 463.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.2539, allocations: 9.073 MB / 472.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.257, allocations: 70.12 kB / 472.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.2588, allocations: 0.7086 MB / 473.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004096/0.2629, allocations: 2.18 MB / 475.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.2653, allocations: 1.479 MB / 477.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003285/0.2686, allocations: 3.789 MB / 481.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.2697, allocations: 0.7179 MB / 481.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.2712, allocations: 1.276 MB / 483.1 MB, free: 180 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.2729, allocations: 1.408 MB / 484.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002768/0.2732, allocations: 171.3 kB / 484.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.2745, allocations: 0.5787 MB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.2748, allocations: 431 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.2759, allocations: 1.202 MB / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003074/0.279, allocations: 2.803 MB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.279, allocations: 0 / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2791, allocations: 0 / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.973e-05/0.2791, allocations: 0 / 489.7 MB, free: 13.2 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.008389/0.2875, allocations: 3.078 MB / 492.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2875, allocations: 9.422 kB / 492.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.2891, allocations: 346 kB / 493.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.2914, allocations: 1.307 MB / 494.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.108e-05/0.2915, allocations: 121.6 kB / 494.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.2917, allocations: 156.8 kB / 494.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.294, allocations: 1.654 MB / 496.3 MB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.294, allocations: 12.41 kB / 496.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.2942, allocations: 63.27 kB / 496.4 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.2942, allocations: 36.44 kB / 496.4 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.2963, allocations: 1.306 MB / 497.8 MB, free: 8.93 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.01376/0.3101, allocations: 11.95 MB / 0.4978 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.3128, allocations: 1.969 MB / 0.4997 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008591/0.3137, allocations: 0.5202 MB / 0.5002 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.031e-05/0.3138, allocations: 27.16 kB / 0.5002 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.3138, allocations: 46.81 kB / 0.5003 GB, free: 12.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=138): time 4.328e-06/0.3138, allocations: 1.344 kB / 0.5003 GB, free: 12.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.009186/0.323, allocations: 2.927 MB / 0.5031 GB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3231, allocations: 64.72 kB / 0.5032 GB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.3253, allocations: 1.456 MB / 0.5046 GB, free: 8.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002515/0.3256, allocations: 61.7 kB / 0.5047 GB, free: 8.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000667/0.3263, allocations: 0.8314 MB / 0.5055 GB, free: 7.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004771/0.3267, allocations: 492.9 kB / 0.5059 GB, free: 7.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005317/0.3273, allocations: 432.4 kB / 0.5064 GB, free: 6.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3274, allocations: 305.1 kB / 0.5066 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.3285, allocations: 0.6473 MB / 0.5073 GB, free: 5.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.33, allocations: 1.336 MB / 0.5086 GB, free: 4.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/0.3325, allocations: 2.001 MB / 0.5105 GB, free: 1.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.3325, allocations: 12 kB / 0.5105 GB, free: 1.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01426/0.3468, allocations: 3.4 MB / 0.5139 GB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.3468, allocations: 13.56 kB / 0.5139 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.3469, allocations: 24 kB / 0.5139 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01784/0.3647, allocations: 2.295 MB / 0.5161 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.3665, allocations: 499.2 kB / 0.5166 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/0.3873, allocations: 13.06 MB / 0.5294 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.3898, allocations: 229.8 kB / 0.5296 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.39, allocations: 104 kB / 0.5297 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001478/0.3915, allocations: 0.856 MB / 0.5305 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001374/0.3928, allocations: 1.308 MB / 0.5318 GB, free: 11.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002352/0.3952, allocations: 1.958 MB / 0.5337 GB, free: 8.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.161e-05/0.3952, allocations: 8 kB / 0.5337 GB, free: 8.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=301) (initialization_lambda0): time 0.005515/0.4007, allocations: 2.758 MB / 0.5364 GB, free: 6.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4008, allocations: 12 kB / 0.5364 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.4008, allocations: 27.94 kB / 0.5365 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007059/0.4079, allocations: 1.415 MB / 0.5378 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.4097, allocations: 0.507 MB / 0.5383 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.4243, allocations: 13.64 MB / 0.5517 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.4267, allocations: 178.4 kB / 0.5518 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.4268, allocations: 104 kB / 0.5519 GB, free: 5.125 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.0004701/0.4273, allocations: 327.6 kB / 0.5522 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/0.4277, allocations: 181.8 kB / 0.5524 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/0.4307, allocations: 1.598 MB / 0.554 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.4307, allocations: 7.969 kB / 0.554 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4307, allocations: 4 kB / 0.554 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000722/0.4315, allocations: 390.5 kB / 0.5544 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.4317, allocations: 39.86 kB / 0.5544 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.4328, allocations: 59.95 kB / 0.5545 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.433, allocations: 121.1 kB / 0.5546 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003778/0.4368, allocations: 1.587 MB / 0.5561 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00272/0.4395, allocations: 1.787 MB / 0.5579 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006421/0.4402, allocations: 434.3 kB / 0.5583 GB, free: 14.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001309/0.4415, allocations: 0.9358 MB / 0.5592 GB, free: 13.61 MB / 446.1 MB Notification: Performance of Backend: time 3.6e-07/0.4415, allocations: 0 / 0.5592 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01222/0.4538, allocations: 5.633 MB / 0.5647 GB, free: 7.832 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.006531/0.4603, allocations: 4.113 MB / 0.5687 GB, free: 3.688 MB / 446.1 MB Notification: Performance of Templates: time 0.2162/0.6766, allocations: 42.87 MB / 0.6106 GB, free: 129.8 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=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.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