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.001004/0.001004, allocations: 115.8 kB / 17.76 MB, free: 5.336 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.001098/0.001098, allocations: 185.8 kB / 18.68 MB, free: 4.414 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.241/1.241, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2411/0.2411, allocations: 48.85 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.706e-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.002549/0.002566, allocations: 1.652 MB / 452.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.003761, allocations: 0.7106 MB / 453.5 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.64e-05/0.003857, allocations: 0 / 453.5 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.004046, allocations: 51.81 kB / 453.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.831e-05/0.004144, allocations: 63.73 kB / 453.6 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.004614, allocations: 115.7 kB / 453.7 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.004867, allocations: 179.5 kB / 453.9 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.00496, allocations: 17.45 kB / 453.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.005072, allocations: 71.73 kB / 454 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.005234, allocations: 83.73 kB / 454.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.005264, allocations: 11.94 kB / 454.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.0054, allocations: 83.92 kB / 454.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0001567/0.005557, allocations: 201.7 kB / 454.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 6.828e-05/0.005625, allocations: 118.2 kB / 454.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.005662, allocations: 19.94 kB / 454.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.947e-05/0.005691, allocations: 4 kB / 454.5 MB, free: 5.242 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