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.001309/0.001309, allocations: 112 kB / 16.42 MB, free: 6.512 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.001234/0.001234, allocations: 188.2 kB / 17.35 MB, free: 5.754 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.463/1.463, 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.05347/0.05347, allocations: 10.72 MB / 281.3 MB, free: 1.305 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.025e-05, allocations: 3.547 kB / 391.4 MB, free: 45.99 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.00533/0.005373, allocations: 2.989 MB / 394.4 MB, free: 43.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00413/0.009525, allocations: 2.073 MB / 396.5 MB, free: 42.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.01055, allocations: 28.69 kB / 396.5 MB, free: 42.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.01199, allocations: 390.5 kB / 396.9 MB, free: 42.3 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.001356/0.01344, allocations: 306 kB / 397.2 MB, free: 42.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.01592, allocations: 0.7892 MB / 398 MB, free: 41.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.01782, allocations: 1.194 MB / 399.2 MB, free: 41.26 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.01813, allocations: 155.3 kB / 399.4 MB, free: 41.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007679/0.0189, allocations: 0.4992 MB / 399.9 MB, free: 40.97 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005441/0.01946, allocations: 429.2 kB / 400.3 MB, free: 40.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.01958, allocations: 57.25 kB / 400.3 MB, free: 40.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.0203, allocations: 312.8 kB / 400.6 MB, free: 40.72 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007533/0.02106, allocations: 1.191 MB / 401.8 MB, free: 39.9 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003337/0.0214, allocations: 0.7508 MB / 402.6 MB, free: 39.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.02157, allocations: 120.7 kB / 402.7 MB, free: 39.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001651/0.02174, allocations: 28.66 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