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.001354/0.001354, allocations: 105.8 kB / 16.42 MB, free: 6.426 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.00128/0.00128, allocations: 189.9 kB / 17.35 MB, free: 5.723 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.544/1.544, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06575/0.06575, allocations: 14.17 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.551e-05, allocations: 3.266 kB / 399.9 MB, free: 42.45 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerMax): time 0.007121/0.007156, allocations: 7.63 MB / 407.6 MB, free: 36.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009482/0.01668, allocations: 8.471 MB / 416 MB, free: 28.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.01908, allocations: 19.94 kB / 416.1 MB, free: 28.94 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.02112, allocations: 429.5 kB / 416.5 MB, free: 28.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004341/0.02559, allocations: 1.597 MB / 418.1 MB, free: 26.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.0268, allocations: 0.6887 MB / 418.8 MB, free: 26.24 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.02946, allocations: 2.461 MB / 421.2 MB, free: 23.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.0297, allocations: 123.2 kB / 421.3 MB, free: 23.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008946/0.0306, allocations: 0.7743 MB / 422.1 MB, free: 22.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006928/0.0313, allocations: 0.817 MB / 422.9 MB, free: 22.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.772e-05/0.0314, allocations: 64 kB / 423 MB, free: 21.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.03247, allocations: 447.7 kB / 423.4 MB, free: 21.54 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001147/0.03363, allocations: 2.328 MB / 425.8 MB, free: 19.19 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005259/0.03416, allocations: 1.397 MB / 427.2 MB, free: 17.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.03437, allocations: 183.6 kB / 427.3 MB, free: 17.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002683/0.03465, allocations: 87.78 kB / 427.4 MB, free: 17.51 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 (143) * Number of variables: 202 (202) Notification: Performance of Bindings: time 0.005056/0.03971, allocations: 7.666 MB / 435.1 MB, free: 9.645 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003015/0.04002, allocations: 279.3 kB / 435.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003543/0.04358, allocations: 4.921 MB / 440.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002627/0.04385, allocations: 319.5 kB / 440.6 MB, free: 4.094 MB / 318.1 MB Notification: Performance of Alias: time 0.002844/0.0467, allocations: 3.268 MB / 443.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002114/0.04693, allocations: 279.6 kB / 444.1 MB, free: 268 kB / 318.1 MB Notification: Performance of Events: time 0.001151/0.04809, allocations: 0.9342 MB / 445.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Detect States: time 0.0009204/0.04902, allocations: 0.9929 MB / 446.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of Partitioning: time 0.001582/0.05061, allocations: 1.343 MB / 447.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of Causalize: time 0.006793/0.05741, allocations: 5.381 MB / 452.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.002862/0.06031, allocations: 2.86 MB / 455.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of Inline: time 0.006034/0.06636, allocations: 5.709 MB / 461.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004399/0.06685, allocations: 247.6 kB / 461.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0003327/0.06719, allocations: 263.5 kB / 461.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Causalize: time 0.01653/0.08372, allocations: 11.82 MB / 473.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of Tearing: time 0.00222/0.08599, allocations: 2.013 MB / 475.7 MB, free: 268 kB / 350.1 MB Notification: Performance of Initialization: time 2.144e-06/0.08602, allocations: 0 / 475.7 MB, free: 268 kB / 350.1 MB Notification: Performance of Tearing: time 0.002077/0.08811, allocations: 2.02 MB / 477.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of Categorize: time 5.973e-05/0.08818, allocations: 4 kB / 477.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Solve: time 0.001591/0.08978, allocations: 0.6293 MB / 478.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of Jacobian: time 3.807e-06/0.08979, allocations: 0 / 478.4 MB, free: 13.54 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 4 (4) {trafo.state, trafo.tTapMoved, trafo.tap, trafo.tValueAboveMaxWhileRunning} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 37 (37) {trafo.lookingToIncreaseTap, trafo.lookingToDecreaseTap, trafo.valueUnderStop, trafo.valueAboveMax, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 140 (scalar:140, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 189 (scalar:189, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0001072/0.08991, allocations: 75.78 kB / 478.4 MB, free: 13.47 MB / 366.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable trafo.state.