Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 115.2 kB / 17.14 MB, free: 5.922 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.001253/0.001254, allocations: 197.3 kB / 18.08 MB, free: 5 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.335/1.335, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05085/0.05085, allocations: 8.097 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.382e-05, allocations: 2.281 kB / 415.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002146/0.002177, allocations: 1.446 MB / 416.5 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.003745, allocations: 1.446 MB / 418 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.003829, allocations: 0 / 418 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.004148, allocations: 115.4 kB / 418.1 MB, free: 18.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.004547, allocations: 147.2 kB / 418.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.00579, allocations: 0.9062 MB / 419.2 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.006074, allocations: 243 kB / 419.4 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.006221, allocations: 53.39 kB / 419.4 MB, free: 17.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.006294, allocations: 79.64 kB / 419.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.006451, allocations: 111.5 kB / 419.6 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.006485, allocations: 16 kB / 419.6 MB, free: 17.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.006787, allocations: 231.7 kB / 419.9 MB, free: 16.97 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001893/0.006984, allocations: 332.3 kB / 420.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.333e-05/0.007064, allocations: 212.9 kB / 420.4 MB, free: 16.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.007101, allocations: 27.88 kB / 420.4 MB, free: 16.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.369e-05/0.007129, allocations: 7.938 kB / 420.4 MB, free: 16.39 MB / 302.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(load.degradedMode == false, ">>> Switching to the impedance mode for " + "DegradedModeForLoads.load", AssertionLevel.warning)