Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeChargeFromMSL.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.BatteryDischargeChargeFromMSL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeChargeFromMSL") translateModel(PowerSysPro.Batteries.Examples.BatteryDischargeChargeFromMSL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeChargeFromMSL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 115.6 kB / 17.14 MB, free: 5.918 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.001242/0.001242, allocations: 194.5 kB / 18.08 MB, free: 4.996 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.29/1.29, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04387/0.04387, allocations: 8.099 MB / 300 MB, free: 6.598 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.854e-05, allocations: 5.516 kB / 415.2 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Batteries.Examples.BatteryDischargeChargeFromMSL): time 0.003708/0.003735, allocations: 3.346 MB / 418.5 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.005381, allocations: 1.333 MB / 419.8 MB, free: 16.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.005562, allocations: 4 kB / 419.8 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.006083, allocations: 179 kB / 420 MB, free: 16.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.006424, allocations: 182.8 kB / 420.2 MB, free: 16.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.006885, allocations: 238.8 kB / 420.4 MB, free: 16.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.007392, allocations: 0.6273 MB / 421.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.00764, allocations: 164.3 kB / 421.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.007823, allocations: 219.2 kB / 421.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.008054, allocations: 223 kB / 421.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.599e-05/0.008106, allocations: 40 kB / 421.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.00837, allocations: 227.7 kB / 421.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003654/0.008744, allocations: 0.7225 MB / 422.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001451/0.008895, allocations: 457.3 kB / 423.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.008962, allocations: 75.81 kB / 423.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.554e-05/0.009023, allocations: 19.88 kB / 423.2 MB, free: 13.63 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: 65 (65) * Number of variables: 65 (65) Notification: Performance of Bindings: time 0.001417/0.01045, allocations: 2.33 MB / 425.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.742e-05/0.01054, allocations: 83.88 kB / 425.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007215/0.01127, allocations: 0.926 MB / 426.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplify1: time 6.088e-05/0.01134, allocations: 75.91 kB / 426.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Alias: time 0.001584/0.01293, allocations: 1.751 MB / 428.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simplify2: time 4.033e-05/0.01298, allocations: 47.94 kB / 428.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of Events: time 0.0002274/0.01321, allocations: 200.9 kB / 428.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002296/0.01345, allocations: 225.1 kB / 428.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002182/0.01368, allocations: 289.7 kB / 429.1 MB, free: 7.348 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007441/0.01443, allocations: 0.8679 MB / 430 MB, free: 6.414 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004061/0.01484, allocations: 0.6155 MB / 430.6 MB, free: 5.77 MB / 302.1 MB Error: Internal error NBInitialization.main failed to apply modules!