Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.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) 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 109.1 kB / 17.69 MB, free: 5.383 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.001205/0.001205, allocations: 187.5 kB / 18.63 MB, free: 4.465 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.218/1.218, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.349e-05, allocations: 9.031 kB / 302 MB, free: 5.191 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse): time 0.002303/0.002341, allocations: 1.42 MB / 303.4 MB, free: 3.773 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.002514, allocations: 44.86 kB / 303.5 MB, free: 3.73 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.002572, allocations: 0 / 303.5 MB, free: 3.73 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.002602, allocations: 3.938 kB / 303.5 MB, free: 3.727 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.002664, allocations: 4.688 kB / 303.5 MB, free: 3.723 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.002876, allocations: 23.97 kB / 303.5 MB, free: 3.699 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 8.877e-05/0.002973, allocations: 45.34 kB / 303.6 MB, free: 3.656 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.628e-05/0.003065, allocations: 12 kB / 303.6 MB, free: 3.645 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.003114, allocations: 15.92 kB / 303.6 MB, free: 3.629 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.223e-05/0.003153, allocations: 23.91 kB / 303.6 MB, free: 3.605 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.003175, allocations: 4 kB / 303.6 MB, free: 3.602 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.003189, allocations: 4 kB / 303.6 MB, free: 3.598 MB / 238.1 MB Notification: Performance of combineBinaries: time 6.964e-05/0.003263, allocations: 63.23 kB / 303.7 MB, free: 3.535 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 1.949e-05/0.003287, allocations: 39.41 kB / 303.7 MB, free: 3.496 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.003311, allocations: 8 kB / 303.7 MB, free: 3.488 MB / 238.1 MB Notification: Performance of FrontEnd: time 1.308e-05/0.003328, allocations: 0 / 303.7 MB, free: 3.488 MB / 238.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (6) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0003306/0.003663, allocations: 284.7 kB / 304 MB, free: 3.109 MB / 238.1 MB Notification: Performance of FunctionAlias: time 1.959e-05/0.003689, allocations: 4 kB / 304 MB, free: 3.105 MB / 238.1 MB Notification: Performance of Early Inline: time 0.0001095/0.003803, allocations: 132.3 kB / 304.1 MB, free: 2.949 MB / 238.1 MB Notification: Performance of simplify1: time 1.005e-05/0.003819, allocations: 7.984 kB / 304.1 MB, free: 2.941 MB / 238.1 MB Notification: Performance of Alias: time 0.0002365/0.004059, allocations: 157.1 kB / 304.3 MB, free: 2.734 MB / 238.1 MB Notification: Performance of simplify2: time 2.375e-06/0.004072, allocations: 4 kB / 304.3 MB, free: 2.73 MB / 238.1 MB Notification: Performance of Events: time 7.195e-05/0.004149, allocations: 35.89 kB / 304.3 MB, free: 2.695 MB / 238.1 MB Notification: Performance of Detect States: time 0.0001076/0.004262, allocations: 60.16 kB / 304.4 MB, free: 2.621 MB / 238.1 MB Notification: Performance of Partitioning: time 6.135e-05/0.004331, allocations: 48.09 kB / 304.4 MB, free: 2.566 MB / 238.1 MB Notification: Performance of Causalize: time 0.000285/0.004622, allocations: 240.1 kB / 304.7 MB, free: 2.324 MB / 238.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001115/0.004742, allocations: 136.4 kB / 304.8 MB, free: 2.164 MB / 238.1 MB Notification: Performance of Inline: time 0.0001784/0.004926, allocations: 180.3 kB / 305 MB, free: 1.953 MB / 238.1 MB Notification: Performance of Partitioning: time 1.49e-05/0.00495, allocations: 16.41 kB / 305 MB, free: 1.93 MB / 238.1 MB Notification: Performance of Cleanup: time 1.405e-05/0.004969, allocations: 7.984 kB / 305 MB, free: 1.922 MB / 238.1 MB Notification: Performance of Causalize: time 0.0003947/0.005368, allocations: 385.9 kB / 305.4 MB, free: 1.539 MB / 238.1 MB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if previous(pulse.startOutput) then [SCAL] (1) pulse.startOutput = #EMPTY# ($RES_SIM_2) [SCAL] (1) pulse.counter = if $SEV_1 then 0 else #EMPTY# + 1 ($RES_SIM_3) else [SCAL] (1) pulse.counter = if pulse.startOutput then 0 else #EMPTY# + 1 ($RES_SIM_4) [SCAL] (1) pulse.startOutput = $SEV_2 ($RES_SIM_5) end if; Error: Internal error NBInitialization.main failed to apply modules!