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.0009026/0.0009023, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009783/0.0009782, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.4 MB / 222.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.05211/0.05211, allocations: 10.74 MB / 281.1 MB, free: 10.45 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.0004487/0.0004487, allocations: 12.22 kB / 341.6 MB, free: 23.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07274/0.07321, allocations: 50.01 MB / 391.6 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.001977/0.07522, allocations: 1.633 MB / 393.2 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.07691, allocations: 1.062 MB / 394.3 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.732e-05/0.07703, allocations: 3.938 kB / 394.3 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006489/0.07768, allocations: 251.4 kB / 394.5 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.07801, allocations: 155.6 kB / 394.7 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.07859, allocations: 251.4 kB / 394.9 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.07886, allocations: 203.6 kB / 395.1 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.07897, allocations: 40.38 kB / 395.2 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.07912, allocations: 119.5 kB / 395.3 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.07926, allocations: 111.5 kB / 395.4 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.07929, allocations: 8 kB / 395.4 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.07944, allocations: 75.88 kB / 395.5 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.07953, allocations: 59.75 kB / 395.5 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.07959, allocations: 69.56 kB / 395.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.07986, allocations: 255.7 kB / 395.9 MB, free: 1.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.07987, allocations: 0 / 395.9 MB, free: 1.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.07988, allocations: 0 / 395.9 MB, free: 1.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.07989, allocations: 0 / 395.9 MB, free: 1.5 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;