Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.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.OneBatteryOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad") translateModel(PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008832/0.0008834, allocations: 95.92 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 169.2 kB / 16.62 MB, free: 6.887 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.479/1.479, allocations: 223.3 MB / 240.7 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2264/0.2264, allocations: 8.085 MB / 299.8 MB, free: 2.91 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003573, allocations: 8 kB / 362.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 52.52 MB / 415.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad): time 0.004402/0.1411, allocations: 2.681 MB / 418.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.1437, allocations: 1.067 MB / 419.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.1442, allocations: 4 kB / 419.1 MB, free: 5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1453, allocations: 402.9 kB / 419.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007969/0.1461, allocations: 239.1 kB / 419.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.1481, allocations: 0.7787 MB / 420.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000984/0.1491, allocations: 458.3 kB / 421 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.1495, allocations: 119 kB / 421.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.1499, allocations: 199.3 kB / 421.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007859/0.1507, allocations: 303 kB / 421.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.1509, allocations: 20 kB / 421.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007505/0.1516, allocations: 235.8 kB / 421.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.152, allocations: 331.1 kB / 422.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.1523, allocations: 181.2 kB / 422.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.1537, allocations: 1.029 MB / 423.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1537, allocations: 3.938 kB / 423.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1537, allocations: 0 / 423.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.295e-05/0.1538, allocations: 3.938 kB / 423.4 MB, free: 0.7383 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.2809/0.4347, allocations: 1.399 MB / 424.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.4348, allocations: 11.38 kB / 424.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.4354, allocations: 105.9 kB / 424.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.4379, allocations: 0.8255 MB / 425.7 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.438, allocations: 81.48 kB / 425.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.4381, allocations: 28.5 kB / 425.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/0.4389, allocations: 455.4 kB / 426.3 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.4389, allocations: 0.9844 kB / 426.3 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.439, allocations: 17.91 kB / 426.3 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.439, allocations: 13.27 kB / 426.3 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.4396, allocations: 327 kB / 426.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.443, allocations: 2.158 MB / 428.8 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.4441, allocations: 493.5 kB / 429.3 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/0.4445, allocations: 217.3 kB / 429.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.4447, allocations: 93.86 kB / 429.6 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.4447, allocations: 37.58 kB / 429.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.945e-06/0.4448, allocations: 1.547 kB / 429.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002154/0.4469, allocations: 0.8341 MB / 430.4 MB, free: 34.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/0.447, allocations: 240.7 kB / 430.7 MB, free: 34.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.4492, allocations: 1.74 MB / 432.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.4493, allocations: 42.05 kB / 432.5 MB, free: 34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.4496, allocations: 431.8 kB / 432.9 MB, free: 33.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.4497, allocations: 100.6 kB / 433 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.4497, allocations: 4.562 kB / 433 MB, free: 33.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.4498, allocations: 322.1 kB / 433.3 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.4502, allocations: 164.3 kB / 433.5 MB, free: 33.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.4505, allocations: 253.6 kB / 433.7 MB, free: 33.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.4509, allocations: 175.1 kB / 433.9 MB, free: 33.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4509, allocations: 0 / 433.9 MB, free: 33.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001188/0.4521, allocations: 0.6201 MB / 434.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4521, allocations: 6.25 kB / 434.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.4521, allocations: 7.125 kB / 434.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/0.4527, allocations: 143.6 kB / 434.6 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.453, allocations: 81.86 kB / 434.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.4549, allocations: 1.882 MB / 436.6 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.4553, allocations: 46.28 kB / 436.7 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.4553, allocations: 12.12 kB / 436.7 MB, free: 32 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: bat.battery.integrator.q:VARIABLE(flow=false start = bat.battery.SOC_start fixed = true ) "Charge as current integration" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (charging.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004468/0.4558, allocations: 412.3 kB / 437.1 MB, free: 31.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.4559, allocations: 96.06 kB / 437.2 MB, free: 31.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.4571, allocations: 0.6015 MB / 437.8 MB, free: 31.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4572, allocations: 3.75 kB / 437.8 MB, free: 31.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.4572, allocations: 7.828 kB / 437.8 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4572, allocations: 3.156 kB / 437.8 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.4592, allocations: 1.493 MB / 439.3 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.4592, allocations: 1.25 kB / 439.3 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.4595, allocations: 61.64 kB / 439.3 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/0.46, allocations: 142.7 kB / 439.5 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.4601, allocations: 8.156 kB / 439.5 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.4617, allocations: 1.869 MB / 441.3 MB, free: 29.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4617, allocations: 8.016 kB / 441.4 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.4631, allocations: 0.8339 MB / 442.2 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.4634, allocations: 245.5 kB / 442.4 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.994e-05/0.4635, allocations: 10.34 kB / 442.4 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.4638, allocations: 44.3 kB / 442.5 MB, free: 29.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/0.4639, allocations: 34.66 kB / 442.5 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.464, allocations: 13.45 kB / 442.5 MB, free: 29.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001442/0.4654, allocations: 1.262 MB / 443.8 MB, free: 28.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.4654, allocations: 2.844 kB / 443.8 MB, free: 28.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006373/0.4661, allocations: 158.5 kB / 444 MB, free: 28.69 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (bat.battery.integrator.q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006923/0.4668, allocations: 281.6 kB / 444.2 MB, free: 28.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.4678, allocations: 0.5239 MB / 444.7 MB, free: 28.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4679, allocations: 3.094 kB / 444.8 MB, free: 28.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005702/0.4684, allocations: 344.9 kB / 445.1 MB, free: 28.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.469, allocations: 79.91 kB / 445.2 MB, free: 28.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.472, allocations: 2.085 MB / 447.3 MB, free: 27.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.4725, allocations: 1.07 MB / 448.3 MB, free: 26.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000286/0.4728, allocations: 134.9 kB / 448.5 MB, free: 26.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.4729, allocations: 55.91 kB / 448.5 MB, free: 26.27 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.473, allocations: 0 / 448.5 MB, free: 26.27 MB / 350.1 MB Notification: Performance of Templates: time 0.01627/0.4892, allocations: 9.942 MB / 458.5 MB, free: 25.6 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.pipe 2>&1) Environment - environmentSimulation: