Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeCharge.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.Batteries.Examples.BatteryDischargeCharge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeCharge") translateModel(PowerSysPro.Batteries.Examples.BatteryDischargeCharge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeCharge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 118 kB / 17.15 MB, free: 5.93 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.001207/0.001207, allocations: 194.6 kB / 18.08 MB, free: 5.008 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.265/1.265, allocations: 222.9 MB / 241.8 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04671/0.04671, allocations: 8.108 MB / 300 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.501e-05, allocations: 5.656 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Batteries.Examples.BatteryDischargeCharge): time 0.002553/0.002576, allocations: 2.387 MB / 417.5 MB, free: 19.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006495/0.003237, allocations: 0.4982 MB / 418 MB, free: 18.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.003348, allocations: 4 kB / 418.1 MB, free: 18.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.003694, allocations: 95.44 kB / 418.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.003912, allocations: 87.45 kB / 418.2 MB, free: 18.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.004122, allocations: 83.78 kB / 418.3 MB, free: 18.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.004377, allocations: 326.9 kB / 418.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.004567, allocations: 111.2 kB / 418.7 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.004673, allocations: 131.5 kB / 418.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.004833, allocations: 123.5 kB / 419 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.004878, allocations: 28 kB / 419 MB, free: 17.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.005087, allocations: 151.8 kB / 419.2 MB, free: 17.68 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002528/0.005347, allocations: 411.6 kB / 419.6 MB, free: 17.28 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001122/0.005465, allocations: 240.5 kB / 419.8 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.005512, allocations: 39.88 kB / 419.8 MB, free: 17 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.706e-05/0.005553, allocations: 7.938 kB / 419.8 MB, free: 16.99 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: 40 (40) * Number of variables: 40 (40) Notification: Performance of Bindings: time 0.0009643/0.006522, allocations: 1.328 MB / 421.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.438e-05/0.006615, allocations: 71.77 kB / 421.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000474/0.007096, allocations: 0.6165 MB / 421.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simplify1: time 4.389e-05/0.007147, allocations: 43.94 kB / 421.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Alias: time 0.001008/0.00816, allocations: 1.107 MB / 423 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simplify2: time 2.414e-05/0.008195, allocations: 31.95 kB / 423 MB, free: 13.55 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001267/0.008327, allocations: 108.1 kB / 423.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Events: time 0.000148/0.008482, allocations: 134.2 kB / 423.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001313/0.008621, allocations: 210.4 kB / 423.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004369/0.009064, allocations: 0.5845 MB / 424.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002574/0.00933, allocations: 412.7 kB / 424.5 MB, free: 11.98 MB / 302.1 MB Error: Internal error NBInitialization.main failed to apply modules!