Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Logical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Logical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001687/0.001687, allocations: 123.1 kB / 18.48 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001888/0.001888, allocations: 209 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.108/1.108, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1674/0.1674, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.489e-05, allocations: 2.281 kB / 481.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.003367/0.003389, allocations: 2.858 MB / 484.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.005698, allocations: 1.639 MB / 486.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.005919, allocations: 11.94 kB / 486.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007066/0.006632, allocations: 338.7 kB / 486.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005512/0.007191, allocations: 286.7 kB / 487 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.007872, allocations: 370.6 kB / 487.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006422/0.008522, allocations: 0.7495 MB / 488.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.008825, allocations: 231.4 kB / 488.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.009202, allocations: 306.8 kB / 488.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.009501, allocations: 322.6 kB / 489 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.009588, allocations: 56 kB / 489 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.009771, allocations: 119.9 kB / 489.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0005107/0.01029, allocations: 0.9384 MB / 490.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002725/0.01057, allocations: 0.5694 MB / 490.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.01068, allocations: 91.62 kB / 490.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.967e-05/0.01076, allocations: 31.69 kB / 490.8 MB, free: 11.19 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 (103) * Number of variables: 103 (103) Notification: Performance of Bindings: time 0.001776/0.01254, allocations: 2.311 MB / 493.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0001182/0.01267, allocations: 114.7 kB / 493.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001069/0.01374, allocations: 1.358 MB / 494.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simplify1: time 7.865e-05/0.01383, allocations: 91.84 kB / 494.7 MB, free: 7.18 MB / 366.1 MB Notification: Performance of Alias: time 0.002009/0.01584, allocations: 2.124 MB / 496.8 MB, free: 4.875 MB / 366.1 MB Notification: Performance of simplify2: time 7.32e-05/0.01593, allocations: 67.88 kB / 496.8 MB, free: 4.809 MB / 366.1 MB Notification: Performance of Events: time 0.0003953/0.01633, allocations: 382.4 kB / 497.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of Detect States: time 0.0004498/0.01678, allocations: 0.5329 MB / 497.8 MB, free: 3.895 MB / 366.1 MB Notification: Performance of Partitioning: time 0.000444/0.01724, allocations: 471.7 kB / 498.2 MB, free: 3.395 MB / 366.1 MB Notification: Performance of Causalize: time 0.001823/0.01907, allocations: 1.837 MB / 0.4883 GB, free: 1.512 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009152/0.01999, allocations: 1.149 MB / 0.4895 GB, free: 344 kB / 366.1 MB Notification: Performance of Inline: time 0.001969/0.02197, allocations: 2.266 MB / 0.4917 GB, free: 14.02 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0001033/0.02208, allocations: 115.5 kB / 0.4918 GB, free: 13.9 MB / 382.1 MB Notification: Performance of Cleanup: time 8.982e-05/0.02217, allocations: 87.88 kB / 0.4919 GB, free: 13.81 MB / 382.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_12) slice: {}; [SCAL] (1) pre(not (not fallingEdge.not_u)) = pre1.pre_u_start ($RES_SIM_13) slice: {}; [SCAL] (1) $SEV_20 = or1.u1 or and1.u2 ($RES_EVT_158) slice: {}; [SCAL] (1) $SEV_16 = greaterEqualThreshold.u > greaterThreshold.threshold ($RES_EVT_154) slice: {}; Notification: Performance of Causalize: time 0.005166/0.02735, allocations: 5.016 MB / 0.4968 GB, free: 8.734 MB / 382.1 MB Notification: Performance of Tearing: time 9.207e-06/0.02737, allocations: 0 / 0.4968 GB, free: 8.734 MB / 382.1 MB Notification: Performance of Initialization: time 5.61e-07/0.02737, allocations: 0 / 0.4968 GB, free: 8.734 MB / 382.1 MB Notification: Performance of Tearing: time 4.328e-06/0.02738, allocations: 0 / 0.4968 GB, free: 8.734 MB / 382.1 MB Notification: Performance of Categorize: time 1.273e-05/0.02739, allocations: 7.938 kB / 0.4968 GB, free: 8.727 MB / 382.1 MB Notification: Performance of Solve: time 0.0007787/0.02818, allocations: 1.213 MB / 0.498 GB, free: 7.398 MB / 382.1 MB Notification: Performance of Jacobian: time 2.594e-06/0.02819, allocations: 0 / 0.498 GB, free: 7.398 MB / 382.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: ......... 5 * 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: .................... 9 (9) {booleanPulse.pulseStart, 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: ................. 69 (69) {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, booleanPulse.y, $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_12, $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: ........... 80 (scalar:80, array:0, record:0) * Number of multi strong components: ............ 9 (algorithm:0, when:9, 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: ........... 114 (scalar:110, 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 6.88e-05/0.02826, allocations: 74.69 kB / 0.498 GB, free: 7.324 MB / 382.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not and1.u2