Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedPulse") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.001375/0.001375, allocations: 112.1 kB / 17.14 MB, free: 5.895 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.00143/0.00143, allocations: 198.9 kB / 18.08 MB, free: 4.977 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.466/1.466, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08169/0.08169, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.478e-05, allocations: 2.281 kB / 394.8 MB, free: 45.45 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedPulse): time 0.002885/0.002919, allocations: 1.433 MB / 396.2 MB, free: 44.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002382/0.00317, allocations: 50.03 kB / 396.2 MB, free: 44.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.589e-05/0.003255, allocations: 0 / 396.2 MB, free: 44.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.003295, allocations: 0.7031 kB / 396.2 MB, free: 44.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.512e-05/0.003366, allocations: 3.938 kB / 396.2 MB, free: 44.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.003668, allocations: 32.28 kB / 396.3 MB, free: 44.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.003794, allocations: 42.42 kB / 396.3 MB, free: 44.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.003922, allocations: 13.17 kB / 396.3 MB, free: 44.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.904e-05/0.003996, allocations: 18.02 kB / 396.3 MB, free: 44.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.004044, allocations: 23.11 kB / 396.4 MB, free: 44.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.004075, allocations: 4 kB / 396.4 MB, free: 44.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.004092, allocations: 3.688 kB / 396.4 MB, free: 44.36 MB / 318.1 MB Notification: Performance of combineBinaries: time 7.457e-05/0.004171, allocations: 59.47 kB / 396.4 MB, free: 44.32 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.547e-05/0.004203, allocations: 46.59 kB / 396.5 MB, free: 44.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.004232, allocations: 3.562 kB / 396.5 MB, free: 44.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-05/0.004259, allocations: 3.938 kB / 396.5 MB, free: 44.28 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: 7 (6) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0004264/0.00469, allocations: 278.3 kB / 396.8 MB, free: 43.98 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.805e-05/0.004714, allocations: 14.69 kB / 396.8 MB, free: 43.96 MB / 318.1 MB Notification: Performance of Early Inline: time 0.000136/0.004855, allocations: 119.1 kB / 396.9 MB, free: 43.86 MB / 318.1 MB Notification: Performance of simplify1: time 1.09e-05/0.004871, allocations: 5.5 kB / 396.9 MB, free: 43.86 MB / 318.1 MB Notification: Performance of Alias: time 0.0003176/0.005194, allocations: 167.8 kB / 397.1 MB, free: 43.69 MB / 318.1 MB Notification: Performance of simplify2: time 5.911e-06/0.005209, allocations: 0.6562 kB / 397.1 MB, free: 43.69 MB / 318.1 MB Notification: Performance of Events: time 9.899e-05/0.005313, allocations: 26.17 kB / 397.1 MB, free: 43.68 MB / 318.1 MB Notification: Performance of Detect States: time 0.000155/0.005474, allocations: 76.41 kB / 397.2 MB, free: 43.61 MB / 318.1 MB Notification: Performance of Partitioning: time 8.118e-05/0.005563, allocations: 39.58 kB / 397.2 MB, free: 43.59 MB / 318.1 MB Notification: Performance of Causalize: time 0.0003591/0.005928, allocations: 242 kB / 397.4 MB, free: 43.48 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.000129/0.006067, allocations: 140.1 kB / 397.6 MB, free: 43.36 MB / 318.1 MB Notification: Performance of Inline: time 0.0002138/0.006289, allocations: 183 kB / 397.8 MB, free: 43.21 MB / 318.1 MB Notification: Performance of Partitioning: time 1.77e-05/0.006314, allocations: 16.48 kB / 397.8 MB, free: 43.2 MB / 318.1 MB Notification: Performance of Cleanup: time 2.113e-05/0.006341, allocations: 8.734 kB / 397.8 MB, free: 43.19 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005231/0.006869, allocations: 385.8 kB / 398.2 MB, free: 43.01 MB / 318.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!