Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay.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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.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(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 180.9 kB / 16.92 MB, free: 6.918 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.972/1.972, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05735/0.05735, allocations: 10.75 MB / 282.1 MB, free: 10.44 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005778/0.0005778, allocations: 16 kB / 342.9 MB, free: 23.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1402, allocations: 50 MB / 392.9 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003163/0.1434, allocations: 1.695 MB / 394.6 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.1456, allocations: 1.147 MB / 395.7 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1458, allocations: 3.938 kB / 395.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008707/0.1467, allocations: 267.4 kB / 396 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004806/0.1472, allocations: 175.5 kB / 396.2 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007819/0.148, allocations: 259.6 kB / 396.4 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.1484, allocations: 339.1 kB / 396.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.1485, allocations: 48.38 kB / 396.8 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1487, allocations: 119.4 kB / 396.9 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.149, allocations: 127.4 kB / 397 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.149, allocations: 8 kB / 397.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.1492, allocations: 87.88 kB / 397.1 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1493, allocations: 63.75 kB / 397.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1495, allocations: 125 kB / 397.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.1498, allocations: 263.6 kB / 397.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1498, allocations: 0 / 397.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1498, allocations: 0 / 397.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1498, allocations: 4 kB / 397.6 MB, free: 0.7031 MB / 286.1 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_OffDelay.mo:12:3-27:11:writable] Error: Internal error BackendDAECreate.lowerWhenEqn: equation not handled: equation when sample(1, 0.0, 0.01) then 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.odt(timer.S, timer.R, timer.PV, time, timer.startTime); timer.tr = if not timer.Q then timer.PV - (time - timer.startTime) else timer.PV; end when;