Running command: translateModel(ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28200,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent") Notification: Performance of loadModel(ElectricalEnergyStorage): time 1.945/1.945, allocations: 201.9 MB / 214.1 MB, free: 13.16 MB / 186.9 MB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.966e-05, allocations: 7.984 kB / 263 MB, free: 10.97 MB / 218.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 45.99 MB / 309 MB, free: 12.89 MB / 266.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4609, allocations: 85.9 MB / 394.9 MB, free: 12.88 MB / 314.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/0.4613, allocations: 82.81 kB / 394.9 MB, free: 12.88 MB / 314.9 MB Notification: Performance of FrontEnd - DAE generated: time 0.1309/0.5922, allocations: 32.48 MB / 427.4 MB, free: 15.34 MB / 330.9 MB Notification: Performance of FrontEnd: time 2.027e-06/0.5922, allocations: 0 / 427.4 MB, free: 15.34 MB / 330.9 MB Notification: Performance of Transformations before backend: time 0.0001216/0.5924, allocations: 35.41 kB / 427.5 MB, free: 15.34 MB / 330.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003545/0.5959, allocations: 1.407 MB / 428.9 MB, free: 14.35 MB / 330.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.596, allocations: 11.61 kB / 428.9 MB, free: 14.34 MB / 330.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005916/0.5966, allocations: 159.3 kB / 429 MB, free: 14.26 MB / 330.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.5992, allocations: 1.165 MB / 430.2 MB, free: 13.77 MB / 330.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.824e-05/0.5993, allocations: 80.88 kB / 430.3 MB, free: 13.77 MB / 330.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.5995, allocations: 117 kB / 430.4 MB, free: 13.76 MB / 330.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.6022, allocations: 1.113 MB / 431.5 MB, free: 13.52 MB / 330.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.6023, allocations: 3.938 kB / 431.5 MB, free: 13.51 MB / 330.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.6024, allocations: 42.16 kB / 431.6 MB, free: 13.5 MB / 330.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.6025, allocations: 27.95 kB / 431.6 MB, free: 13.47 MB / 330.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.6048, allocations: 0.857 MB / 432.4 MB, free: 13 MB / 330.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.6149, allocations: 4.458 MB / 436.9 MB, free: 10.18 MB / 330.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.6176, allocations: 2.099 MB / 439 MB, free: 7.754 MB / 330.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009617/0.6186, allocations: 386.4 kB / 439.4 MB, free: 7.375 MB / 330.9 MB Notification: Performance of preOpt evalFunc (simulation): time 6.44e-05/0.6187, allocations: 16.55 kB / 439.4 MB, free: 7.355 MB / 330.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009249/0.6196, allocations: 409.6 kB / 439.8 MB, free: 6.938 MB / 330.9 MB Notification: Performance of pre-optimization done (n=56): time 4.108e-06/0.6197, allocations: 4 kB / 439.8 MB, free: 6.934 MB / 330.9 MB Notification: Performance of matching and sorting (n=56): time 0.001788/0.6215, allocations: 0.6661 MB / 440.5 MB, free: 6.262 MB / 330.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.6216, allocations: 162.8 kB / 440.6 MB, free: 6.062 MB / 330.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/0.6245, allocations: 1.225 MB / 441.8 MB, free: 4.816 MB / 330.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0001865/0.6247, allocations: 37.7 kB / 441.9 MB, free: 4.773 MB / 330.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007966/0.6255, allocations: 0.5933 MB / 442.5 MB, free: 4.172 MB / 330.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/0.6258, allocations: 197.2 kB / 442.7 MB, free: 3.977 MB / 330.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.6259, allocations: 16 kB / 442.7 MB, free: 3.961 MB / 330.9 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.6261, allocations: 337.9 kB / 443 MB, free: 3.625 MB / 330.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.6268, allocations: 277.5 kB / 443.3 MB, free: 3.355 MB / 330.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008111/0.6276, allocations: 387.5 kB / 443.7 MB, free: 2.945 MB / 330.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.6285, allocations: 389.5 kB / 444 MB, free: 2.559 MB / 330.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.613e-06/0.6285, allocations: 3.938 kB / 444 MB, free: 2.555 MB / 330.9 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002192/0.6307, allocations: 0.8849 MB / 444.9 MB, free: 1.648 MB / 330.9 MB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.6308, allocations: 59.41 kB / 445 MB, free: 1.578 MB / 330.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.6308, allocations: 112 / 445 MB, free: 1.578 MB / 330.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.6309, allocations: 12.09 kB / 445 MB, free: 1.566 MB / 330.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009222/0.6318, allocations: 147.8 kB / 445.1 MB, free: 1.422 MB / 330.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.6318, allocations: 4 kB / 445.1 MB, free: 1.418 MB / 330.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/0.6327, allocations: 79.41 kB / 445.2 MB, free: 1.34 MB / 330.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/0.6328, allocations: 20 kB / 445.2 MB, free: 1.32 MB / 330.9 MB Warning: Assuming fixed start value for the following 1 variables: batteryCell.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" ) type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * 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.0002862/0.6331, allocations: 150.2 kB / 445.4 MB, free: 1.172 MB / 330.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.6334, allocations: 102.8 kB / 445.5 MB, free: 1.07 MB / 330.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.6353, allocations: 0.7205 MB / 446.2 MB, free: 356 kB / 330.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.6354, allocations: 8 kB / 446.2 MB, free: 348 kB / 330.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.717e-06/0.6354, allocations: 0 / 446.2 MB, free: 348 kB / 330.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.6354, allocations: 3.984 kB / 446.2 MB, free: 344 kB / 330.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005361/0.6408, allocations: 2.41 MB / 448.6 MB, free: 13.86 MB / 346.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.606e-06/0.6408, allocations: 0 / 448.6 MB, free: 13.86 MB / 346.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008457/0.6417, allocations: 115.9 kB / 448.7 MB, free: 13.75 MB / 346.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.6417, allocations: 8 kB / 448.8 MB, free: 13.74 MB / 346.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/0.6418, allocations: 19.95 kB / 448.8 MB, free: 13.72 MB / 346.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.049e-06/0.6418, allocations: 4 kB / 448.8 MB, free: 13.72 MB / 346.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.586e-06/0.6419, allocations: 3.938 kB / 448.8 MB, free: 13.71 MB / 346.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.6444, allocations: 1.139 MB / 449.9 MB, free: 12.56 MB / 346.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000609/0.6451, allocations: 247.6 kB / 450.2 MB, free: 12.3 MB / 346.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/0.6454, allocations: 23.98 kB / 450.2 MB, free: 12.27 MB / 346.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.646, allocations: 39.92 kB / 450.2 MB, free: 12.23 MB / 346.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.6462, allocations: 44.5 kB / 450.3 MB, free: 12.19 MB / 346.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/0.6462, allocations: 12 kB / 450.3 MB, free: 12.18 MB / 346.9 MB Notification: Performance of sorting global known variables: time 0.002097/0.6483, allocations: 0.9479 MB / 451.2 MB, free: 11.22 MB / 346.9 MB Notification: Performance of sort global known variables: time 3.708e-06/0.6484, allocations: 0 / 451.2 MB, free: 11.22 MB / 346.9 MB Notification: Performance of remove unused functions: time 0.001328/0.6497, allocations: 282.8 kB / 451.5 MB, free: 10.94 MB / 346.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (batteryCell.calculator.sOC.integrator.y,batteryCell.calculator.q.absInt.y,batteryCell.calculator.EquivalentCycles.integrator.y,batteryCell.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryCell.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryCell.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryCell.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryCell.selfDischarge.qabs.absInt.y) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001318/0.6511, allocations: 0.5337 MB / 452 MB, free: 10.45 MB / 346.9 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.6528, allocations: 0.7316 MB / 452.8 MB, free: 9.684 MB / 346.9 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6529, allocations: 4.125 kB / 452.8 MB, free: 9.68 MB / 346.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0007149/0.6536, allocations: 310 kB / 453.1 MB, free: 9.375 MB / 346.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.6552, allocations: 228 kB / 453.3 MB, free: 9.152 MB / 346.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/0.6605, allocations: 2.027 MB / 455.3 MB, free: 7.098 MB / 346.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.662, allocations: 1.374 MB / 456.7 MB, free: 5.695 MB / 346.9 MB Notification: Performance of simCode: alias equations: time 0.001041/0.6631, allocations: 174.8 kB / 456.9 MB, free: 5.52 MB / 346.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.6635, allocations: 71.42 kB / 456.9 MB, free: 5.449 MB / 346.9 MB Notification: Performance of SimCode: time 1.827e-06/0.6635, allocations: 4 kB / 456.9 MB, free: 5.445 MB / 346.9 MB Notification: Performance of Templates: time 0.0408/0.7043, allocations: 14.59 MB / 471.5 MB, free: 6.848 MB / 362.9 MB