Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="infiniteBus1.ERef|infiniteBus1.PStart|infiniteBus1.QStart|infiniteBus1.R|infiniteBus1.SNom|infiniteBus1.UNom|infiniteBus1.UPhaseStart|infiniteBus1.URef|infiniteBus1.UStart|infiniteBus1.X|infiniteBus1.Z.im|infiniteBus1.Z.re|infiniteBus1.localInit|infiniteBus1.port.IBase|infiniteBus1.port.IStart|infiniteBus1.port.PStart|infiniteBus1.port.QStart|infiniteBus1.port.SBase|infiniteBus1.port.SNom|infiniteBus1.port.UBase|infiniteBus1.port.UNom|infiniteBus1.port.UPhaseStart|infiniteBus1.port.UStart|infiniteBus1.port.VBase|infiniteBus1.port.VStart|infiniteBus1.port.i.im|infiniteBus1.port.i.re|infiniteBus1.port.iStart.im|infiniteBus1.port.iStart.re|infiniteBus1.port.portVariablesPhases|infiniteBus1.port.v.im|infiniteBus1.port.v.re|infiniteBus1.port.vStart.im|infiniteBus1.port.vStart.re|infiniteBus1.portVariablesPhases|infiniteBus1.theta|infiniteBus2.ERef|infiniteBus2.PStart|infiniteBus2.QStart|infiniteBus2.R|infiniteBus2.SNom|infiniteBus2.UNom|infiniteBus2.UPhaseStart|infiniteBus2.URef|infiniteBus2.UStart|infiniteBus2.X|infiniteBus2.Z.im|infiniteBus2.Z.re|infiniteBus2.localInit|infiniteBus2.port.IBase|infiniteBus2.port.IStart|infiniteBus2.port.PStart|infiniteBus2.port.QStart|infiniteBus2.port.SBase|infiniteBus2.port.SNom|infiniteBus2.port.UBase|infiniteBus2.port.UNom|infiniteBus2.port.UPhaseStart|infiniteBus2.port.UStart|infiniteBus2.port.VBase|infiniteBus2.port.VStart|infiniteBus2.port.i.im|infiniteBus2.port.i.re|infiniteBus2.port.iStart.im|infiniteBus2.port.iStart.re|infiniteBus2.port.portVariablesPhases|infiniteBus2.port.v.im|infiniteBus2.port.v.re|infiniteBus2.port.vStart.im|infiniteBus2.port.vStart.re|infiniteBus2.portVariablesPhases|infiniteBus2.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.iB.im|line.iB.re|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|loadPQ.PRef|loadPQ.PRefConst|loadPQ.PStart|loadPQ.QRef|loadPQ.QRefConst|loadPQ.QStart|loadPQ.SNom|loadPQ.UNom|loadPQ.UPhaseStart|loadPQ.URef|loadPQ.UStart|loadPQ.alpha|loadPQ.beta|loadPQ.localInit|loadPQ.port.IBase|loadPQ.port.IStart|loadPQ.port.PStart|loadPQ.port.QStart|loadPQ.port.SBase|loadPQ.port.SNom|loadPQ.port.UBase|loadPQ.port.UNom|loadPQ.port.UPhaseStart|loadPQ.port.UStart|loadPQ.port.VBase|loadPQ.port.VStart|loadPQ.port.i.im|loadPQ.port.i.re|loadPQ.port.iGen.im|loadPQ.port.iGen.re|loadPQ.port.iStart.im|loadPQ.port.iStart.re|loadPQ.port.portVariablesPhases|loadPQ.port.v.im|loadPQ.port.v.re|loadPQ.port.vStart.im|loadPQ.port.vStart.re|loadPQ.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time|transformer.B|transformer.G|transformer.PStartA|transformer.PStartB|transformer.QStartA|transformer.QStartB|transformer.R|transformer.SNom|transformer.UNomA|transformer.UNomB|transformer.UPhaseStartA|transformer.UPhaseStartB|transformer.UStartA|transformer.UStartB|transformer.X|transformer.YbreakerOpen.im|transformer.YbreakerOpen.re|transformer.Yseries.im|transformer.Yseries.re|transformer.Yshunt.im|transformer.Yshunt.re|transformer.breakerStatusStart|transformer.computePowerBalance|transformer.iA.im|transformer.iA.re|transformer.portA.IBase|transformer.portA.IStart|transformer.portA.PStart|transformer.portA.QStart|transformer.portA.SBase|transformer.portA.SNom|transformer.portA.UBase|transformer.portA.UNom|transformer.portA.UPhaseStart|transformer.portA.UStart|transformer.portA.VBase|transformer.portA.VStart|transformer.portA.iStart.im|transformer.portA.iStart.re|transformer.portA.portVariablesPhases|transformer.portA.vStart.im|transformer.portA.vStart.re|transformer.portB.IBase|transformer.portB.IStart|transformer.portB.PStart|transformer.portB.QStart|transformer.portB.SBase|transformer.portB.SNom|transformer.portB.UBase|transformer.portB.UNom|transformer.portB.UPhaseStart|transformer.portB.UStart|transformer.portB.VBase|transformer.portB.VStart|transformer.portB.iStart.im|transformer.portB.iStart.re|transformer.portB.portVariablesPhases|transformer.portB.vStart.im|transformer.portB.vStart.re|transformer.portVariablesPhases|transformer.rFixed|transformer.thetaFixed|transformer.useBreaker|transformer.vA.im|transformer.vA.re",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="infiniteBus1.ERef|infiniteBus1.PStart|infiniteBus1.QStart|infiniteBus1.R|infiniteBus1.SNom|infiniteBus1.UNom|infiniteBus1.UPhaseStart|infiniteBus1.URef|infiniteBus1.UStart|infiniteBus1.X|infiniteBus1.Z.im|infiniteBus1.Z.re|infiniteBus1.localInit|infiniteBus1.port.IBase|infiniteBus1.port.IStart|infiniteBus1.port.PStart|infiniteBus1.port.QStart|infiniteBus1.port.SBase|infiniteBus1.port.SNom|infiniteBus1.port.UBase|infiniteBus1.port.UNom|infiniteBus1.port.UPhaseStart|infiniteBus1.port.UStart|infiniteBus1.port.VBase|infiniteBus1.port.VStart|infiniteBus1.port.i.im|infiniteBus1.port.i.re|infiniteBus1.port.iStart.im|infiniteBus1.port.iStart.re|infiniteBus1.port.portVariablesPhases|infiniteBus1.port.v.im|infiniteBus1.port.v.re|infiniteBus1.port.vStart.im|infiniteBus1.port.vStart.re|infiniteBus1.portVariablesPhases|infiniteBus1.theta|infiniteBus2.ERef|infiniteBus2.PStart|infiniteBus2.QStart|infiniteBus2.R|infiniteBus2.SNom|infiniteBus2.UNom|infiniteBus2.UPhaseStart|infiniteBus2.URef|infiniteBus2.UStart|infiniteBus2.X|infiniteBus2.Z.im|infiniteBus2.Z.re|infiniteBus2.localInit|infiniteBus2.port.IBase|infiniteBus2.port.IStart|infiniteBus2.port.PStart|infiniteBus2.port.QStart|infiniteBus2.port.SBase|infiniteBus2.port.SNom|infiniteBus2.port.UBase|infiniteBus2.port.UNom|infiniteBus2.port.UPhaseStart|infiniteBus2.port.UStart|infiniteBus2.port.VBase|infiniteBus2.port.VStart|infiniteBus2.port.i.im|infiniteBus2.port.i.re|infiniteBus2.port.iStart.im|infiniteBus2.port.iStart.re|infiniteBus2.port.portVariablesPhases|infiniteBus2.port.v.im|infiniteBus2.port.v.re|infiniteBus2.port.vStart.im|infiniteBus2.port.vStart.re|infiniteBus2.portVariablesPhases|infiniteBus2.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.iB.im|line.iB.re|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|loadPQ.PRef|loadPQ.PRefConst|loadPQ.PStart|loadPQ.QRef|loadPQ.QRefConst|loadPQ.QStart|loadPQ.SNom|loadPQ.UNom|loadPQ.UPhaseStart|loadPQ.URef|loadPQ.UStart|loadPQ.alpha|loadPQ.beta|loadPQ.localInit|loadPQ.port.IBase|loadPQ.port.IStart|loadPQ.port.PStart|loadPQ.port.QStart|loadPQ.port.SBase|loadPQ.port.SNom|loadPQ.port.UBase|loadPQ.port.UNom|loadPQ.port.UPhaseStart|loadPQ.port.UStart|loadPQ.port.VBase|loadPQ.port.VStart|loadPQ.port.i.im|loadPQ.port.i.re|loadPQ.port.iGen.im|loadPQ.port.iGen.re|loadPQ.port.iStart.im|loadPQ.port.iStart.re|loadPQ.port.portVariablesPhases|loadPQ.port.v.im|loadPQ.port.v.re|loadPQ.port.vStart.im|loadPQ.port.vStart.re|loadPQ.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time|transformer.B|transformer.G|transformer.PStartA|transformer.PStartB|transformer.QStartA|transformer.QStartB|transformer.R|transformer.SNom|transformer.UNomA|transformer.UNomB|transformer.UPhaseStartA|transformer.UPhaseStartB|transformer.UStartA|transformer.UStartB|transformer.X|transformer.YbreakerOpen.im|transformer.YbreakerOpen.re|transformer.Yseries.im|transformer.Yseries.re|transformer.Yshunt.im|transformer.Yshunt.re|transformer.breakerStatusStart|transformer.computePowerBalance|transformer.iA.im|transformer.iA.re|transformer.portA.IBase|transformer.portA.IStart|transformer.portA.PStart|transformer.portA.QStart|transformer.portA.SBase|transformer.portA.SNom|transformer.portA.UBase|transformer.portA.UNom|transformer.portA.UPhaseStart|transformer.portA.UStart|transformer.portA.VBase|transformer.portA.VStart|transformer.portA.iStart.im|transformer.portA.iStart.re|transformer.portA.portVariablesPhases|transformer.portA.vStart.im|transformer.portA.vStart.re|transformer.portB.IBase|transformer.portB.IStart|transformer.portB.PStart|transformer.portB.QStart|transformer.portB.SBase|transformer.portB.SNom|transformer.portB.UBase|transformer.portB.UNom|transformer.portB.UPhaseStart|transformer.portB.UStart|transformer.portB.VBase|transformer.portB.VStart|transformer.portB.iStart.im|transformer.portB.iStart.re|transformer.portB.portVariablesPhases|transformer.portB.vStart.im|transformer.portB.vStart.re|transformer.portVariablesPhases|transformer.rFixed|transformer.thetaFixed|transformer.useBreaker|transformer.vA.im|transformer.vA.re",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 112 kB / 16.41 MB, free: 6.484 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.001768/0.001768, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06314/0.06314, allocations: 14.17 MB / 284.7 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 78.14 kB / 397.2 MB, free: 43.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06843/0.06984, allocations: 50.14 MB / 447.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.01068/0.08057, allocations: 11.74 MB / 459.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007323/0.08792, allocations: 4.974 MB / 464 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.08919, allocations: 35.88 kB / 464.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.09082, allocations: 0.6369 MB / 464.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005425/0.09626, allocations: 2.341 MB / 467.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.09748, allocations: 0.5409 MB / 467.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003882/0.1014, allocations: 3.335 MB / 470.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/0.1018, allocations: 245 kB / 471.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.1034, allocations: 1.136 MB / 472.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.1051, allocations: 1.124 MB / 473.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.1054, allocations: 112 kB / 473.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.1067, allocations: 0.5231 MB / 474.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.107, allocations: 282.6 kB / 474.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.1082, allocations: 0.964 MB / 475.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.1111, allocations: 2.477 MB / 477.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1111, allocations: 3.938 kB / 477.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1111, allocations: 0 / 477.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.1e-05/0.1112, allocations: 4 kB / 477.8 MB, free: 15.05 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.009281/0.1205, allocations: 2.81 MB / 480.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1205, allocations: 8.031 kB / 480.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.1217, allocations: 266.8 kB / 480.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.1238, allocations: 1.086 MB / 482 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.1239, allocations: 136.3 kB / 482.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.1241, allocations: 128 kB / 482.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.1263, allocations: 1.347 MB / 483.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.1263, allocations: 4 kB / 483.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.1264, allocations: 59.98 kB / 483.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.1265, allocations: 32 kB / 483.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.1285, allocations: 1.247 MB / 484.9 MB, free: 7.719 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.01109/0.1396, allocations: 9.304 MB / 494.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.1422, allocations: 1.541 MB / 495.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/0.143, allocations: 0.5657 MB / 496.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.276e-05/0.1431, allocations: 17.31 kB / 496.3 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009772/0.1441, allocations: 0.6322 MB / 497 MB, free: 10.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 3.246e-06/0.1441, allocations: 0 / 497 MB, free: 10.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.009496/0.1536, allocations: 3.15 MB / 0.4884 GB, free: 7.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.1537, allocations: 149.8 kB / 0.4885 GB, free: 7.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.155, allocations: 0.8908 MB / 0.4894 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/0.1551, allocations: 49.7 kB / 0.4895 GB, free: 6.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.1556, allocations: 0.5702 MB / 0.49 GB, free: 5.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/0.156, allocations: 0.5005 MB / 0.4905 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.1564, allocations: 239.5 kB / 0.4907 GB, free: 4.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.1565, allocations: 305.1 kB / 0.491 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000677/0.1571, allocations: 403.8 kB / 0.4914 GB, free: 4.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008112/0.158, allocations: 0.6219 MB / 0.492 GB, free: 3.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.1596, allocations: 1.182 MB / 0.4932 GB, free: 2.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1596, allocations: 0 / 0.4932 GB, free: 2.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003377/0.163, allocations: 1.758 MB / 0.4949 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.744e-05/0.1631, allocations: 67.39 kB / 0.4949 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.1631, allocations: 8 kB / 0.495 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/0.1648, allocations: 0.4928 MB / 0.4954 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.1661, allocations: 311.6 kB / 0.4957 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007439/0.1735, allocations: 4.814 MB / 0.5004 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.1749, allocations: 99.27 kB / 0.5005 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.175, allocations: 52 kB / 0.5006 GB, free: 10.58 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (transformer.breakerStatusInInternal,$PRE.transformer.breakerStatusInInternal,transformer.breakerStatus,$PRE.transformer.breakerStatus,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0005512/0.1756, allocations: 351.2 kB / 0.5009 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.1758, allocations: 134.5 kB / 0.501 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.1791, allocations: 1.649 MB / 0.5026 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.1791, allocations: 12 kB / 0.5027 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1791, allocations: 0 / 0.5027 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.1791, allocations: 3.984 kB / 0.5027 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/0.1843, allocations: 3.315 MB / 0.5059 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1843, allocations: 0 / 0.5059 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.1854, allocations: 247.7 kB / 0.5061 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.1869, allocations: 480.3 kB / 0.5066 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/0.187, allocations: 28 kB / 0.5066 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006736/0.1938, allocations: 4.674 MB / 0.5112 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1938, allocations: 0 / 0.5112 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/0.1967, allocations: 1.687 MB / 0.5128 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005821/0.1973, allocations: 355.2 kB / 0.5132 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.1976, allocations: 24 kB / 0.5132 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/0.1985, allocations: 47.83 kB / 0.5132 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.1987, allocations: 93.17 kB / 0.5133 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.1988, allocations: 40 kB / 0.5134 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007985/0.1996, allocations: 0.5981 MB / 0.514 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1996, allocations: 0 / 0.514 GB, free: 12.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001333/0.201, allocations: 0.5777 MB / 0.5145 GB, free: 11.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,transformer.breakerStatus,transformer.breakerStatusInInternal) * Number of discrete states: 4 (transformer.breakerStatus,$whenCondition2,$whenCondition1,transformer.breakerStatusInInternal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003679/0.2013, allocations: 215.1 kB / 0.5147 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.2042, allocations: 1.679 MB / 0.5164 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2042, allocations: 0 / 0.5164 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.2057, allocations: 1.019 MB / 0.5174 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000937/0.2067, allocations: 196 kB / 0.5175 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.2102, allocations: 2.238 MB / 0.5197 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.2109, allocations: 1.172 MB / 0.5209 GB, free: 5.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.2112, allocations: 99.42 kB / 0.521 GB, free: 5.219 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2113, allocations: 0 / 0.521 GB, free: 5.219 MB / 414.1 MB Notification: Performance of Templates: time 0.1871/0.3983, allocations: 23.93 MB / 0.5443 GB, free: 72.53 MB / 414.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches