Running command: translateModel(ElectricalEnergyStorage.Examples.AdvancedCellCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedCellCycling") Notification: Performance of loadModel(ElectricalEnergyStorage): time 1.853/1.853, allocations: 201.9 MB / 214.1 MB, free: 13.07 MB / 186.9 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.914e-05, allocations: 4 kB / 263 MB, free: 10.96 MB / 218.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08046/0.08051, allocations: 45.99 MB / 309 MB, free: 12.89 MB / 266.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.4808, allocations: 92.21 MB / 401.2 MB, free: 10.91 MB / 314.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4811, allocations: 83.97 kB / 401.3 MB, free: 10.9 MB / 314.9 MB Notification: Performance of FrontEnd - DAE generated: time 0.1497/0.6308, allocations: 48.7 MB / 450 MB, free: 13.26 MB / 346.9 MB Notification: Performance of FrontEnd: time 2.04e-06/0.6309, allocations: 0 / 450 MB, free: 13.26 MB / 346.9 MB Notification: Performance of Transformations before backend: time 0.0001836/0.6311, allocations: 44 kB / 450 MB, free: 13.22 MB / 346.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.005055/0.6361, allocations: 1.986 MB / 452 MB, free: 11.17 MB / 346.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.6362, allocations: 12.03 kB / 452 MB, free: 11.16 MB / 346.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008623/0.6371, allocations: 252.9 kB / 452.2 MB, free: 10.91 MB / 346.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/0.6417, allocations: 1.725 MB / 454 MB, free: 9.129 MB / 346.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.6419, allocations: 143.5 kB / 454.1 MB, free: 8.988 MB / 346.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005066/0.6425, allocations: 179.9 kB / 454.3 MB, free: 8.812 MB / 346.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005047/0.6475, allocations: 1.849 MB / 456.1 MB, free: 6.938 MB / 346.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.113e-05/0.6476, allocations: 0 / 456.1 MB, free: 6.938 MB / 346.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.6479, allocations: 75.95 kB / 456.2 MB, free: 6.863 MB / 346.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.648, allocations: 44 kB / 456.2 MB, free: 6.82 MB / 346.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003965/0.6519, allocations: 1.405 MB / 457.7 MB, free: 5.414 MB / 346.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.6686, allocations: 7.533 MB / 465.2 MB, free: 13.75 MB / 362.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/0.6721, allocations: 2.475 MB / 467.7 MB, free: 10.97 MB / 362.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.6735, allocations: 0.5772 MB / 468.2 MB, free: 10.39 MB / 362.9 MB Notification: Performance of preOpt evalFunc (simulation): time 7.751e-05/0.6736, allocations: 12.77 kB / 468.3 MB, free: 10.38 MB / 362.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.6749, allocations: 0.5826 MB / 468.8 MB, free: 9.773 MB / 362.9 MB Notification: Performance of pre-optimization done (n=92): time 4.719e-06/0.6749, allocations: 0 / 468.8 MB, free: 9.773 MB / 362.9 MB Notification: Performance of matching and sorting (n=92): time 0.002727/0.6777, allocations: 1.023 MB / 469.9 MB, free: 8.742 MB / 362.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.6778, allocations: 170.9 kB / 470 MB, free: 8.539 MB / 362.9 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Math.mo:595:5-596:48:writable] Warning: Parameter cycler.iOut[1].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Math.mo:595:5-596:48:writable] Warning: Parameter cycler.vOut[1].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003961/0.6818, allocations: 1.795 MB / 471.8 MB, free: 6.734 MB / 362.9 MB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.6821, allocations: 53.81 kB / 471.9 MB, free: 6.676 MB / 362.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.00127/0.6834, allocations: 0.9154 MB / 472.8 MB, free: 5.746 MB / 362.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.000403/0.6838, allocations: 287.9 kB / 473.1 MB, free: 5.461 MB / 362.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.6839, allocations: 20 kB / 473.1 MB, free: 5.441 MB / 362.9 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.6841, allocations: 345.9 kB / 473.4 MB, free: 5.098 MB / 362.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.6851, allocations: 421.9 kB / 473.8 MB, free: 4.684 MB / 362.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.6863, allocations: 0.5642 MB / 474.4 MB, free: 4.07 MB / 362.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.6875, allocations: 499.5 kB / 474.9 MB, free: 3.582 MB / 362.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.853e-06/0.6875, allocations: 0 / 474.9 MB, free: 3.582 MB / 362.9 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003259/0.6908, allocations: 1.279 MB / 476.2 MB, free: 2.281 MB / 362.9 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.6909, allocations: 33.7 kB / 476.2 MB, free: 2.242 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.6909, allocations: 0 / 476.2 MB, free: 2.242 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003819/0.6913, allocations: 96.81 kB / 476.3 MB, free: 2.145 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.6924, allocations: 180 kB / 476.5 MB, free: 1.969 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.6951, allocations: 1.92 MB / 478.4 MB, free: 15.91 MB / 378.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.6964, allocations: 123.1 kB / 478.5 MB, free: 15.79 MB / 378.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.6965, allocations: 32 kB / 478.5 MB, free: 15.76 MB / 378.9 MB Warning: Assuming fixed start value for the following 1 variables: batteryCell.linearDynamicImpedance.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: 11 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition2,$whenCondition1,charger.on,cycler.Discharging,$PRE.cycler.cycling.rSFlipFlop.pre.u,cycler.cycling.rSFlipFlop.pre.u,cycler.cycling.lessVinMin.y,cycler.cycling.AfterChargingDelay.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,$PRE.cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.u,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,$PRE.cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,$PRE.cycler.cycling.edge1.u,cycler.cycling.edge1.u,cycler.cycling.edge1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.or1.y,cycler.chargingFinished.GraterEqualVmax.y,$PRE.cycler.chargingFinished.fallingEdge.not_u,cycler.chargingFinished.fallingEdge.not_u,cycler.chargingFinished.and1.u1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003866/0.6969, allocations: 194 kB / 478.7 MB, free: 15.56 MB / 378.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/0.6973, allocations: 150.1 kB / 478.9 MB, free: 15.41 MB / 378.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/0.7002, allocations: 1.107 MB / 480 MB, free: 14.3 MB / 378.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.7003, allocations: 8 kB / 480 MB, free: 14.29 MB / 378.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.344e-06/0.7003, allocations: 0 / 480 MB, free: 14.29 MB / 378.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.7003, allocations: 7.984 kB / 480 MB, free: 14.28 MB / 378.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008518/0.7088, allocations: 3.691 MB / 483.7 MB, free: 10.52 MB / 378.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.131e-06/0.7089, allocations: 7.938 kB / 483.7 MB, free: 10.51 MB / 378.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.7099, allocations: 139.9 kB / 483.8 MB, free: 10.38 MB / 378.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000306/0.7102, allocations: 85.03 kB / 483.9 MB, free: 10.29 MB / 378.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.7104, allocations: 27.98 kB / 483.9 MB, free: 10.26 MB / 378.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.713, allocations: 1.91 MB / 485.9 MB, free: 8.199 MB / 378.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.548e-06/0.713, allocations: 8 kB / 485.9 MB, free: 8.191 MB / 378.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003873/0.7169, allocations: 1.707 MB / 487.6 MB, free: 6.457 MB / 378.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.7181, allocations: 446.9 kB / 488 MB, free: 6 MB / 378.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/0.7184, allocations: 28 kB / 488 MB, free: 5.973 MB / 378.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008269/0.7193, allocations: 63.95 kB / 488.1 MB, free: 5.91 MB / 378.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.7196, allocations: 80.7 kB / 488.2 MB, free: 5.828 MB / 378.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.54e-05/0.7197, allocations: 31.94 kB / 488.2 MB, free: 5.797 MB / 378.9 MB Notification: Performance of sorting global known variables: time 0.002926/0.7226, allocations: 1.34 MB / 489.5 MB, free: 4.457 MB / 378.9 MB Notification: Performance of sort global known variables: time 9.45e-07/0.7226, allocations: 4 kB / 489.6 MB, free: 4.453 MB / 378.9 MB Notification: Performance of remove unused functions: time 0.001757/0.7244, allocations: 414.4 kB / 490 MB, free: 4.047 MB / 378.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (charger.controlledCurrent.limitedController.limIntegrator.y,batteryCell.linearDynamicImpedance.calculator.sOC.integrator.y,batteryCell.linearDynamicImpedance.calculator.q.absInt.y,batteryCell.linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryCell.linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryCell.linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryCell.linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryCell.linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryCell.linearDynamicImpedance.selfDischarge.qabs.absInt.y) * Number of discrete variables: 23 (cycler.cycling.AfterChargingDelay.u,cycler.cycling.BeforeChargingDelay.u,$whenCondition2,$whenCondition1,charger.on,cycler.Discharging,cycler.cycling.rSFlipFlop.pre.u,cycler.cycling.lessVinMin.y,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,cycler.cycling.edge1.u,cycler.cycling.edge1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.or1.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.chargingFinished.fallingEdge.not_u,cycler.chargingFinished.and1.u1) * Number of discrete states: 5 (cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.rSFlipFlop.pre.u,cycler.chargingFinished.fallingEdge.not_u,cycler.cycling.edge1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001347/0.7258, allocations: 0.561 MB / 490.5 MB, free: 3.516 MB / 378.9 MB Notification: Performance of simCode: created initialization part: time 0.002704/0.7285, allocations: 1.151 MB / 491.7 MB, free: 2.348 MB / 378.9 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7285, allocations: 0.625 kB / 491.7 MB, free: 2.348 MB / 378.9 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.7299, allocations: 0.6214 MB / 492.3 MB, free: 1.719 MB / 378.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.7318, allocations: 312.4 kB / 492.6 MB, free: 1.414 MB / 378.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008243/0.7401, allocations: 3.077 MB / 495.7 MB, free: 14.29 MB / 394.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/0.7423, allocations: 1.707 MB / 497.4 MB, free: 12.55 MB / 394.9 MB Notification: Performance of simCode: alias equations: time 0.001396/0.7437, allocations: 226.5 kB / 497.6 MB, free: 12.32 MB / 394.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/0.7442, allocations: 91.42 kB / 497.7 MB, free: 12.23 MB / 394.9 MB Notification: Performance of SimCode: time 1.905e-06/0.7442, allocations: 4 kB / 497.7 MB, free: 12.23 MB / 394.9 MB Notification: Performance of Templates: time 0.05746/0.8017, allocations: 20.86 MB / 0.5064 GB, free: 7.348 MB / 410.9 MB