Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 107.5 kB / 16.42 MB, free: 6.477 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.001055/0.001055, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.156/1.156, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2458/0.2458, allocations: 54.96 MB / 325.5 MB, free: 4.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.82e-05, allocations: 6.219 kB / 456.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004101/0.004127, allocations: 3.132 MB / 459.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.006149, allocations: 1.06 MB / 461 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004823/0.006644, allocations: 11.94 kB / 461 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.006951, allocations: 71.2 kB / 461.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.007271, allocations: 95.11 kB / 461.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.007913, allocations: 267.1 kB / 461.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007028/0.008625, allocations: 0.6324 MB / 462.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003984/0.009031, allocations: 267.8 kB / 462.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.009373, allocations: 207.1 kB / 462.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.009712, allocations: 214.9 kB / 462.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.456e-05/0.009794, allocations: 52 kB / 462.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/0.009864, allocations: 55.94 kB / 462.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0006116/0.01048, allocations: 0.7525 MB / 463.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002656/0.01075, allocations: 0.4963 MB / 464.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.01086, allocations: 83.69 kB / 464.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.159e-05/0.01095, allocations: 27.75 kB / 464.2 MB, free: 11.27 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: 92 (92) * Number of variables: 92 (92) Notification: Performance of Bindings: time 0.002082/0.01303, allocations: 2.239 MB / 466.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001658/0.01321, allocations: 103.8 kB / 466.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001024/0.01424, allocations: 1.038 MB / 467.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simplify1: time 9.139e-05/0.01434, allocations: 75.89 kB / 467.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of Alias: time 0.002231/0.01657, allocations: 2.137 MB / 469.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simplify2: time 6.565e-05/0.01665, allocations: 39.95 kB / 469.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of Events: time 0.0001922/0.01685, allocations: 151.9 kB / 470 MB, free: 5.09 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002866/0.01714, allocations: 272.2 kB / 470.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002805/0.01743, allocations: 275.7 kB / 470.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of Causalize: time 0.00141/0.01885, allocations: 1.366 MB / 471.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006163/0.01947, allocations: 0.655 MB / 472.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of Inline: time 0.001289/0.02077, allocations: 1.273 MB / 473.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of Partitioning: time 8.892e-05/0.02087, allocations: 87.55 kB / 473.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Cleanup: time 0.000203/0.02108, allocations: 147.7 kB / 474 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Causalize: time 0.004071/0.02515, allocations: 4.891 MB / 478.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of Tearing: time 7.033e-06/0.02517, allocations: 0 / 478.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of Initialization: time 6.31e-07/0.02518, allocations: 0 / 478.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of Tearing: time 4.008e-06/0.02519, allocations: 4 kB / 478.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of Categorize: time 1.193e-05/0.0252, allocations: 4.891 kB / 478.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Solve: time 0.0003517/0.02556, allocations: 238.7 kB / 479.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0003988/0.02597, allocations: 475.7 kB / 479.6 MB, free: 11.39 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: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {con.con.I.y, cap.T} * Number of discrete states: .................... 3 (3) {con.offTimer.entryTime, con.onTimer.entryTime, con.offHys.entryTime} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 15 (15) {con.offHys.u, con.switch2.u2, con.greaterEqualThreshold.y, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 39 (scalar:39, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 76 (scalar:76, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] 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: ............ 0 (algorithm:0, when:0, 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: Performance of backend: time 0.0001572/0.02613, allocations: 60.48 kB / 479.7 MB, free: 11.34 MB / 366.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.switch2.u2