Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.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) 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(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_4.0.0_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_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 108.6 kB / 17.71 MB, free: 5.363 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.001973/0.001973, allocations: 192.1 kB / 18.64 MB, free: 4.441 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.319/1.319, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 43.94 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2503, allocations: 49.43 MB / 401.3 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_StackRC): time 0.01104/0.2614, allocations: 11.23 MB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005343/0.2668, allocations: 3.774 MB / 416.3 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008817/0.2677, allocations: 35.88 kB / 416.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007269/0.275, allocations: 5.787 MB / 422.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.2777, allocations: 496.6 kB / 422.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.2794, allocations: 0.51 MB / 423.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02068/0.3, allocations: 21.61 MB / 444.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.3102, allocations: 9.564 MB / 454.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04969/0.3599, allocations: 49.82 MB / 0.4923 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005451/0.3654, allocations: 3.896 MB / 0.4961 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002262/0.3677, allocations: 0.9609 MB / 0.4971 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.3709, allocations: 1.027 MB / 0.4981 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004208/0.3751, allocations: 3.842 MB / 0.5018 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007916/0.3831, allocations: 5.178 MB / 0.5069 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01579/0.3989, allocations: 17.58 MB / 0.5241 GB, free: 1.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3989, allocations: 0 / 0.5241 GB, free: 1.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3989, allocations: 0 / 0.5241 GB, free: 1.266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004741/0.3994, allocations: 3.938 kB / 0.5241 GB, free: 1.262 MB / 446.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.02772/0.4272, allocations: 12.42 MB / 0.5362 GB, free: 4.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4272, allocations: 12.03 kB / 0.5362 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00327/0.4305, allocations: 1.043 MB / 0.5372 GB, free: 3.664 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3701/0.8006, allocations: 11.14 MB / 0.5481 GB, free: 124.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005069/0.8012, allocations: 0.55 MB / 0.5486 GB, free: 124.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.8024, allocations: 394.6 kB / 0.549 GB, free: 124 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.8156, allocations: 8.553 MB / 0.5574 GB, free: 117.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.889e-05/0.8157, allocations: 7.281 kB / 0.5574 GB, free: 117.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005777/0.8163, allocations: 176 kB / 0.5575 GB, free: 117.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.8163, allocations: 99.94 kB / 0.5576 GB, free: 117.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.8266, allocations: 7.138 MB / 0.5646 GB, free: 110.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04042/0.867, allocations: 28.56 MB / 0.5925 GB, free: 81.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008667/0.8757, allocations: 6.09 MB / 0.5985 GB, free: 75.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005656/0.8814, allocations: 4.294 MB / 0.6026 GB, free: 71.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.8816, allocations: 26 kB / 0.6027 GB, free: 71.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.358e-05/0.8816, allocations: 80.94 kB / 0.6027 GB, free: 71.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=231): time 3.897e-06/0.8816, allocations: 0 / 0.6027 GB, free: 71.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.01918/0.9008, allocations: 9.82 MB / 0.6123 GB, free: 61.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002138/0.9011, allocations: 1.296 MB / 0.6136 GB, free: 59.74 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02214/0.9232, allocations: 14.74 MB / 0.628 GB, free: 45.03 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007195/0.924, allocations: 73.7 kB / 0.6281 GB, free: 44.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004734/0.9287, allocations: 4.408 MB / 0.6324 GB, free: 40.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.9297, allocations: 0.8126 MB / 0.6332 GB, free: 39.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.9308, allocations: 0.615 MB / 0.6338 GB, free: 39.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.017e-05/0.9309, allocations: 305.1 kB / 0.6341 GB, free: 38.78 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004087/0.935, allocations: 2.964 MB / 0.637 GB, free: 35.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004634/0.9396, allocations: 4.021 MB / 0.6409 GB, free: 31.42 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008065/0.9477, allocations: 6.093 MB / 0.6468 GB, free: 25.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.9478, allocations: 4 kB / 0.6468 GB, free: 25.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01266/0.9604, allocations: 7.68 MB / 0.6543 GB, free: 17.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.9605, allocations: 12 kB / 0.6543 GB, free: 17.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.9605, allocations: 20.12 kB / 0.6544 GB, free: 17.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.9617, allocations: 0.5508 MB / 0.6549 GB, free: 16.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003229/0.9649, allocations: 1.014 MB / 0.6559 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.9708, allocations: 6.376 MB / 0.6621 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005397/0.9762, allocations: 0.8361 MB / 0.6629 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005149/0.9768, allocations: 108 kB / 0.663 GB, free: 8.266 MB / 462.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.006516/0.9833, allocations: 4.775 MB / 0.6677 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002718/0.986, allocations: 0.8603 MB / 0.6685 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/0.9898, allocations: 1.305 MB / 0.6698 GB, free: 1.289 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.9898, allocations: 20 kB / 0.6698 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.9898, allocations: 2.625 kB / 0.6698 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.9898, allocations: 11.95 kB / 0.6699 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03349/1.023, allocations: 15.91 MB / 0.6854 GB, free: 1.254 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/1.023, allocations: 0 / 0.6854 GB, free: 1.254 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003236/1.027, allocations: 0.8542 MB / 0.6862 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/1.028, allocations: 461.1 kB / 0.6867 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/1.028, allocations: 79.95 kB / 0.6867 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006536/1.035, allocations: 5.489 MB / 0.6921 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.035, allocations: 4 kB / 0.6921 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/1.053, allocations: 9.83 MB / 0.7017 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00619/1.059, allocations: 2.228 MB / 0.7039 GB, free: 14.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002494/1.062, allocations: 83.97 kB / 0.704 GB, free: 14.02 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005875/1.068, allocations: 0.8584 MB / 0.7048 GB, free: 13.16 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/1.069, allocations: 485.3 kB / 0.7053 GB, free: 12.69 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/1.069, allocations: 67.98 kB / 0.7053 GB, free: 12.62 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01939/1.089, allocations: 10.51 MB / 0.7156 GB, free: 2.145 MB / 0.4982 GB Notification: Performance of sort global known variables: time 6.61e-07/1.089, allocations: 0 / 0.7156 GB, free: 2.145 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.00672/1.095, allocations: 1.558 MB / 0.7171 GB, free: 0.5859 MB / 0.4982 GB 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.001696/1.097, allocations: 0.5765 MB / 0.7177 GB, free: 192 kB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.109, allocations: 6.469 MB / 0.724 GB, free: 9.711 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/1.109, allocations: 14.31 kB / 0.724 GB, free: 9.695 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00587/1.115, allocations: 3.392 MB / 0.7273 GB, free: 6.285 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01169/1.127, allocations: 2.199 MB / 0.7295 GB, free: 4.121 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2434/1.37, allocations: 24.01 MB / 0.7529 GB, free: 173.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007838/1.378, allocations: 6.689 MB / 0.7594 GB, free: 168.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/1.38, allocations: 463.3 kB / 0.7599 GB, free: 167.7 MB / 0.5138 GB Notification: Performance of SimCode: time 1.112e-06/1.38, allocations: 0 / 0.7599 GB, free: 167.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.4429/1.823, allocations: 197.8 MB / 0.953 GB, free: 179.2 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.sim & ./Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_StackRC.pipe 2>&1)