Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax.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.TestTapChangerLogicMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Ntap|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax") translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Ntap|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 105.8 kB / 16.42 MB, free: 6.422 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.001443/0.001443, allocations: 187.2 kB / 17.36 MB, free: 5.684 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.612/1.612, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05887/0.05887, allocations: 14.16 MB / 284.8 MB, free: 13.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.715e-05/3.716e-05, allocations: 3.438 kB / 398.6 MB, free: 43.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicMax): time 0.003849/0.003897, allocations: 1.43 MB / 400 MB, free: 42.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.005339, allocations: 0.5266 MB / 400.5 MB, free: 41.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.005414, allocations: 0 / 400.5 MB, free: 41.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.005456, allocations: 9.453 kB / 400.6 MB, free: 41.72 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.005583, allocations: 7.734 kB / 400.6 MB, free: 41.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.005895, allocations: 88.94 kB / 400.6 MB, free: 41.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.006284, allocations: 190.9 kB / 400.8 MB, free: 41.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.15e-05/0.006365, allocations: 8.766 kB / 400.8 MB, free: 41.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.006612, allocations: 93.47 kB / 400.9 MB, free: 41.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.006822, allocations: 95.5 kB / 401 MB, free: 41.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.532e-05/0.006908, allocations: 12.97 kB / 401 MB, free: 41.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.481e-05/0.006971, allocations: 11.53 kB / 401.1 MB, free: 41.53 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002909/0.007275, allocations: 205.7 kB / 401.3 MB, free: 41.38 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.049e-05/0.007355, allocations: 73.62 kB / 401.3 MB, free: 41.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.007502, allocations: 27.09 kB / 401.4 MB, free: 41.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.76e-05/0.007529, allocations: 1.125 kB / 401.4 MB, free: 41.32 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.001152/0.008688, allocations: 0.7562 MB / 402.1 MB, free: 40.67 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.636e-05/0.008734, allocations: 13.02 kB / 402.1 MB, free: 40.66 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001184/0.009928, allocations: 0.9154 MB / 403 MB, free: 39.98 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001501/0.01009, allocations: 103.7 kB / 403.1 MB, free: 39.9 MB / 318.1 MB Notification: Performance of Alias: time 0.0007171/0.01082, allocations: 392.6 kB / 403.5 MB, free: 39.58 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001152/0.01095, allocations: 97.59 kB / 403.6 MB, free: 39.51 MB / 318.1 MB Notification: Performance of Events: time 0.001085/0.01205, allocations: 0.5562 MB / 404.2 MB, free: 39.14 MB / 318.1 MB Notification: Performance of Detect States: time 0.0004876/0.01255, allocations: 389 kB / 404.6 MB, free: 38.83 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004467/0.01301, allocations: 294 kB / 404.8 MB, free: 38.64 MB / 318.1 MB Notification: Performance of Causalize: time 0.001714/0.01474, allocations: 0.9272 MB / 405.8 MB, free: 38.21 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001278/0.01603, allocations: 0.9185 MB / 406.7 MB, free: 37.52 MB / 318.1 MB Notification: Performance of Inline: time 0.001412/0.01746, allocations: 1.05 MB / 407.7 MB, free: 36.74 MB / 318.1 MB Notification: Performance of Partitioning: time 8.079e-05/0.01756, allocations: 40.91 kB / 407.8 MB, free: 36.71 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001041/0.01767, allocations: 96.88 kB / 407.9 MB, free: 36.63 MB / 318.1 MB Notification: Performance of Causalize: time 0.00264/0.02032, allocations: 1.627 MB / 409.5 MB, free: 35.11 MB / 318.1 MB Notification: Performance of Tearing: time 1.126e-05/0.02035, allocations: 0 / 409.5 MB, free: 35.11 MB / 318.1 MB Notification: Performance of Initialization: time 8.51e-07/0.02036, allocations: 3.938 kB / 409.5 MB, free: 35.11 MB / 318.1 MB Notification: Performance of Tearing: time 5.63e-06/0.02038, allocations: 3.938 kB / 409.5 MB, free: 35.11 MB / 318.1 MB Notification: Performance of Categorize: time 1.765e-05/0.0204, allocations: 0 / 409.5 MB, free: 35.11 MB / 318.1 MB Notification: Performance of Solve: time 0.0002498/0.02066, allocations: 117.9 kB / 409.6 MB, free: 34.99 MB / 318.1 MB Notification: Performance of Jacobian: time 4.809e-06/0.02068, allocations: 3.938 kB / 409.6 MB, free: 34.99 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: .................... 4 (4) {tap, state, tTapMoved, tValueAboveMaxWhileRunning} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 40 (40) {locked, lookingToIncreaseTap, lookingToDecreaseTap, valueUnderStop, valueAboveMax, $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_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 40 (scalar:40, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 54 (scalar:54, 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.0001834/0.02087, allocations: 38.11 kB / 409.7 MB, free: 34.96 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable state.