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.001114/0.001114, allocations: 96.14 kB / 15.87 MB, free: 16 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.001239/0.001239, allocations: 197.3 kB / 16.79 MB, free: 6.828 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.685/1.685, allocations: 205.1 MB / 222.6 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05638/0.05638, allocations: 10.74 MB / 280.7 MB, free: 10.73 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.001287/0.001287, allocations: 64.47 kB / 340.5 MB, free: 23.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 49.02 MB / 389.5 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.00351/0.1087, allocations: 2.041 MB / 391.6 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1107, allocations: 1.17 MB / 392.7 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1108, allocations: 4 kB / 392.7 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007726/0.1116, allocations: 267.4 kB / 393 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.1119, allocations: 175.5 kB / 393.2 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.1126, allocations: 263.5 kB / 393.4 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.1129, allocations: 339.1 kB / 393.8 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1131, allocations: 48.38 kB / 393.8 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.1133, allocations: 123.4 kB / 393.9 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1134, allocations: 135.4 kB / 394.1 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.1135, allocations: 8 kB / 394.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.1137, allocations: 87.88 kB / 394.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1138, allocations: 63.75 kB / 394.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.1139, allocations: 115.3 kB / 394.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.1142, allocations: 263.7 kB / 394.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1142, allocations: 0 / 394.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1143, allocations: 0 / 394.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1143, allocations: 0 / 394.6 MB, free: 1.625 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;