Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 112.2 kB / 17.14 MB, free: 5.93 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.001236/0.001236, allocations: 200.1 kB / 18.08 MB, free: 5.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04941/0.04942, allocations: 8.108 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.414e-05, allocations: 2.281 kB / 415.1 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001313/0.001335, allocations: 0.7591 MB / 415.8 MB, free: 21.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.002606, allocations: 1.153 MB / 417 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.002672, allocations: 4 kB / 417 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.744e-05/0.002725, allocations: 3.938 kB / 417 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.002971, allocations: 15.91 kB / 417 MB, free: 19.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.003143, allocations: 35.89 kB / 417 MB, free: 19.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.003293, allocations: 75.7 kB / 417.1 MB, free: 19.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.003422, allocations: 8 kB / 417.1 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.003537, allocations: 27.95 kB / 417.1 MB, free: 19.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.003652, allocations: 31.91 kB / 417.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.003689, allocations: 8 kB / 417.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.915e-05/0.003713, allocations: 4 kB / 417.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.263e-05/0.00381, allocations: 75.31 kB / 417.3 MB, free: 19.61 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.388e-05/0.003839, allocations: 35.56 kB / 417.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.003873, allocations: 0 / 417.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.507e-05/0.003893, allocations: 4 kB / 417.3 MB, free: 19.57 MB / 302.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for for i in 0:8 loop qfU.Umes[10 - i] = qfU.Umes[10 - (1 + i)]; end for