Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Batteries.Examples.CCCV_StackRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.capacitor.1..v|stack.cell.1, 1..cell.capacitor.2..v|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.capacitor.1..v|stack.cell.1, 2..cell.capacitor.2..v|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.capacitor.1..v|stack.cell.2, 1..cell.capacitor.2..v|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.capacitor.1..v|stack.cell.2, 2..cell.capacitor.2..v|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.capacitor.1..v|stack.cell.3, 1..cell.capacitor.2..v|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.capacitor.1..v|stack.cell.3, 2..cell.capacitor.2..v|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_StackRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.capacitor.1..v|stack.cell.1, 1..cell.capacitor.2..v|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.capacitor.1..v|stack.cell.1, 2..cell.capacitor.2..v|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.capacitor.1..v|stack.cell.2, 1..cell.capacitor.2..v|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.capacitor.1..v|stack.cell.2, 2..cell.capacitor.2..v|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.capacitor.1..v|stack.cell.3, 1..cell.capacitor.2..v|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.capacitor.1..v|stack.cell.3, 2..cell.capacitor.2..v|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.31 kB / 307.6 MB, free: 0.6523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09742, allocations: 50.53 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.01283/0.1103, allocations: 11.27 MB / 369.4 MB, free: 2.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1658/0.2761, allocations: 3.925 MB / 373.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008663/0.277, allocations: 31.62 kB / 373.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00788/0.285, allocations: 5.674 MB / 379 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.2866, allocations: 0.5168 MB / 379.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.2877, allocations: 0.513 MB / 380.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01811/0.3058, allocations: 21.23 MB / 401.3 MB, free: 36 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.3167, allocations: 9.446 MB / 410.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05211/0.3689, allocations: 48.43 MB / 459.2 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006374/0.3753, allocations: 3.902 MB / 463.1 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002381/0.3777, allocations: 0.9688 MB / 464 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/0.3807, allocations: 1.033 MB / 465.1 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003709/0.3844, allocations: 3.843 MB / 468.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00757/0.392, allocations: 5.178 MB / 474.1 MB, free: 7.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01579/0.4078, allocations: 17.47 MB / 491.6 MB, free: 6.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4078, allocations: 0 / 491.6 MB, free: 6.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4079, allocations: 0 / 491.6 MB, free: 6.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003869/0.4082, allocations: 0 / 491.6 MB, free: 6.285 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1013 * Number of variables: 1013 Notification: Performance of Generate backend data structure: time 0.02896/0.4372, allocations: 12.46 MB / 0.4922 GB, free: 9.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4373, allocations: 11.97 kB / 0.4922 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.4398, allocations: 1.052 MB / 0.4933 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02036/0.4602, allocations: 11.06 MB / 0.5041 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001794/0.462, allocations: 0.9678 MB / 0.505 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.4633, allocations: 399.9 kB / 0.5054 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.4781, allocations: 8.54 MB / 0.5137 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/0.4782, allocations: 3.938 kB / 0.5137 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005784/0.4788, allocations: 180 kB / 0.5139 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.4788, allocations: 96 kB / 0.514 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/0.491, allocations: 7.142 MB / 0.521 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3605/0.8515, allocations: 28.77 MB / 0.5491 GB, free: 127.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009979/0.8615, allocations: 6.084 MB / 0.555 GB, free: 125.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006076/0.8676, allocations: 4.288 MB / 0.5592 GB, free: 123.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.8678, allocations: 28.7 kB / 0.5592 GB, free: 123.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/0.8679, allocations: 84.12 kB / 0.5593 GB, free: 123.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=231): time 3.998e-06/0.8679, allocations: 0 / 0.5593 GB, free: 123.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.01875/0.8866, allocations: 9.804 MB / 0.5689 GB, free: 119.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002547/0.8869, allocations: 1.3 MB / 0.5701 GB, free: 118.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02288/0.9098, allocations: 14.84 MB / 0.5846 GB, free: 104.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008317/0.9107, allocations: 77.7 kB / 0.5847 GB, free: 104.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004987/0.9157, allocations: 4.451 MB / 0.589 GB, free: 100.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.9168, allocations: 0.8112 MB / 0.5898 GB, free: 99.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.9179, allocations: 0.6125 MB / 0.5904 GB, free: 98.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.9179, allocations: 305.1 kB / 0.5907 GB, free: 98.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004127/0.9221, allocations: 2.96 MB / 0.5936 GB, free: 95.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004661/0.9268, allocations: 4.016 MB / 0.5975 GB, free: 91.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008109/0.9349, allocations: 6.086 MB / 0.6035 GB, free: 84.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.935, allocations: 4 kB / 0.6035 GB, free: 84.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01272/0.9477, allocations: 7.679 MB / 0.611 GB, free: 77.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.9478, allocations: 8 kB / 0.611 GB, free: 77.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.9478, allocations: 16 kB / 0.611 GB, free: 77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.949, allocations: 0.555 MB / 0.6115 GB, free: 76.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/0.9522, allocations: 1.013 MB / 0.6125 GB, free: 75.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/0.9582, allocations: 6.385 MB / 0.6188 GB, free: 68.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005761/0.964, allocations: 0.8368 MB / 0.6196 GB, free: 68.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005501/0.9645, allocations: 99.94 kB / 0.6197 GB, free: 67.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 14 (cccvCharger.CV,energy.local_reset,stack.cell[3,2].limIntegrator.local_reset,stack.cell[3,2].cell.limIntegrator.local_reset,stack.cell[3,1].limIntegrator.local_reset,stack.cell[3,1].cell.limIntegrator.local_reset,stack.cell[2,2].limIntegrator.local_reset,stack.cell[2,2].cell.limIntegrator.local_reset,stack.cell[2,1].limIntegrator.local_reset,stack.cell[2,1].cell.limIntegrator.local_reset,stack.cell[1,2].limIntegrator.local_reset,stack.cell[1,2].cell.limIntegrator.local_reset,stack.cell[1,1].limIntegrator.local_reset,stack.cell[1,1].cell.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (308): * Single equations (assignments): 307 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,38)} Notification: Performance of prepare postOptimizeDAE: time 0.006706/0.9713, allocations: 4.801 MB / 0.6244 GB, free: 63.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002949/0.9742, allocations: 0.8719 MB / 0.6252 GB, free: 62.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.9781, allocations: 1.31 MB / 0.6265 GB, free: 60.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.9781, allocations: 23.94 kB / 0.6265 GB, free: 60.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-05/0.9782, allocations: 0 / 0.6265 GB, free: 60.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.358e-05/0.9782, allocations: 11.95 kB / 0.6265 GB, free: 60.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03204/1.01, allocations: 15.96 MB / 0.6421 GB, free: 44.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.01, allocations: 0 / 0.6421 GB, free: 44.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00299/1.013, allocations: 0.8426 MB / 0.6429 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009957/1.014, allocations: 460.5 kB / 0.6434 GB, free: 43.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003523/1.015, allocations: 79.95 kB / 0.6435 GB, free: 43.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/1.02, allocations: 5.493 MB / 0.6488 GB, free: 37.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.02, allocations: 0 / 0.6488 GB, free: 37.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/1.035, allocations: 9.824 MB / 0.6584 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005251/1.04, allocations: 2.227 MB / 0.6606 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002594/1.043, allocations: 87.97 kB / 0.6607 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005065/1.048, allocations: 0.8584 MB / 0.6615 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009293/1.049, allocations: 457.2 kB / 0.662 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003185/1.049, allocations: 66.17 kB / 0.662 GB, free: 24.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.02141/1.07, allocations: 10.58 MB / 0.6724 GB, free: 13.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.12e-07/1.07, allocations: 0 / 0.6724 GB, free: 13.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006881/1.077, allocations: 1.552 MB / 0.6739 GB, free: 12.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 25 (stack.cell[1,1].cell.limIntegrator.y,stack.cell[1,1].cell.capacitor[1].v,stack.cell[1,1].cell.capacitor[2].v,stack.cell[1,1].limIntegrator.y,stack.cell[1,2].cell.limIntegrator.y,stack.cell[1,2].cell.capacitor[1].v,stack.cell[1,2].cell.capacitor[2].v,stack.cell[1,2].limIntegrator.y,stack.cell[2,1].cell.limIntegrator.y,stack.cell[2,1].cell.capacitor[1].v,stack.cell[2,1].cell.capacitor[2].v,stack.cell[2,1].limIntegrator.y,stack.cell[2,2].cell.limIntegrator.y,stack.cell[2,2].cell.capacitor[1].v,stack.cell[2,2].cell.capacitor[2].v,stack.cell[2,2].limIntegrator.y,stack.cell[3,1].cell.limIntegrator.y,stack.cell[3,1].cell.capacitor[1].v,stack.cell[3,1].cell.capacitor[2].v,stack.cell[3,1].limIntegrator.y,stack.cell[3,2].cell.limIntegrator.y,stack.cell[3,2].cell.capacitor[1].v,stack.cell[3,2].cell.capacitor[2].v,stack.cell[3,2].limIntegrator.y,energy.y) * Number of discrete variables: 1 (cccvCharger.CV) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001894/1.079, allocations: 0.5708 MB / 0.6744 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01893/1.098, allocations: 12.7 MB / 0.6868 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.597e-05/1.098, allocations: 10.98 kB / 0.6868 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006324/1.105, allocations: 3.38 MB / 0.6901 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01381/1.118, allocations: 2.188 MB / 0.6923 GB, free: 9.617 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2424/1.361, allocations: 24.02 MB / 0.7157 GB, free: 139.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/1.373, allocations: 6.71 MB / 0.7223 GB, free: 137.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003011/1.376, allocations: 476.4 kB / 0.7227 GB, free: 137.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/1.376, allocations: 0 / 0.7227 GB, free: 137.6 MB / 462.1 MB Notification: Performance of Templates: time 0.4445/1.82, allocations: 198.7 MB / 0.9168 GB, free: 137.2 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.makefile (rm -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.sim & ./Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe 2>&1)