Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking.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.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 107.8 kB / 16.42 MB, free: 6.477 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.001421/0.001421, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.689/1.689, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05596/0.05596, allocations: 10.73 MB / 281.3 MB, free: 1.281 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.629e-05, allocations: 2.281 kB / 391.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004375/0.004411, allocations: 2.984 MB / 394.4 MB, free: 43.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00399/0.008416, allocations: 2.07 MB / 396.5 MB, free: 42.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004742/0.008905, allocations: 29.66 kB / 396.5 MB, free: 42.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.01, allocations: 391.7 kB / 396.9 MB, free: 42.32 MB / 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.0007611/0.01081, allocations: 312.3 kB / 397.2 MB, free: 42.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.01302, allocations: 0.7853 MB / 398 MB, free: 41.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001774/0.0148, allocations: 1.191 MB / 399.2 MB, free: 41.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/0.01519, allocations: 155.6 kB / 399.4 MB, free: 41.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.01621, allocations: 0.4955 MB / 399.8 MB, free: 40.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007444/0.01696, allocations: 432.8 kB / 400.3 MB, free: 40.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.01714, allocations: 62 kB / 400.3 MB, free: 40.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008562/0.01801, allocations: 317.8 kB / 400.6 MB, free: 40.73 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0009222/0.01894, allocations: 1.192 MB / 401.8 MB, free: 39.91 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003929/0.01934, allocations: 0.7493 MB / 402.6 MB, free: 39.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.01949, allocations: 120.7 kB / 402.7 MB, free: 39.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001824/0.01968, allocations: 36.34 kB / 402.7 MB, free: 39.26 MB / 318.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if not R.ts then R.Iaction = IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(R.alfa, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); elseif true then R.Iaction = IndustrialControlSystems.LinearSystems.Discrete.Functions.f1Pole(R.alfa, R.cs, pre(R.cs), pre(R.Iaction), 0.01, 1.0, 0.001); end if