Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Components.myBattery.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Components.myBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Components.myBattery") translateModel(PowerSysPro.Components.myBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Components.myBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 180.7 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 239.7 MB, free: 1.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.0008603, allocations: 94.89 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04138/0.04138, allocations: 8.116 MB / 350.1 MB, free: 2.707 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 7.75 kB / 413.1 MB, free: 89.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.106, allocations: 52.53 MB / 465.6 MB, free: 42.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3666/0.4727, allocations: 81.88 MB / 0.5347 GB, free: 16.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.4729, allocations: 58.25 kB / 0.5347 GB, free: 16.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02354/0.4965, allocations: 10.67 MB / 0.5451 GB, free: 31.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4965, allocations: 3.938 kB / 0.5451 GB, free: 31.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.4965, allocations: 11.66 kB / 0.5452 GB, free: 31.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001692/0.4982, allocations: 1.145 MB / 0.5463 GB, free: 30.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4983, allocations: 7.625 kB / 0.5463 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.4984, allocations: 104.3 kB / 0.5464 GB, free: 30.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009048/0.4993, allocations: 0.7204 MB / 0.5471 GB, free: 30.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.4994, allocations: 71.06 kB / 0.5471 GB, free: 30.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.4994, allocations: 23.2 kB / 0.5472 GB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.4999, allocations: 302.3 kB / 0.5475 GB, free: 30.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5, allocations: 0 / 0.5475 GB, free: 30.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.5, allocations: 7.875 kB / 0.5475 GB, free: 30.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5, allocations: 3.875 kB / 0.5475 GB, free: 30.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.5004, allocations: 185.8 kB / 0.5476 GB, free: 30.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.5024, allocations: 1.334 MB / 0.5489 GB, free: 29.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/0.5031, allocations: 337.9 kB / 0.5493 GB, free: 29.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009871/0.5041, allocations: 0.6901 MB / 0.5499 GB, free: 29.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.5041, allocations: 34.38 kB / 0.55 GB, free: 29.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.5041, allocations: 0 / 0.55 GB, free: 29.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007214/0.5048, allocations: 350.8 kB / 0.5503 GB, free: 29.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.5049, allocations: 235.1 kB / 0.5505 GB, free: 28.87 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:54:7-55:59:writable] Warning: Parameter SOC_start has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:53:7-53:73:writable] Warning: Parameter Np has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:52:7-52:71:writable] Warning: Parameter Ns has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:425:9-425:73:writable] Warning: Parameter UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.5066, allocations: 1.434 MB / 0.5519 GB, free: 28.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.5067, allocations: 25.7 kB / 0.552 GB, free: 28.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.507, allocations: 419.5 kB / 0.5524 GB, free: 28.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.507, allocations: 50.42 kB / 0.5524 GB, free: 28.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.507, allocations: 0 / 0.5524 GB, free: 28.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.5071, allocations: 311.7 kB / 0.5527 GB, free: 28.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.5073, allocations: 75.97 kB / 0.5528 GB, free: 28.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.5076, allocations: 162.1 kB / 0.5529 GB, free: 28.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.5078, allocations: 85.56 kB / 0.553 GB, free: 28.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5078, allocations: 0.9062 kB / 0.553 GB, free: 28.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005998/0.5084, allocations: 303.4 kB / 0.5533 GB, free: 28.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.5084, allocations: 11.89 kB / 0.5533 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.5084, allocations: 10.56 kB / 0.5533 GB, free: 28.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5085, allocations: 7.328 kB / 0.5533 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007973/0.5093, allocations: 120.7 kB / 0.5534 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.5093, allocations: 3.766 kB / 0.5535 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.5096, allocations: 41.33 kB / 0.5535 GB, free: 27.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.5096, allocations: 7.141 kB / 0.5535 GB, free: 27.99 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: battery.integrator.q:VARIABLE(start = 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: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004654/0.5101, allocations: 354.1 kB / 0.5538 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.5102, allocations: 83.81 kB / 0.5539 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006542/0.5108, allocations: 319.5 kB / 0.5542 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.5109, allocations: 1.344 kB / 0.5542 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5109, allocations: 0 / 0.5542 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5109, allocations: 1.188 kB / 0.5542 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.5116, allocations: 0.6057 MB / 0.5548 GB, free: 27.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5116, allocations: 3.188 kB / 0.5548 GB, free: 27.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/0.5123, allocations: 115.4 kB / 0.5549 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5124, allocations: 1.281 kB / 0.5549 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.5124, allocations: 8.547 kB / 0.5549 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5124, allocations: 5.047 kB / 0.5549 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5124, allocations: 0 / 0.5549 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.5132, allocations: 461.7 kB / 0.5554 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004113/0.5137, allocations: 241.7 kB / 0.5556 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.967e-05/0.5138, allocations: 11.38 kB / 0.5556 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.514, allocations: 33.22 kB / 0.5557 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.5141, allocations: 25.09 kB / 0.5557 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.5141, allocations: 13.56 kB / 0.5557 GB, free: 27.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001308/0.5154, allocations: 1.117 MB / 0.5568 GB, free: 27.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5154, allocations: 0 / 0.5568 GB, free: 27.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004702/0.5159, allocations: 127.3 kB / 0.5569 GB, free: 27.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006597/0.5166, allocations: 276.8 kB / 0.5572 GB, free: 26.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.5171, allocations: 184 kB / 0.5573 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5171, allocations: 1.656 kB / 0.5573 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.5173, allocations: 94.86 kB / 0.5574 GB, free: 26.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.5177, allocations: 65.89 kB / 0.5575 GB, free: 26.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.5206, allocations: 1.81 MB / 0.5593 GB, free: 26.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.5213, allocations: 1.018 MB / 0.5603 GB, free: 25.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002859/0.5216, allocations: 136.5 kB / 0.5604 GB, free: 25.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.5217, allocations: 54.83 kB / 0.5604 GB, free: 25.52 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5217, allocations: 4 kB / 0.5604 GB, free: 25.52 MB / 378.7 MB Notification: Performance of Templates: time 0.01338/0.5351, allocations: 7.251 MB / 0.5675 GB, free: 24.59 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Components.myBattery.makefile (rm -f PowerSysPro_PowerSysPro.Components.myBattery.pipe ; mkfifo PowerSysPro_PowerSysPro.Components.myBattery.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Components.myBattery.pipe >> ../files/PowerSysPro_PowerSysPro.Components.myBattery.sim & ./PowerSysPro_PowerSysPro.Components.myBattery -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Components.myBattery.pipe 2>&1)