Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.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(ThermoPower.Examples.HRB.Simulators.TestPI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI") translateModel(ThermoPower.Examples.HRB.Simulators.TestPI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 117 kB / 17.76 MB, free: 5.324 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.00107/0.00107, allocations: 188.6 kB / 18.69 MB, free: 4.402 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.133/1.133, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2307/0.2307, allocations: 48.85 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.398e-05, allocations: 2.281 kB / 451.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002179/0.002201, allocations: 1.648 MB / 452.8 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003244, allocations: 0.7028 MB / 453.5 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.003315, allocations: 3.938 kB / 453.5 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.00348, allocations: 43.81 kB / 453.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.286e-05/0.00356, allocations: 59.73 kB / 453.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.003958, allocations: 123.7 kB / 453.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.004167, allocations: 179.5 kB / 453.9 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.004263, allocations: 29.38 kB / 453.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.004345, allocations: 75.73 kB / 454 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.004467, allocations: 83.67 kB / 454.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.004497, allocations: 8 kB / 454.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.004617, allocations: 87.92 kB / 454.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0001376/0.00476, allocations: 197.7 kB / 454.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 5.201e-05/0.004817, allocations: 122.2 kB / 454.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.004856, allocations: 23.94 kB / 454.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.957e-05/0.00488, allocations: 4 kB / 454.5 MB, free: 5.234 MB / 334.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if digitalPI.CSwind > digitalPI.CSmax then digitalPI.CS = digitalPI.CSmax; digitalPI.e_int = (digitalPI.CS / digitalPI.Kp - digitalPI.e) * digitalPI.Ti; elseif digitalPI.CSwind < digitalPI.CSmin then digitalPI.CS = digitalPI.CSmin; digitalPI.e_int = (digitalPI.CS / digitalPI.Kp - digitalPI.e) * digitalPI.Ti; elseif true then digitalPI.CS = digitalPI.CSwind; digitalPI.e_int = digitalPI.e_int_wind; end if