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.0008826/0.0008826, allocations: 105.7 kB / 17.08 MB, free: 6.078 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.0009376/0.0009376, allocations: 195.5 kB / 18.03 MB, free: 5.164 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.23/1.23, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0516/0.0516, allocations: 8.105 MB / 300 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/2.871e-05, allocations: 5.375 kB / 363.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Batteries.Examples.BatteryDischargeCharge): time 0.003448/0.003494, allocations: 2.384 MB / 365.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007389/0.004248, allocations: 0.51 MB / 366 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.565e-05/0.004354, allocations: 7.938 kB / 366 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.00468, allocations: 95.44 kB / 366.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.004875, allocations: 79.45 kB / 366.2 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.005082, allocations: 87.78 kB / 366.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.005373, allocations: 319 kB / 366.6 MB, free: 3.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.005578, allocations: 111.2 kB / 366.7 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.005695, allocations: 115.6 kB / 366.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.00587, allocations: 135.5 kB / 366.9 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.005913, allocations: 35.94 kB / 367 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.00613, allocations: 147.8 kB / 367.1 MB, free: 3.434 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000323/0.006461, allocations: 415.6 kB / 367.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001253/0.006594, allocations: 248.3 kB / 367.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.006641, allocations: 39.88 kB / 367.8 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.54e-05/0.006672, allocations: 8 kB / 367.8 MB, free: 2.73 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.001144/0.00782, allocations: 1.322 MB / 369.1 MB, free: 1.297 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.965e-05/0.007896, allocations: 51.94 kB / 369.2 MB, free: 1.246 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005361/0.008439, allocations: 0.6281 MB / 369.8 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of simplify1: time 4.383e-05/0.008492, allocations: 43.94 kB / 369.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of Alias: time 0.1254/0.1339, allocations: 0.9722 MB / 370.8 MB, free: 53.58 MB / 302.1 MB Notification: Performance of simplify2: time 5.685e-05/0.134, allocations: 31.59 kB / 370.9 MB, free: 53.58 MB / 302.1 MB Notification: Performance of Events: time 0.0001995/0.1342, allocations: 129.3 kB / 371 MB, free: 53.58 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002068/0.1344, allocations: 155.4 kB / 371.1 MB, free: 53.55 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001692/0.1346, allocations: 203 kB / 371.3 MB, free: 53.44 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006766/0.1352, allocations: 0.8522 MB / 372.2 MB, free: 53.32 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003101/0.1356, allocations: 421.3 kB / 372.6 MB, free: 53.26 MB / 302.1 MB Notification: Performance of Inline: time 0.00079/0.1364, allocations: 0.8704 MB / 373.5 MB, free: 53.18 MB / 302.1 MB Notification: Performance of Partitioning: time 3.842e-05/0.1364, allocations: 53.84 kB / 373.5 MB, free: 53.15 MB / 302.1 MB Notification: Performance of Cleanup: time 2.429e-05/0.1364, allocations: 27.66 kB / 373.6 MB, free: 53.15 MB / 302.1 MB Notification: Performance of Causalize: time 0.002114/0.1386, allocations: 2.664 MB / 376.2 MB, free: 52.95 MB / 302.1 MB Notification: Performance of Tearing: time 0.000256/0.1388, allocations: 374.1 kB / 376.6 MB, free: 52.71 MB / 302.1 MB Notification: Performance of Initialization: time 4.71e-07/0.1388, allocations: 1.844 kB / 376.6 MB, free: 52.71 MB / 302.1 MB Notification: Performance of Tearing: time 0.0001919/0.139, allocations: 386.2 kB / 377 MB, free: 52.48 MB / 302.1 MB Notification: Performance of Categorize: time 1.26e-05/0.1391, allocations: 3.219 kB / 377 MB, free: 52.48 MB / 302.1 MB Notification: Performance of Solve: time 0.0002414/0.1393, allocations: 393.8 kB / 377.3 MB, free: 52.2 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0002045/0.1395, allocations: 354.8 kB / 377.7 MB, free: 51.97 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {battery.SOC} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 11 (11) {pulseSeries.on1, pulseSeries.on2, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:27, array:3, record:1) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 3.402e-05/0.1396, allocations: 31.7 kB / 377.7 MB, free: 51.96 MB / 302.1 MB Notification: Performance of SimCode: time 0.002034/0.1416, allocations: 2.18 MB / 379.9 MB, free: 50.96 MB / 302.1 MB Notification: Performance of Templates: time 0.007771/0.1494, allocations: 4.051 MB / 384 MB, free: 50.74 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeCharge.makefile (rm -f PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeCharge.pipe ; mkfifo PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeCharge.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeCharge.pipe >> ../files/PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeCharge.sim & ./PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeCharge -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Batteries.Examples.BatteryDischargeCharge.pipe 2>&1)