Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat_loss_acdc.SOC|bat_ideal.SOC|bat.SOC",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bat_loss_acdc.SOC|bat_ideal.SOC|bat.SOC",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 116.3 kB / 16.43 MB, free: 6.031 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.001068/0.001068, allocations: 186.9 kB / 17.36 MB, free: 5.621 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.142/1.142, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.166/2.166, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.268e-05, allocations: 2.5 kB / 1.055 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery): time 0.00646/0.00648, allocations: 6.057 MB / 1.061 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003118/0.009609, allocations: 2.189 MB / 1.063 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.009909, allocations: 11.94 kB / 1.063 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.011, allocations: 430 kB / 1.063 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006857/0.01169, allocations: 334.1 kB / 1.063 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.01248, allocations: 412.5 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008872/0.01338, allocations: 0.9153 MB / 1.065 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006483/0.01403, allocations: 0.5308 MB / 1.065 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.0144, allocations: 318.8 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.01485, allocations: 330.6 kB / 1.066 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.01496, allocations: 64 kB / 1.066 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.0154, allocations: 311.5 kB / 1.066 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006002/0.01601, allocations: 0.9699 MB / 1.067 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003526/0.01637, allocations: 0.6163 MB / 1.068 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.01651, allocations: 99.69 kB / 1.068 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 5.661e-05/0.01657, allocations: 23.81 kB / 1.068 GB, free: 10.14 MB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat_ideal.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)