Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Logical") translateModel(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Logical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000943/0.000943, allocations: 106.1 kB / 16.42 MB, free: 6.512 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.0009245/0.0009245, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.174/1.174, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1607/0.1607, allocations: 38.01 MB / 308.6 MB, free: 5.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.605e-05, allocations: 2.281 kB / 433.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.002762/0.002786, allocations: 2.716 MB / 436.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.00436, allocations: 1.318 MB / 437.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.004516, allocations: 8 kB / 437.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.005185, allocations: 342.6 kB / 438 MB, free: 10.08 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.005574, allocations: 230.9 kB / 438.2 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.006166, allocations: 374.5 kB / 438.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.006594, allocations: 0.6908 MB / 439.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.006866, allocations: 227.6 kB / 439.5 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.007087, allocations: 278.9 kB / 439.8 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.007281, allocations: 302.7 kB / 440.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.007343, allocations: 48 kB / 440.1 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.007501, allocations: 119.9 kB / 440.2 MB, free: 7.84 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.000315/0.007823, allocations: 0.8651 MB / 441.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000141/0.00797, allocations: 0.5272 MB / 441.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.008037, allocations: 83.62 kB / 441.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.92e-05/0.008092, allocations: 31.69 kB / 441.7 MB, free: 6.316 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: 100 (100) * Number of variables: 100 (100) Notification: Performance of Bindings: time 0.001244/0.00934, allocations: 2.164 MB / 443.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.373e-05/0.009431, allocations: 103.8 kB / 444 MB, free: 3.934 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0006618/0.0101, allocations: 1.12 MB / 445.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of simplify1: time 5.883e-05/0.01017, allocations: 91.84 kB / 445.2 MB, free: 2.699 MB / 318.1 MB Notification: Performance of Alias: time 0.00131/0.01148, allocations: 1.81 MB / 447 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simplify2: time 4.721e-05/0.01154, allocations: 59.91 kB / 447.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of Events: time 0.0003188/0.01186, allocations: 358.7 kB / 447.4 MB, free: 316 kB / 318.1 MB Notification: Performance of Detect States: time 0.0004041/0.01228, allocations: 0.489 MB / 447.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0004428/0.01273, allocations: 443.6 kB / 448.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Causalize: time 0.002207/0.01494, allocations: 2.358 MB / 450.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009592/0.01591, allocations: 1.098 MB / 451.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of Inline: time 0.00181/0.01773, allocations: 1.871 MB / 453.7 MB, free: 9.98 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001017/0.01784, allocations: 103.6 kB / 453.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of Cleanup: time 7.452e-05/0.01793, allocations: 83.83 kB / 453.9 MB, free: 9.793 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_150) slice: {}; [SCAL] (1) $SEV_15 = greaterEqualThreshold.u > greaterThreshold.threshold ($RES_EVT_146) slice: {}; Notification: Performance of Causalize: time 0.005003/0.02293, allocations: 5.782 MB / 459.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of Tearing: time 6.943e-06/0.02296, allocations: 0 / 459.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of Initialization: time 7.81e-07/0.02296, allocations: 0 / 459.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of Tearing: time 6.141e-06/0.02297, allocations: 3.938 kB / 459.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of Categorize: time 1.411e-05/0.02299, allocations: 4 kB / 459.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Solve: time 0.0007352/0.02373, allocations: 0.8214 MB / 460.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of Jacobian: time 4.148e-06/0.02375, allocations: 0 / 460.5 MB, free: 3.309 MB / 334.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: ........... 76 (scalar:76, 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: ........... 107 (scalar:103, 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 5.959e-05/0.02381, allocations: 75.41 kB / 460.5 MB, free: 3.25 MB / 334.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not and1.u2