Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingBatteries.ChargingBatteries.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.UsingBatteries.ChargingBatteries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.ChargingBatteries") translateModel(PowerSysPro.Examples.UsingBatteries.ChargingBatteries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.ChargingBatteries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 109.4 kB / 17.14 MB, free: 6.07 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.001403/0.001403, allocations: 195.1 kB / 18.08 MB, free: 5.141 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.361/1.361, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05579/0.05579, allocations: 8.107 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.628e-05, allocations: 6.219 kB / 415.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingBatteries.ChargingBatteries): time 0.005227/0.005263, allocations: 4.792 MB / 419.9 MB, free: 16.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.008446, allocations: 1.623 MB / 421.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008245/0.009283, allocations: 12 kB / 421.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.01068, allocations: 0.763 MB / 422.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.01207, allocations: 0.6575 MB / 423 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.01414, allocations: 1.152 MB / 424.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.01591, allocations: 1.433 MB / 425.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005987/0.01652, allocations: 402.5 kB / 425.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008556/0.01738, allocations: 0.5919 MB / 426.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.01843, allocations: 0.771 MB / 427.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000299/0.01874, allocations: 127.9 kB / 427.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.01991, allocations: 0.7883 MB / 428.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009947/0.02092, allocations: 1.608 MB / 429.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003167/0.02124, allocations: 0.9549 MB / 430.8 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.0214, allocations: 143.6 kB / 430.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001351/0.02155, allocations: 19.94 kB / 430.9 MB, free: 5.863 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 (153) * Number of variables: 159 (159) Notification: Performance of Bindings: time 0.003386/0.02494, allocations: 5.686 MB / 436.6 MB, free: 15.98 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002765/0.02522, allocations: 271 kB / 436.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003047/0.02828, allocations: 3.279 MB / 440.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002173/0.02851, allocations: 191.8 kB / 440.3 MB, free: 12.22 MB / 318.1 MB Notification: Performance of Alias: time 0.004758/0.03327, allocations: 4.151 MB / 444.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001551/0.03344, allocations: 139.8 kB / 444.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of Detect States: time 0.0005609/0.03401, allocations: 0.5336 MB / 445.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of Events: time 0.0007145/0.03474, allocations: 0.6106 MB / 445.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0009559/0.0357, allocations: 0.9625 MB / 446.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of Causalize: time 0.003579/0.03929, allocations: 3.276 MB / 450 MB, free: 1.902 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001952/0.04126, allocations: 2.072 MB / 452.1 MB, free: 15.8 MB / 334.1 MB Error: Internal error NBInitialization.main failed to apply modules!