Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001353/0.001353, allocations: 104.3 kB / 16.42 MB, free: 6.422 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.001329/0.001329, allocations: 192.3 kB / 17.36 MB, free: 5.688 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.1/1.1, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.836/1.836, allocations: 390.2 MB / 0.6655 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.869e-06/9.879e-06, allocations: 3.969 kB / 0.9514 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery): time 0.006091/0.006109, allocations: 6.065 MB / 0.9574 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002661/0.008781, allocations: 2.178 MB / 0.9595 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.00893, allocations: 8 kB / 0.9595 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0009363/0.009872, allocations: 418 kB / 0.9599 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.000508/0.01039, allocations: 350.1 kB / 0.9602 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.01102, allocations: 419.1 kB / 0.9606 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.000746/0.01177, allocations: 0.9113 MB / 0.9615 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005803/0.01236, allocations: 0.5269 MB / 0.962 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/0.01264, allocations: 326.7 kB / 0.9623 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.01299, allocations: 334.6 kB / 0.9627 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.387e-05/0.01307, allocations: 60 kB / 0.9627 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.0134, allocations: 303.5 kB / 0.963 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.000596/0.01401, allocations: 0.9739 MB / 0.964 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.000301/0.01432, allocations: 0.6047 MB / 0.9646 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 8.785e-05/0.01441, allocations: 111.6 kB / 0.9647 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.314e-05/0.01446, allocations: 23.88 kB / 0.9647 GB, free: 10.13 MB / 0.7481 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(bat_ideal.cha.SOC >= 0.0, "Warning: Battery is below minimum charge.", AssertionLevel.warning)