Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.0011/0.0011, allocations: 113.7 kB / 16.43 MB, free: 6.523 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.001069/0.001069, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.12/1.12, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.203/2.203, allocations: 469.8 MB / 0.7431 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.828e-06/9.838e-06, allocations: 2.5 kB / 1.066 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery): time 0.00627/0.006288, allocations: 6.069 MB / 1.072 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.009043, allocations: 2.185 MB / 1.074 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.009199, allocations: 8 kB / 1.074 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009846/0.01019, allocations: 430 kB / 1.074 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005318/0.01073, allocations: 338.1 kB / 1.075 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.01139, allocations: 420.8 kB / 1.075 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007643/0.01216, allocations: 0.9114 MB / 1.076 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000506/0.01268, allocations: 399.8 kB / 1.076 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.01297, allocations: 318.8 kB / 1.077 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.01332, allocations: 338.5 kB / 1.077 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.834e-05/0.01342, allocations: 64 kB / 1.077 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.01379, allocations: 295.6 kB / 1.077 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006017/0.0144, allocations: 0.9816 MB / 1.078 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003116/0.01472, allocations: 0.611 MB / 1.079 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.449e-05/0.01481, allocations: 99.69 kB / 1.079 GB, free: 220 kB / 0.8419 GB Notification: Performance of FrontEnd: time 5.454e-05/0.01487, allocations: 27.75 kB / 1.079 GB, free: 192 kB / 0.8419 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat_ideal.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)