Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.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) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="$cse1|$cse2|busLoad.ERef|busLoad.PStart|busLoad.QStart|busLoad.R|busLoad.SNom|busLoad.UNom|busLoad.UPhaseStart|busLoad.URef|busLoad.UStart|busLoad.X|busLoad.Z.im|busLoad.Z.re|busLoad.i.im|busLoad.i.re|busLoad.localInit|busLoad.port.IBase|busLoad.port.IStart|busLoad.port.PStart|busLoad.port.QStart|busLoad.port.SBase|busLoad.port.SNom|busLoad.port.UBase|busLoad.port.UNom|busLoad.port.UPhaseStart|busLoad.port.UStart|busLoad.port.VBase|busLoad.port.VStart|busLoad.port.i.im|busLoad.port.i.re|busLoad.port.iStart.im|busLoad.port.iStart.re|busLoad.port.portVariablesPhases|busLoad.port.v.im|busLoad.port.v.re|busLoad.port.vStart.im|busLoad.port.vStart.re|busLoad.portVariablesPhases|busLoad.theta|busLoad.v.im|busLoad.v.re|infiniteBus.PStart|infiniteBus.QStart|infiniteBus.R|infiniteBus.SNom|infiniteBus.UFixed|infiniteBus.UNom|infiniteBus.UPhaseStart|infiniteBus.UStart|infiniteBus.X|infiniteBus.Z.im|infiniteBus.Z.re|infiniteBus.localInit|infiniteBus.port.IBase|infiniteBus.port.IStart|infiniteBus.port.PStart|infiniteBus.port.QStart|infiniteBus.port.SBase|infiniteBus.port.SNom|infiniteBus.port.UBase|infiniteBus.port.UNom|infiniteBus.port.UPhaseStart|infiniteBus.port.UStart|infiniteBus.port.VBase|infiniteBus.port.VStart|infiniteBus.port.i.im|infiniteBus.port.i.re|infiniteBus.port.iStart.im|infiniteBus.port.iStart.re|infiniteBus.port.portVariablesPhases|infiniteBus.port.v.im|infiniteBus.port.v.re|infiniteBus.port.vStart.im|infiniteBus.port.vStart.re|infiniteBus.portVariablesPhases|infiniteBus.thetaAux|infiniteBus.thetaFixed|infiniteBus.useThetaIn|infiniteBus.useUIn|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.omegaRefInternal|systemPowerGrids.referenceFrequency|time|trafo.B|trafo.G|trafo.K.1.|trafo.K.2.|trafo.K.3.|trafo.K.4.|trafo.K.5.|trafo.Ntap|trafo.PStartA|trafo.PStartB|trafo.QStartA|trafo.QStartB|trafo.R|trafo.SNom|trafo.UMax|trafo.UNomA|trafo.UNomB|trafo.UPhaseStartA|trafo.UPhaseStartB|trafo.UStartA|trafo.UStartB|trafo.UStop|trafo.X|trafo.YB.im|trafo.YB.re|trafo.actionSel|trafo.computePowerBalance|trafo.directAction|trafo.iA.im|trafo.iA.re|trafo.lockedStart|trafo.portA.IBase|trafo.portA.IStart|trafo.portA.PStart|trafo.portA.QStart|trafo.portA.SBase|trafo.portA.SNom|trafo.portA.UBase|trafo.portA.UNom|trafo.portA.UPhaseStart|trafo.portA.UStart|trafo.portA.VBase|trafo.portA.VStart|trafo.portA.iStart.im|trafo.portA.iStart.re|trafo.portA.portVariablesPhases|trafo.portA.vStart.im|trafo.portA.vStart.re|trafo.portB.IBase|trafo.portB.IStart|trafo.portB.PStart|trafo.portB.QStart|trafo.portB.SBase|trafo.portB.SNom|trafo.portB.UBase|trafo.portB.UNom|trafo.portB.UPhaseStart|trafo.portB.UStart|trafo.portB.VBase|trafo.portB.VStart|trafo.portB.iStart.im|trafo.portB.iStart.re|trafo.portB.portVariablesPhases|trafo.portB.vStart.im|trafo.portB.vStart.re|trafo.portVariablesPhases|trafo.reverseAction|trafo.runningStart|trafo.stateStart|trafo.t1st|trafo.tNext|trafo.tapMax|trafo.tapMin|trafo.tapStart|trafo.vA.im|trafo.vA.re",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="$cse1|$cse2|busLoad.ERef|busLoad.PStart|busLoad.QStart|busLoad.R|busLoad.SNom|busLoad.UNom|busLoad.UPhaseStart|busLoad.URef|busLoad.UStart|busLoad.X|busLoad.Z.im|busLoad.Z.re|busLoad.i.im|busLoad.i.re|busLoad.localInit|busLoad.port.IBase|busLoad.port.IStart|busLoad.port.PStart|busLoad.port.QStart|busLoad.port.SBase|busLoad.port.SNom|busLoad.port.UBase|busLoad.port.UNom|busLoad.port.UPhaseStart|busLoad.port.UStart|busLoad.port.VBase|busLoad.port.VStart|busLoad.port.i.im|busLoad.port.i.re|busLoad.port.iStart.im|busLoad.port.iStart.re|busLoad.port.portVariablesPhases|busLoad.port.v.im|busLoad.port.v.re|busLoad.port.vStart.im|busLoad.port.vStart.re|busLoad.portVariablesPhases|busLoad.theta|busLoad.v.im|busLoad.v.re|infiniteBus.PStart|infiniteBus.QStart|infiniteBus.R|infiniteBus.SNom|infiniteBus.UFixed|infiniteBus.UNom|infiniteBus.UPhaseStart|infiniteBus.UStart|infiniteBus.X|infiniteBus.Z.im|infiniteBus.Z.re|infiniteBus.localInit|infiniteBus.port.IBase|infiniteBus.port.IStart|infiniteBus.port.PStart|infiniteBus.port.QStart|infiniteBus.port.SBase|infiniteBus.port.SNom|infiniteBus.port.UBase|infiniteBus.port.UNom|infiniteBus.port.UPhaseStart|infiniteBus.port.UStart|infiniteBus.port.VBase|infiniteBus.port.VStart|infiniteBus.port.i.im|infiniteBus.port.i.re|infiniteBus.port.iStart.im|infiniteBus.port.iStart.re|infiniteBus.port.portVariablesPhases|infiniteBus.port.v.im|infiniteBus.port.v.re|infiniteBus.port.vStart.im|infiniteBus.port.vStart.re|infiniteBus.portVariablesPhases|infiniteBus.thetaAux|infiniteBus.thetaFixed|infiniteBus.useThetaIn|infiniteBus.useUIn|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.omegaRefInternal|systemPowerGrids.referenceFrequency|time|trafo.B|trafo.G|trafo.K.1.|trafo.K.2.|trafo.K.3.|trafo.K.4.|trafo.K.5.|trafo.Ntap|trafo.PStartA|trafo.PStartB|trafo.QStartA|trafo.QStartB|trafo.R|trafo.SNom|trafo.UMax|trafo.UNomA|trafo.UNomB|trafo.UPhaseStartA|trafo.UPhaseStartB|trafo.UStartA|trafo.UStartB|trafo.UStop|trafo.X|trafo.YB.im|trafo.YB.re|trafo.actionSel|trafo.computePowerBalance|trafo.directAction|trafo.iA.im|trafo.iA.re|trafo.lockedStart|trafo.portA.IBase|trafo.portA.IStart|trafo.portA.PStart|trafo.portA.QStart|trafo.portA.SBase|trafo.portA.SNom|trafo.portA.UBase|trafo.portA.UNom|trafo.portA.UPhaseStart|trafo.portA.UStart|trafo.portA.VBase|trafo.portA.VStart|trafo.portA.iStart.im|trafo.portA.iStart.re|trafo.portA.portVariablesPhases|trafo.portA.vStart.im|trafo.portA.vStart.re|trafo.portB.IBase|trafo.portB.IStart|trafo.portB.PStart|trafo.portB.QStart|trafo.portB.SBase|trafo.portB.SNom|trafo.portB.UBase|trafo.portB.UNom|trafo.portB.UPhaseStart|trafo.portB.UStart|trafo.portB.VBase|trafo.portB.VStart|trafo.portB.iStart.im|trafo.portB.iStart.re|trafo.portB.portVariablesPhases|trafo.portB.vStart.im|trafo.portB.vStart.re|trafo.portVariablesPhases|trafo.reverseAction|trafo.runningStart|trafo.stateStart|trafo.t1st|trafo.tNext|trafo.tapMax|trafo.tapMin|trafo.tapStart|trafo.vA.im|trafo.vA.re",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.001747/0.001747, allocations: 191 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.335/1.335, 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.06241/0.06241, allocations: 14.18 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.001567/0.001567, allocations: 67.59 kB / 400 MB, free: 42.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07364/0.07522, allocations: 50.13 MB / 450.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax): time 0.007945/0.0832, allocations: 7.632 MB / 457.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.09529, allocations: 8.477 MB / 466.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.09635, allocations: 15.94 kB / 466.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.09782, allocations: 429.5 kB / 466.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.1017, allocations: 1.585 MB / 468.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1032, allocations: 0.6868 MB / 468.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002417/0.1056, allocations: 2.106 MB / 471 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.1059, allocations: 150.3 kB / 471.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.107, allocations: 0.7396 MB / 471.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.1081, allocations: 0.7316 MB / 472.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.1084, allocations: 84 kB / 472.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.1094, allocations: 443.7 kB / 473.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.1097, allocations: 231 kB / 473.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007805/0.1104, allocations: 0.6416 MB / 474 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.1125, allocations: 1.722 MB / 475.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1126, allocations: 4 kB / 475.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1126, allocations: 0 / 475.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.033e-05/0.1126, allocations: 4 kB / 475.8 MB, free: 1.078 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.006508/0.1191, allocations: 2.013 MB / 477.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1192, allocations: 12.03 kB / 477.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008403/0.12, allocations: 171.6 kB / 478 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.1215, allocations: 0.7699 MB / 478.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.1216, allocations: 70.36 kB / 478.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.1218, allocations: 100.3 kB / 478.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.1237, allocations: 1.178 MB / 480.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.1238, allocations: 3.938 kB / 480.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.1239, allocations: 43.98 kB / 480.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.1239, allocations: 24 kB / 480.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.1253, allocations: 0.7767 MB / 480.9 MB, free: 11.77 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.007202/0.1325, allocations: 5.721 MB / 486.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.1342, allocations: 1.045 MB / 487.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006931/0.1349, allocations: 467.7 kB / 488.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.1349, allocations: 9 kB / 488.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.1363, allocations: 0.8685 MB / 489 MB, free: 3.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 3.477e-06/0.1363, allocations: 0 / 489 MB, free: 3.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=107): time 0.003892/0.1402, allocations: 1.856 MB / 490.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1403, allocations: 64.41 kB / 491 MB, free: 1.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008285/0.1411, allocations: 0.629 MB / 491.6 MB, free: 492 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.002e-05/0.1412, allocations: 57.7 kB / 491.6 MB, free: 428 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.1415, allocations: 396.3 kB / 492 MB, free: 24 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.1419, allocations: 347.4 kB / 492.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.1422, allocations: 182.9 kB / 492.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1423, allocations: 390.7 kB / 492.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.1428, allocations: 314.5 kB / 493.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.1435, allocations: 0.5151 MB / 493.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/0.1472, allocations: 1.494 MB / 495.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.1472, allocations: 4 kB / 495.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001909/0.1491, allocations: 1.063 MB / 496.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1492, allocations: 8 kB / 496.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.1492, allocations: 4 kB / 496.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000508/0.1497, allocations: 176.9 kB / 496.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007798/0.1505, allocations: 191.7 kB / 496.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.1537, allocations: 2.454 MB / 499.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.1548, allocations: 87.53 kB / 499.2 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.1549, allocations: 36 kB / 499.3 MB, free: 8.477 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: trafo.valueUnderStop:DISCRETE(start = false fixed = true protected = true ) "whether the monitored signal is under the stop limit" type: Boolean trafo.valueAboveMax:DISCRETE(start = false fixed = true protected = true ) "wheter the monitored signal is above the maximum limit" type: Boolean trafo.locked:DISCRETE(start = trafo.lockedStart fixed = true ) "whether the tap-changer/phase-shifter is locked" type: Boolean trafo.running:DISCRETE(start = trafo.runningStart fixed = true ) "whether the tap-changer/phase-shifter is running" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.trafo.valueUnderStop,$PRE.trafo.valueAboveMax,$PRE.trafo.locked,$PRE.trafo.running,trafo.tValueAboveMaxWhileRunning,$PRE.trafo.tValueAboveMaxWhileRunning,trafo.valueAboveMax,trafo.valueUnderStop,trafo.tTapMoved,$PRE.trafo.tTapMoved,trafo.lookingToDecreaseTap,trafo.lookingToIncreaseTap,trafo.tap,$PRE.trafo.tap,trafo.state,$PRE.trafo.state,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition21,$whenCondition20,$whenCondition19,trafo.running,trafo.locked) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(4,12,93.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005815/0.1555, allocations: 293.1 kB / 499.5 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.1557, allocations: 106.9 kB / 499.6 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.158, allocations: 1.316 MB / 0.4892 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.158, allocations: 15.94 kB / 0.4892 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.158, allocations: 7.938 kB / 0.4892 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.158, allocations: 3.984 kB / 0.4892 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.1616, allocations: 2.524 MB / 0.4917 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1617, allocations: 0 / 0.4917 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.1623, allocations: 147.8 kB / 0.4918 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.1628, allocations: 160.7 kB / 0.492 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/0.1628, allocations: 44.02 kB / 0.492 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/0.1657, allocations: 2.434 MB / 0.4944 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1657, allocations: 3.984 kB / 0.4944 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.1678, allocations: 1.373 MB / 0.4958 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005853/0.1684, allocations: 283.7 kB / 0.496 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.1687, allocations: 47.91 kB / 0.4961 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008136/0.1695, allocations: 59.94 kB / 0.4961 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.1698, allocations: 136.9 kB / 0.4963 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.1699, allocations: 71.92 kB / 0.4963 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005951/0.1705, allocations: 439.1 kB / 0.4968 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1705, allocations: 0 / 0.4968 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001124/0.1716, allocations: 391.7 kB / 0.4971 GB, free: 14.39 MB / 398.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: 29 ($whenCondition19,$whenCondition20,$whenCondition21,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,trafo.state,trafo.tap,trafo.lookingToIncreaseTap,trafo.lookingToDecreaseTap,trafo.tTapMoved,trafo.valueUnderStop,trafo.valueAboveMax,trafo.tValueAboveMaxWhileRunning) * Number of discrete states: 5 (trafo.valueUnderStop,trafo.valueAboveMax,trafo.state,trafo.tTapMoved,trafo.tap) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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): 1 system {(3,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003811/0.172, allocations: 205.3 kB / 0.4973 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00194/0.174, allocations: 1.117 MB / 0.4984 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.174, allocations: 0 / 0.4984 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.1754, allocations: 1.242 MB / 0.4996 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.1763, allocations: 159 kB / 0.4998 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.1793, allocations: 1.711 MB / 0.5015 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.1799, allocations: 0.9973 MB / 0.5024 GB, free: 8.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/0.1803, allocations: 91.39 kB / 0.5025 GB, free: 8.781 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1803, allocations: 0 / 0.5025 GB, free: 8.781 MB / 398.1 MB Notification: Performance of Templates: time 0.02296/0.2032, allocations: 16.84 MB / 0.519 GB, free: 7.922 MB / 414.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches