Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 100.4 kB / 19.76 MB, free: 1.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 213 kB / 23.06 MB, free: 4.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.7 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07905/0.07905, allocations: 16.93 MB / 330.2 MB, free: 2.344 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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=500,variableFilter="Ntap|U|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tToStandardState|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval") translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="Ntap|U|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tToStandardState|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.24e-05, allocations: 2.281 kB / 462.8 MB, free: 168 kB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicInterval): time 0.002795/0.002818, allocations: 1.505 MB / 464.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.004052, allocations: 0.5575 MB / 464.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.004101, allocations: 3.938 kB / 464.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.004124, allocations: 3.938 kB / 464.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.004329, allocations: 27.78 kB / 464.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.00453, allocations: 115.8 kB / 465 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.00483, allocations: 275.5 kB / 465.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.004885, allocations: 4 kB / 465.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.005191, allocations: 155.7 kB / 465.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.005362, allocations: 119.6 kB / 465.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.005415, allocations: 20 kB / 465.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.853e-05/0.005463, allocations: 20 kB / 465.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003534/0.005817, allocations: 357.9 kB / 466 MB, free: 13 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 7.488e-05/0.005891, allocations: 114.5 kB / 466.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.00595, allocations: 27.94 kB / 466.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.039e-05/0.005961, allocations: 0 / 466.1 MB, free: 12.86 MB / 334.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 [SIM] Bindings: time 0.001739/0.0077, allocations: 1.426 MB / 467.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002692/0.007969, allocations: 212.9 kB / 467.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.001759/0.009728, allocations: 1.943 MB / 469.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003875/0.01012, allocations: 325.5 kB / 470 MB, free: 8.754 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001626/0.01174, allocations: 1.343 MB / 471.4 MB, free: 7.328 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003556/0.0121, allocations: 320.9 kB / 471.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002105/0.01231, allocations: 228 kB / 471.9 MB, free: 6.719 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0006915/0.013, allocations: 0.6502 MB / 472.5 MB, free: 6.016 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0009991/0.014, allocations: 0.6775 MB / 473.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007013/0.0147, allocations: 0.6493 MB / 473.9 MB, free: 4.707 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.001244/0.01594, allocations: 0.9146 MB / 474.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001413/0.01736, allocations: 1.553 MB / 476.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.0006821/0.01804, allocations: 415.5 kB / 476.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.001482/0.01952, allocations: 1.593 MB / 478.3 MB, free: 152 kB / 334.1 MB Notification: Performance of [INI] Partitioning: time 4.644e-05/0.01957, allocations: 26.73 kB / 478.4 MB, free: 116 kB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0002497/0.01982, allocations: 271.5 kB / 478.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.002179/0.022, allocations: 1.584 MB / 480.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 2.941e-05/0.02203, allocations: 31.94 kB / 480.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 5.51e-07/0.02203, allocations: 0 / 480.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 7.318e-05/0.0221, allocations: 36.11 kB / 480.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.414e-06/0.02211, allocations: 0.5 kB / 480.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 1.841e-05/0.02213, allocations: 28 kB / 480.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 1.194e-05/0.02214, allocations: 12 kB / 480.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.0005197/0.02266, allocations: 370.8 kB / 480.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001442/0.0228, allocations: 166 kB / 480.8 MB, free: 13.57 MB / 350.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: ......... 1 * 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) {tTapMoved, tap, state, tValueInRangeWhileRunning, tValueAboveMaxWhileRunning, tValueUnderMinWhileRunning} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 44 (44) {locked, running, lookingToIncreaseTap, lookingToDecreaseTap, valueUnderMin, valueAboveMax, valueInRange, $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 clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 45 (scalar:45, 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 (resizable: 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: ........... 63 (scalar:63, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001365/0.02294, allocations: 48.56 kB / 480.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008331/0.02377, allocations: 0.5456 MB / 481.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Templates: time 0.006296/0.03007, allocations: 3.17 MB / 484.6 MB, free: 9.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.757687346020248] Failed to read output from testmodel.py, exit status != 0: 0.038113435031846166 0.052759707 0.043684890000000004 Calling exit ...