Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.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.TestTapChangerLogicInterval,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Ntap|U|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tToStandardState|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval") translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Ntap|U|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tToStandardState|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 108.4 kB / 16.42 MB, free: 6.473 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.001281/0.001282, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.531/1.531, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06114/0.06114, allocations: 14.16 MB / 284.8 MB, free: 13.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.676e-05, allocations: 3.125 kB / 398.6 MB, free: 43.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicInterval): time 0.002482/0.002517, allocations: 1.5 MB / 400.1 MB, free: 41.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.00367, allocations: 0.5881 MB / 400.7 MB, free: 41.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.003739, allocations: 0 / 400.7 MB, free: 41.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.003768, allocations: 9.094 kB / 400.7 MB, free: 41.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.003997, allocations: 27.84 kB / 400.7 MB, free: 41.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.004245, allocations: 111.3 kB / 400.8 MB, free: 41.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.004572, allocations: 281.7 kB / 401.1 MB, free: 41.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.559e-05/0.004643, allocations: 16.36 kB / 401.1 MB, free: 41.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.004865, allocations: 149.4 kB / 401.3 MB, free: 41.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.005022, allocations: 130.4 kB / 401.4 MB, free: 41.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.005082, allocations: 19.56 kB / 401.4 MB, free: 41.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.529e-05/0.005132, allocations: 19.62 kB / 401.4 MB, free: 41.23 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002137/0.00535, allocations: 285.6 kB / 401.7 MB, free: 41.03 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.43e-05/0.005411, allocations: 97.39 kB / 401.8 MB, free: 40.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.00548, allocations: 28.62 kB / 401.8 MB, free: 40.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-05/0.0055, allocations: 2.656 kB / 401.8 MB, free: 40.95 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: 16 (16) * Number of variables: 16 (16) Notification: Performance of Bindings: time 0.001093/0.006599, allocations: 1.074 MB / 402.9 MB, free: 40.09 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.865e-05/0.006685, allocations: 25.7 kB / 402.9 MB, free: 40.07 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001328/0.00802, allocations: 1.431 MB / 404.4 MB, free: 39.02 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001564/0.008184, allocations: 170.5 kB / 404.5 MB, free: 38.89 MB / 318.1 MB Notification: Performance of Alias: time 0.0008315/0.009022, allocations: 0.6319 MB / 405.2 MB, free: 38.37 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001219/0.009154, allocations: 147.1 kB / 405.3 MB, free: 38.27 MB / 318.1 MB Notification: Performance of Events: time 0.00119/0.01035, allocations: 0.7906 MB / 406.1 MB, free: 37.75 MB / 318.1 MB Notification: Performance of Detect States: time 0.0004861/0.01085, allocations: 0.5091 MB / 406.6 MB, free: 37.32 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004213/0.01128, allocations: 385.5 kB / 407 MB, free: 37.09 MB / 318.1 MB Notification: Performance of Causalize: time 0.001577/0.01286, allocations: 1.29 MB / 408.3 MB, free: 36.41 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008927/0.01377, allocations: 1.301 MB / 409.6 MB, free: 35.09 MB / 318.1 MB Notification: Performance of Inline: time 0.001103/0.01488, allocations: 1.429 MB / 411 MB, free: 33.62 MB / 318.1 MB Notification: Performance of Partitioning: time 4.878e-05/0.01494, allocations: 46.38 kB / 411.1 MB, free: 33.56 MB / 318.1 MB Notification: Performance of Cleanup: time 9.243e-05/0.01504, allocations: 147.6 kB / 411.2 MB, free: 33.42 MB / 318.1 MB Notification: Performance of Causalize: time 0.00219/0.01723, allocations: 2.092 MB / 413.3 MB, free: 31.3 MB / 318.1 MB Notification: Performance of Tearing: time 1.505e-05/0.01726, allocations: 0 / 413.3 MB, free: 31.3 MB / 318.1 MB Notification: Performance of Initialization: time 5.71e-07/0.01727, allocations: 0 / 413.3 MB, free: 31.3 MB / 318.1 MB Notification: Performance of Tearing: time 7.464e-06/0.01728, allocations: 7.938 kB / 413.3 MB, free: 31.3 MB / 318.1 MB Notification: Performance of Categorize: time 2.319e-05/0.01731, allocations: 4 kB / 413.3 MB, free: 31.29 MB / 318.1 MB Notification: Performance of Solve: time 0.0002373/0.01755, allocations: 146.5 kB / 413.4 MB, free: 31.15 MB / 318.1 MB Notification: Performance of Jacobian: time 5.611e-06/0.01758, allocations: 0 / 413.4 MB, free: 31.15 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: ......... 4 * 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) {tap, state, tTapMoved, tValueUnderMinWhileRunning, tValueInRangeWhileRunning, tValueAboveMaxWhileRunning} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 46 (46) {locked, lookingToIncreaseTap, lookingToDecreaseTap, valueUnderMin, valueAboveMax, valueInRange, $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_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 47 (scalar:47, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 64 (scalar:64, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001716/0.01775, allocations: 46.02 kB / 413.5 MB, free: 31.11 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable state.