Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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) 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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Logical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.001451, allocations: 113.3 kB / 17.1 MB, free: 5.918 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.001996/0.001997, allocations: 198.9 kB / 18.03 MB, free: 5.008 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.901/1.901, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2654/0.2654, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.705e-05, allocations: 6.219 kB / 442.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.003675/0.00371, allocations: 2.719 MB / 445.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.006089, allocations: 1.322 MB / 446.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.006337, allocations: 11.94 kB / 446.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009278/0.007271, allocations: 334.7 kB / 446.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.007773, allocations: 234.9 kB / 447.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009754/0.008758, allocations: 377.5 kB / 447.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.009391, allocations: 0.6908 MB / 448.1 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004734/0.009872, allocations: 235.6 kB / 448.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.01028, allocations: 283 kB / 448.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.01062, allocations: 302.7 kB / 448.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.763e-05/0.01071, allocations: 52 kB / 449 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.01097, allocations: 111.9 kB / 449.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0006716/0.01165, allocations: 0.8651 MB / 449.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000327/0.01198, allocations: 0.5348 MB / 450.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.0121, allocations: 79.69 kB / 450.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001308/0.01224, allocations: 27.75 kB / 450.6 MB, free: 13.52 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: 100 (100) * Number of variables: 100 (100) Notification: Performance of Bindings: time 0.002299/0.01455, allocations: 2.175 MB / 452.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.000175/0.01473, allocations: 121.4 kB / 452.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of Early Inline: time 0.001119/0.01586, allocations: 1.132 MB / 454 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simplify1: time 9.793e-05/0.01597, allocations: 99.84 kB / 454.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of Alias: time 0.002762/0.01873, allocations: 2.059 MB / 456.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simplify2: time 7.868e-05/0.01883, allocations: 67.89 kB / 456.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of Events: time 0.0005717/0.01941, allocations: 370.1 kB / 456.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of Detect States: time 0.0006292/0.02005, allocations: 492.1 kB / 457.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0005334/0.02059, allocations: 455.6 kB / 457.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of Causalize: time 0.002328/0.02293, allocations: 1.788 MB / 459.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.001258/0.0242, allocations: 1.11 MB / 460.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Inline: time 0.002313/0.02652, allocations: 1.896 MB / 462.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001349/0.02667, allocations: 95.61 kB / 462.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of Cleanup: time 9.435e-05/0.02677, allocations: 95.75 kB / 462.5 MB, free: 1.152 MB / 334.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.006222/0.033, allocations: 4.87 MB / 467.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Tearing: time 1.365e-05/0.03303, allocations: 0 / 467.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Initialization: time 2.855e-06/0.03303, allocations: 4 kB / 467.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Tearing: time 6.352e-06/0.03305, allocations: 4 kB / 467.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Categorize: time 3.166e-05/0.03309, allocations: 7.938 kB / 467.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Solve: time 0.001198/0.03429, allocations: 0.8218 MB / 468.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Jacobian: time 3.967e-06/0.03431, allocations: 7.938 kB / 468.2 MB, free: 11.26 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: ......... 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.564e-05/0.0344, allocations: 54.78 kB / 468.3 MB, free: 11.22 MB / 350.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not and1.u2