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.001209/0.00121, allocations: 106.7 kB / 17.64 MB, free: 5.391 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.001232/0.001232, allocations: 189.5 kB / 18.56 MB, free: 4.477 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.289/1.289, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2686/0.2686, allocations: 48.84 MB / 320.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.685e-05, allocations: 4.469 kB / 390.8 MB, free: 48.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002611/0.002653, allocations: 1.646 MB / 392.4 MB, free: 47.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.003724, allocations: 0.702 MB / 393.1 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.003808, allocations: 4.688 kB / 393.1 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.004015, allocations: 50.56 kB / 393.2 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.89e-05/0.004125, allocations: 56.86 kB / 393.2 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.004548, allocations: 127.9 kB / 393.3 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.004779, allocations: 178.5 kB / 393.5 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.004882, allocations: 21.67 kB / 393.5 MB, free: 47.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.041e-05/0.004968, allocations: 78.56 kB / 393.6 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.005111, allocations: 83.3 kB / 393.7 MB, free: 47.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.005142, allocations: 9.531 kB / 393.7 MB, free: 47.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.005276, allocations: 81.88 kB / 393.8 MB, free: 47.2 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001375/0.00542, allocations: 197.9 kB / 394 MB, free: 47.08 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 4.574e-05/0.005472, allocations: 117.3 kB / 394.1 MB, free: 47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.005512, allocations: 21.19 kB / 394.1 MB, free: 46.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.795e-05/0.005534, allocations: 4.938 kB / 394.1 MB, free: 46.98 MB / 318.1 MB Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. 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