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.001221/0.001221, allocations: 107.3 kB / 17.14 MB, free: 5.938 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.001156/0.001157, allocations: 193.4 kB / 18.07 MB, free: 5.016 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.356/1.356, 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.05301/0.05301, allocations: 8.096 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.276e-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.004635/0.004666, allocations: 4.788 MB / 419.9 MB, free: 16.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.00732, allocations: 1.619 MB / 421.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.007626, allocations: 12 kB / 421.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.008661, allocations: 0.7629 MB / 422.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007797/0.009533, allocations: 0.6537 MB / 422.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.01131, allocations: 1.152 MB / 424.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.0126, allocations: 1.433 MB / 425.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004532/0.01307, allocations: 402.5 kB / 425.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.01349, allocations: 0.5919 MB / 426.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.01412, allocations: 0.771 MB / 427.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.01424, allocations: 124 kB / 427.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009137/0.01516, allocations: 0.7845 MB / 428.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007547/0.01593, allocations: 1.62 MB / 429.8 MB, free: 7 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003833/0.01632, allocations: 0.9549 MB / 430.8 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.01648, allocations: 151.6 kB / 430.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001491/0.01664, allocations: 12 kB / 430.9 MB, free: 5.871 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.003897/0.02054, allocations: 5.682 MB / 436.6 MB, free: 0 / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003247/0.02088, allocations: 259 kB / 436.9 MB, free: 15.75 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003302/0.02419, allocations: 3.275 MB / 440.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of simplify1: time 0.000239/0.02444, allocations: 195.8 kB / 440.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of Alias: time 0.005042/0.02949, allocations: 4.151 MB / 444.5 MB, free: 7.816 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002007/0.02972, allocations: 143.8 kB / 444.6 MB, free: 7.676 MB / 318.1 MB Notification: Performance of Events: time 0.000755/0.03048, allocations: 0.6145 MB / 445.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of Detect States: time 0.0006789/0.03117, allocations: 0.6468 MB / 445.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001074/0.03225, allocations: 0.9663 MB / 446.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of Causalize: time 0.003694/0.03595, allocations: 3.27 MB / 450.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.002/0.03797, allocations: 2.079 MB / 452.2 MB, free: 15.69 MB / 334.1 MB Error: Internal error NBInitialization.main failed to apply modules!