Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006498/0.006498, allocations: 171.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05643/0.05643, allocations: 10.74 MB / 26.59 MB, free: 2.207 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 235.2 MB, free: 96 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000878/0.0008781, allocations: 93.59 kB / 285.9 MB, free: 10.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003203, allocations: 11.98 kB / 346.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1086, allocations: 50 MB / 396.4 MB, free: 3.082 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3553/0.464, allocations: 81.46 MB / 477.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.4643, allocations: 93.17 kB / 478 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02202/0.4863, allocations: 9.465 MB / 487.4 MB, free: 6.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4863, allocations: 4 kB / 487.4 MB, free: 6.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.382e-05/0.4864, allocations: 4 kB / 487.4 MB, free: 6.922 MB / 346.7 MB Error: Failed to solve equation timer.startTime = IndustrialControlSystems.Logical.Timers.Functions.positiveEdge(pre(timer.Sd), timer.Sd, timer.R, timer.startTime, time); [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/Logical/Timers/Timer_On_Redge.mo:14:3-36:11:writable] Error: Internal error BackendDAECreate.lowerWhenEqn: equation not handled: equation when sample(1, 0.0, timer.Ts) then timer.Sd = timer.S; timer.Shd = timer.S_hold; timer.S_hold = IndustrialControlSystems.Logical.Timers.Functions.hold(pre(timer.Sd), timer.Sd, timer.R, pre(timer.Shd)); timer.startTime = IndustrialControlSystems.Logical.Timers.Functions.positiveEdge(pre(timer.Sd), timer.Sd, timer.R, timer.startTime, time); (timer.run, timer.Q) = IndustrialControlSystems.Logical.Timers.Functions.tim(timer.S_hold, timer.R, timer.PV, time, timer.startTime); timer.tr = if timer.Q then timer.PV + timer.startTime - time else 0.0; end when;