Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery.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.LoadRescuedByBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery") translateModel(PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 119.3 kB / 17.15 MB, free: 5.934 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.001528/0.001528, allocations: 193.2 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.361/1.361, allocations: 222.9 MB / 241.8 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05114/0.05114, allocations: 8.095 MB / 300 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.491e-05/3.493e-05, allocations: 2.281 kB / 415.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery): time 0.005339/0.005385, allocations: 4.684 MB / 419.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.008064, allocations: 1.428 MB / 421.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006317/0.008707, allocations: 12 kB / 421.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009447/0.00966, allocations: 0.5057 MB / 421.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007545/0.01042, allocations: 421.8 kB / 422.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.01202, allocations: 1.081 MB / 423.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007932/0.01282, allocations: 1.012 MB / 424.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.01317, allocations: 323.3 kB / 424.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.01341, allocations: 386.6 kB / 424.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004673/0.01388, allocations: 0.5371 MB / 425.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.01398, allocations: 80 kB / 425.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000749/0.01473, allocations: 0.7454 MB / 426.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005612/0.0153, allocations: 1.314 MB / 427.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000257/0.01557, allocations: 0.8279 MB / 428.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.289e-05/0.01567, allocations: 107.7 kB / 428.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.38e-05/0.01577, allocations: 12 kB / 428.6 MB, free: 8.277 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: 144 (129) * Number of variables: 144 (144) Notification: Performance of Bindings: time 0.002529/0.0183, allocations: 4.533 MB / 433.1 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001749/0.01848, allocations: 235.6 kB / 433.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002519/0.02101, allocations: 3.599 MB / 436.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002195/0.02124, allocations: 223.7 kB / 437.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of Alias: time 0.003176/0.02443, allocations: 2.56 MB / 439.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001997/0.02464, allocations: 195.8 kB / 439.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of Detect States: time 0.0006107/0.02526, allocations: 0.5874 MB / 440.5 MB, free: 12 MB / 318.1 MB Notification: Performance of Events: time 0.0004844/0.02575, allocations: 437.6 kB / 440.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0009834/0.02675, allocations: 0.9614 MB / 441.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of Causalize: time 0.00441/0.03116, allocations: 3.996 MB / 445.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001989/0.03316, allocations: 2.253 MB / 448.1 MB, free: 4.156 MB / 318.1 MB Error: Internal error NBInitialization.main failed to apply modules!