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.006551/0.006551, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001182/0.001182, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.231/1.231, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06048/0.06048, allocations: 14.17 MB / 284.1 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.001523/0.001523, allocations: 67.61 kB / 399.3 MB, free: 42.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08717, allocations: 50.12 MB / 449.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax): time 0.008643/0.09585, allocations: 7.65 MB / 457.1 MB, free: 3.141 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/Electrical/BaseClasses/TwoPortAC.mo:4:3-4:107:writable] Warning: Parameter PowerGrids.Electrical.Branches.TransformerWithTapChangerInterval.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/Electrical/BaseClasses/TwoPortAC.mo:6:3-6:94:writable] Warning: Parameter PowerGrids.Electrical.Branches.TransformerWithTapChangerInterval.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instExpressions: time 0.01188/0.1078, allocations: 8.458 MB / 465.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.109, allocations: 19.88 kB / 465.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.1106, allocations: 437.5 kB / 466 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.115, allocations: 1.644 MB / 467.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.1165, allocations: 0.6846 MB / 468.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002745/0.1193, allocations: 2.106 MB / 470.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.1196, allocations: 142.4 kB / 470.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.1209, allocations: 0.7434 MB / 471.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.1222, allocations: 0.7276 MB / 472 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.1225, allocations: 84 kB / 472.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.1238, allocations: 451.7 kB / 472.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003769/0.1242, allocations: 235 kB / 472.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.1254, allocations: 0.6454 MB / 473.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.1276, allocations: 1.722 MB / 475.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1276, allocations: 0 / 475.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1277, allocations: 0 / 475.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1277, allocations: 3.938 kB / 475.2 MB, free: 1.016 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.006528/0.1342, allocations: 2.017 MB / 477.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1343, allocations: 8.031 kB / 477.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.1353, allocations: 175.6 kB / 477.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.1369, allocations: 0.7621 MB / 478.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.597e-05/0.137, allocations: 74.34 kB / 478.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.1371, allocations: 100.4 kB / 478.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.139, allocations: 1.182 MB / 479.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.139, allocations: 8 kB / 479.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/0.1391, allocations: 39.98 kB / 479.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.1391, allocations: 24 kB / 479.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.1404, allocations: 0.7767 MB / 480.3 MB, free: 11.71 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.006708/0.1471, allocations: 5.725 MB / 486.1 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.1488, allocations: 1.038 MB / 487.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/0.1494, allocations: 471.6 kB / 487.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.426e-05/0.1495, allocations: 9 kB / 487.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.1507, allocations: 0.8598 MB / 488.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 2.955e-06/0.1507, allocations: 0 / 488.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=107): time 0.003627/0.1543, allocations: 1.852 MB / 490.3 MB, free: 1.137 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1544, allocations: 76.38 kB / 490.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007231/0.1551, allocations: 0.6252 MB / 491 MB, free: 428 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.1552, allocations: 69.62 kB / 491 MB, free: 352 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.1555, allocations: 388.5 kB / 491.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.1558, allocations: 355.1 kB / 491.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.156, allocations: 174.9 kB / 491.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1562, allocations: 390.8 kB / 492.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.1566, allocations: 310.5 kB / 492.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.1573, allocations: 0.5112 MB / 493.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.1608, allocations: 1.494 MB / 494.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1608, allocations: 4 kB / 494.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001722/0.1625, allocations: 1.071 MB / 495.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.1626, allocations: 8.594 kB / 495.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1626, allocations: 4 kB / 495.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/0.1631, allocations: 164.7 kB / 495.9 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.1638, allocations: 195.7 kB / 496.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.1668, allocations: 2.458 MB / 498.5 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/0.1677, allocations: 87.53 kB / 498.6 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.1677, allocations: 40 kB / 498.6 MB, free: 8.41 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.0004944/0.1682, allocations: 289.6 kB / 498.9 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.1684, allocations: 106.9 kB / 499 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.1704, allocations: 1.316 MB / 0.4886 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.1704, allocations: 16 kB / 0.4886 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1705, allocations: 4 kB / 0.4886 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.1705, allocations: 11.97 kB / 0.4887 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.1738, allocations: 2.527 MB / 0.4911 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1738, allocations: 4 kB / 0.4911 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.1744, allocations: 147.8 kB / 0.4913 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/0.1749, allocations: 152.7 kB / 0.4914 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.538e-05/0.175, allocations: 43.89 kB / 0.4915 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.1777, allocations: 2.435 MB / 0.4938 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1777, allocations: 0 / 0.4938 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.1797, allocations: 1.369 MB / 0.4952 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/0.1801, allocations: 275.8 kB / 0.4954 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.1802, allocations: 55.89 kB / 0.4955 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/0.1809, allocations: 59.94 kB / 0.4955 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002856/0.1812, allocations: 140.8 kB / 0.4957 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.921e-05/0.1813, allocations: 59.95 kB / 0.4957 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005272/0.1818, allocations: 443 kB / 0.4962 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1818, allocations: 0 / 0.4962 GB, free: 14.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009882/0.1828, allocations: 383.7 kB / 0.4965 GB, free: 14.33 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.00033/0.1832, allocations: 229.2 kB / 0.4967 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.185, allocations: 1.109 MB / 0.4978 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.185, allocations: 0 / 0.4978 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.1862, allocations: 1.242 MB / 0.499 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000711/0.187, allocations: 158.6 kB / 0.4992 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.1896, allocations: 1.662 MB / 0.5008 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.1902, allocations: 1.001 MB / 0.5018 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004311/0.1906, allocations: 126.8 kB / 0.5019 GB, free: 8.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.1909, allocations: 87.39 kB / 0.502 GB, free: 8.645 MB / 398.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1909, allocations: 4 kB / 0.502 GB, free: 8.641 MB / 398.1 MB Notification: Performance of Templates: time 0.0222/0.2131, allocations: 13.81 MB / 0.5155 GB, free: 10.85 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches