Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change1.u|edge1.u|fallingEdge.not_u|hysteresis.y|onOffController.y|pre1.u|rSFlipFlop.pre.u|table1.y|table2.y|timer.entryTime|triggeredTrapezoid.T|triggeredTrapezoid.endValue|triggeredTrapezoid.rate|triggeredTrapezoid.y|zeroCrossing.disable|zeroCrossing.enable|zeroCrossing.u_pos",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical") translateModel(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change1.u|edge1.u|fallingEdge.not_u|hysteresis.y|onOffController.y|pre1.u|rSFlipFlop.pre.u|table1.y|table2.y|timer.entryTime|triggeredTrapezoid.T|triggeredTrapezoid.endValue|triggeredTrapezoid.rate|triggeredTrapezoid.y|zeroCrossing.disable|zeroCrossing.enable|zeroCrossing.u_pos",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001315, allocations: 108 kB / 18.46 MB, free: 4.461 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.001576/0.001576, allocations: 194.5 kB / 19.39 MB, free: 3.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2089/0.2089, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.493e-05, allocations: 2.281 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.004092/0.004125, allocations: 2.722 MB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.00669, allocations: 1.406 MB / 475.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.006915, allocations: 8 kB / 475.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009412/0.007864, allocations: 334.7 kB / 475.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005718/0.008445, allocations: 234.7 kB / 475.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009384/0.009393, allocations: 410.1 kB / 476.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000711/0.01011, allocations: 0.6908 MB / 477 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004035/0.01052, allocations: 235.5 kB / 477.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.01087, allocations: 279 kB / 477.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.01119, allocations: 302.7 kB / 477.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.518e-05/0.01127, allocations: 56 kB / 477.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.0115, allocations: 108 kB / 477.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.000566/0.01207, allocations: 0.8651 MB / 478.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002929/0.01237, allocations: 0.5349 MB / 479.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.223e-05/0.01247, allocations: 79.69 kB / 479.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001072/0.01258, allocations: 27.75 kB / 479.4 MB, free: 4.926 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 (100) * Number of variables: 100 (100) Notification: Performance of Bindings: time 0.002077/0.01467, allocations: 2.171 MB / 481.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001584/0.01483, allocations: 121.6 kB / 481.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001091/0.01593, allocations: 1.128 MB / 482.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simplify1: time 9.156e-05/0.01603, allocations: 95.73 kB / 482.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of Alias: time 0.002502/0.01854, allocations: 2.07 MB / 485 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplify2: time 7.898e-05/0.01864, allocations: 63.89 kB / 485.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Events: time 0.0004565/0.0191, allocations: 350 kB / 485.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Detect States: time 0.0006834/0.01979, allocations: 0.4994 MB / 485.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0005199/0.02032, allocations: 455.6 kB / 486.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of Causalize: time 0.002122/0.02245, allocations: 1.78 MB / 488.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.001131/0.0236, allocations: 1.102 MB / 489.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of Inline: time 0.002195/0.0258, allocations: 1.913 MB / 491.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001369/0.02595, allocations: 95.61 kB / 491.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0001094/0.02607, allocations: 91.83 kB / 491.3 MB, free: 8.555 MB / 366.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) pre(not fallingEdge.not_u) = edge1.pre_u_start ($RES_SIM_11) slice: {}; [SCAL] (1) pre(not (not fallingEdge.not_u)) = pre1.pre_u_start ($RES_SIM_12) slice: {}; [SCAL] (1) $SEV_19 = or1.u1 or and1.u2 ($RES_EVT_152) slice: {}; [SCAL] (1) $SEV_15 = greaterEqualThreshold.u > greaterThreshold.threshold ($RES_EVT_148) slice: {}; Notification: Performance of Causalize: time 0.006038/0.03212, allocations: 4.877 MB / 496.2 MB, free: 3.621 MB / 366.1 MB Notification: Performance of Tearing: time 9.868e-06/0.03214, allocations: 0 / 496.2 MB, free: 3.621 MB / 366.1 MB Notification: Performance of Initialization: time 8.82e-07/0.03215, allocations: 0 / 496.2 MB, free: 3.621 MB / 366.1 MB Notification: Performance of Tearing: time 8.536e-06/0.03217, allocations: 4 kB / 496.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of Categorize: time 2.882e-05/0.0322, allocations: 7.938 kB / 496.2 MB, free: 3.609 MB / 366.1 MB Notification: Performance of Solve: time 0.0008763/0.03308, allocations: 0.8295 MB / 497 MB, free: 2.672 MB / 366.1 MB Notification: Performance of Jacobian: time 3.417e-06/0.0331, allocations: 0 / 497 MB, free: 2.672 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: ......... 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: .................... 8 (8) {timer.entryTime, triggeredTrapezoid.rate, triggeredTrapezoid.T, triggeredTrapezoid.endValue, table2.combiTimeTable.nextTimeEvent, table2.combiTimeTable.nextTimeEventScaled, table1.combiTimeTable.nextTimeEvent, table1.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 66 (66) {and1.u1, and1.u2, or1.u1, xor.y, nor.y, edge1.y, fallingEdge.y, fallingEdge.not_u, change1.y, greaterEqualThreshold.y, lessThreshold.y, lessEqualThreshold.y, greater.y, greaterEqual.y, less.y, lessEqual.y, zeroCrossing.y, zeroCrossing.disable, zeroCrossing.u_pos, logicalSwitch.u1, logicalSwitch.u2, logicalSwitch.y, hysteresis.y, onOffController.y, rSFlipFlop.nor.u2, rSFlipFlop.nor.y, rSFlipFlop.nor1.u1, $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_11, $TEV_10, $TEV_9, $TEV_8, $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: ........... 78 (scalar:78, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 109 (scalar:105, array:2, record:2) * Number of multi strong components: ............ 7 (algorithm:7, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 8.293e-05/0.03319, allocations: 55.06 kB / 497.1 MB, free: 2.617 MB / 366.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not and1.u2