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.001022/0.001022, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001019/0.001019, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.269/1.269, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05775/0.05775, allocations: 10.73 MB / 281.3 MB, free: 1.309 MB / 222.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.001807/0.001807, allocations: 70 kB / 391.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07541/0.07723, allocations: 49.03 MB / 440.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003568/0.08084, allocations: 1.983 MB / 442.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.0828, allocations: 1.174 MB / 443.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.08295, allocations: 4 kB / 443.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008161/0.08379, allocations: 286.8 kB / 444 MB, free: 372 kB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.08423, allocations: 195.3 kB / 444.2 MB, free: 176 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007842/0.08503, allocations: 277.9 kB / 444.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.08554, allocations: 351.1 kB / 444.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.08574, allocations: 48.31 kB / 444.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.08606, allocations: 147.4 kB / 445 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.08629, allocations: 139.4 kB / 445.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/0.08635, allocations: 20 kB / 445.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.08662, allocations: 107.9 kB / 445.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.08675, allocations: 79.69 kB / 445.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.08691, allocations: 115.3 kB / 445.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.08741, allocations: 350.9 kB / 445.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.08743, allocations: 0 / 445.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08744, allocations: 0 / 445.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.08745, allocations: 0 / 445.8 MB, free: 14.57 MB / 334.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; Error: Internal error SimCode DAEmode: The model IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay could not be translated