Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval.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.TestTransformerWithTapChangerInterval,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.UMin|trafo.UNomA|trafo.UNomB|trafo.UPhaseStartA|trafo.UPhaseStartB|trafo.UStartA|trafo.UStartB|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.tToStandardState|trafo.tapMax|trafo.tapMin|trafo.tapStart|trafo.vA.im|trafo.vA.re",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval,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.UMin|trafo.UNomA|trafo.UNomB|trafo.UPhaseStartA|trafo.UPhaseStartB|trafo.UStartA|trafo.UStartB|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.tToStandardState|trafo.tapMax|trafo.tapMin|trafo.tapStart|trafo.vA.im|trafo.vA.re",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 100.5 kB / 16.38 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.00137/0.00137, allocations: 193.3 kB / 17.32 MB, free: 5.797 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.233/1.233, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05803/0.05803, allocations: 14.17 MB / 284.7 MB, free: 13.88 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.142e-05, allocations: 2.281 kB / 349.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval): time 0.008852/0.008889, allocations: 7.679 MB / 357 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.02234, allocations: 8.47 MB / 365.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.02368, allocations: 19.94 kB / 365.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.02508, allocations: 429.5 kB / 365.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.02931, allocations: 1.602 MB / 367.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.03068, allocations: 0.7162 MB / 368.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003083/0.03378, allocations: 2.59 MB / 370.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.03409, allocations: 121.9 kB / 370.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.0355, allocations: 0.8094 MB / 371.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009609/0.03647, allocations: 0.8598 MB / 372.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.03661, allocations: 79.94 kB / 372.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.03785, allocations: 463.7 kB / 373.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001826/0.03968, allocations: 2.402 MB / 375.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001201/0.0409, allocations: 1.407 MB / 376.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004545/0.04136, allocations: 199.5 kB / 377.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003329/0.0417, allocations: 39.86 kB / 377.2 MB, free: 1.141 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: 205 (146) * Number of variables: 205 (205) Notification: Performance of Bindings: time 0.1451/0.1868, allocations: 7.85 MB / 385 MB, free: 62.84 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002814/0.1871, allocations: 285 kB / 385.3 MB, free: 62.82 MB / 318.1 MB Notification: Performance of Early Inline: time 0.004692/0.1918, allocations: 5.732 MB / 391 MB, free: 62.2 MB / 318.1 MB Notification: Performance of simplify1: time 0.0003195/0.1921, allocations: 361 kB / 391.4 MB, free: 62.07 MB / 318.1 MB Notification: Performance of Alias: time 0.002966/0.1951, allocations: 3.424 MB / 394.8 MB, free: 59.91 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002609/0.1954, allocations: 332.4 kB / 395.1 MB, free: 59.8 MB / 318.1 MB Notification: Performance of Events: time 0.001192/0.1966, allocations: 1.203 MB / 396.3 MB, free: 59.23 MB / 318.1 MB Notification: Performance of Detect States: time 0.0008244/0.1974, allocations: 1.145 MB / 397.5 MB, free: 58.58 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001294/0.1987, allocations: 1.459 MB / 398.9 MB, free: 57.82 MB / 318.1 MB Notification: Performance of Causalize: time 0.005775/0.2045, allocations: 8.725 MB / 407.7 MB, free: 53.86 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.002095/0.2066, allocations: 3.334 MB / 411 MB, free: 50.89 MB / 318.1 MB Notification: Performance of Inline: time 0.004165/0.2108, allocations: 6.543 MB / 417.5 MB, free: 44.33 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000237/0.211, allocations: 272 kB / 417.8 MB, free: 44.04 MB / 318.1 MB Notification: Performance of Cleanup: time 0.000199/0.2112, allocations: 305.4 kB / 418.1 MB, free: 43.75 MB / 318.1 MB Notification: Performance of Causalize: time 0.009915/0.2212, allocations: 15.96 MB / 434.1 MB, free: 28.66 MB / 318.1 MB Notification: Performance of Tearing: time 0.001394/0.2226, allocations: 2.017 MB / 436.1 MB, free: 26.61 MB / 318.1 MB Notification: Performance of Initialization: time 1.162e-06/0.2226, allocations: 0 / 436.1 MB, free: 26.61 MB / 318.1 MB Notification: Performance of Tearing: time 0.001331/0.2239, allocations: 2.011 MB / 438.1 MB, free: 24.56 MB / 318.1 MB Notification: Performance of Categorize: time 3.659e-05/0.224, allocations: 8 kB / 438.1 MB, free: 24.55 MB / 318.1 MB Notification: Performance of Solve: time 0.0009183/0.2249, allocations: 0.6949 MB / 438.8 MB, free: 23.85 MB / 318.1 MB Notification: Performance of Jacobian: time 4.208e-06/0.2249, allocations: 0 / 438.8 MB, free: 23.85 MB / 318.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: .................... 6 (6) {trafo.state, trafo.tTapMoved, trafo.tap, trafo.tValueAboveMaxWhileRunning, trafo.tValueUnderMinWhileRunning, trafo.tValueInRangeWhileRunning} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 47 (47) {trafo.lookingToIncreaseTap, trafo.lookingToDecreaseTap, trafo.valueUnderMin, trafo.valueAboveMax, trafo.valueInRange, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $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: ........... 150 (scalar:150, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: ........... 215 (scalar:215, 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 7.279e-05/0.225, allocations: 72.75 kB / 438.9 MB, free: 23.79 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable trafo.state.