Running command: "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedCellCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedCellCycling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ElectricalEnergyStorage): time 2.205/2.205, allocations: 201.9 MB / 214.1 MB, free: 13.19 MB / 186.9 MB Notification: Performance of FrontEnd - loaded program: time 4.546e-05/4.562e-05, allocations: 5.031 kB / 263.1 MB, free: 10.89 MB / 218.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 45.99 MB / 309.1 MB, free: 12.82 MB / 266.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4451/0.5469, allocations: 92.21 MB / 401.3 MB, free: 10.55 MB / 314.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.5473, allocations: 85.39 kB / 401.4 MB, free: 10.54 MB / 314.9 MB Notification: Performance of FrontEnd - DAE generated: time 0.1655/0.7128, allocations: 48.7 MB / 450 MB, free: 12.92 MB / 346.9 MB Notification: Performance of FrontEnd: time 2.314e-06/0.7129, allocations: 0 / 450 MB, free: 12.92 MB / 346.9 MB Notification: Performance of Transformations before backend: time 0.0002704/0.7132, allocations: 44 kB / 450.1 MB, free: 12.88 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.007116/0.7203, allocations: 1.99 MB / 452.1 MB, free: 10.96 MB / 346.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.7204, allocations: 12.03 kB / 452.1 MB, free: 10.95 MB / 346.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001202/0.7216, allocations: 270.2 kB / 452.4 MB, free: 10.69 MB / 346.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009045/0.7225, allocations: 256.9 kB / 452.6 MB, free: 10.43 MB / 346.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005338/0.7279, allocations: 1.733 MB / 454.3 MB, free: 8.648 MB / 346.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.7282, allocations: 147.4 kB / 454.5 MB, free: 8.504 MB / 346.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007698/0.729, allocations: 176 kB / 454.7 MB, free: 8.332 MB / 346.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006275/0.7353, allocations: 1.846 MB / 456.5 MB, free: 6.461 MB / 346.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.398e-05/0.7354, allocations: 3.953 kB / 456.5 MB, free: 6.457 MB / 346.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002906/0.7357, allocations: 72 kB / 456.6 MB, free: 6.387 MB / 346.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.7357, allocations: 40 kB / 456.6 MB, free: 6.348 MB / 346.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005061/0.7408, allocations: 1.417 MB / 458 MB, free: 4.93 MB / 346.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02105/0.7619, allocations: 7.537 MB / 465.6 MB, free: 13.27 MB / 362.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004038/0.766, allocations: 2.478 MB / 468 MB, free: 10.48 MB / 362.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/0.768, allocations: 0.5811 MB / 468.6 MB, free: 9.895 MB / 362.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.7682, allocations: 8.781 kB / 468.6 MB, free: 9.887 MB / 362.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001523/0.7697, allocations: 0.5709 MB / 469.2 MB, free: 9.293 MB / 362.9 MB Notification: Performance of pre-optimization done (n=92): time 4.077e-06/0.7697, allocations: 4 kB / 469.2 MB, free: 9.289 MB / 362.9 MB Notification: Performance of matching and sorting (n=92): time 0.003244/0.773, allocations: 1.023 MB / 470.2 MB, free: 8.258 MB / 362.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.7732, allocations: 171 kB / 470.4 MB, free: 8.055 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.005289/0.7785, allocations: 1.793 MB / 472.2 MB, free: 6.254 MB / 362.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.7789, allocations: 49.81 kB / 472.2 MB, free: 6.199 MB / 362.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.001462/0.7803, allocations: 0.9232 MB / 473.2 MB, free: 5.262 MB / 362.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005672/0.7809, allocations: 299.7 kB / 473.5 MB, free: 4.965 MB / 362.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.763e-05/0.7811, allocations: 20 kB / 473.5 MB, free: 4.945 MB / 362.9 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7812, allocations: 341.9 kB / 473.8 MB, free: 4.605 MB / 362.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.7825, allocations: 421.9 kB / 474.2 MB, free: 4.191 MB / 362.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.7839, allocations: 0.5603 MB / 474.8 MB, free: 3.582 MB / 362.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.7854, allocations: 0.4995 MB / 475.3 MB, free: 3.082 MB / 362.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.7854, allocations: 3.953 kB / 475.3 MB, free: 3.078 MB / 362.9 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003859/0.7893, allocations: 1.267 MB / 476.6 MB, free: 1.789 MB / 362.9 MB Notification: Performance of prepare postOptimizeDAE: time 5.957e-05/0.7894, allocations: 29.7 kB / 476.6 MB, free: 1.754 MB / 362.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.7894, allocations: 4 kB / 476.6 MB, free: 1.75 MB / 362.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004504/0.7899, allocations: 101.1 kB / 476.7 MB, free: 1.648 MB / 362.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.7915, allocations: 187.7 kB / 476.9 MB, free: 1.465 MB / 362.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/0.7945, allocations: 1.912 MB / 478.8 MB, free: 15.41 MB / 378.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.7963, allocations: 123.1 kB / 478.9 MB, free: 15.29 MB / 378.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.7965, allocations: 32 kB / 478.9 MB, free: 15.26 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.0004335/0.7969, allocations: 186 kB / 479.1 MB, free: 15.07 MB / 378.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/0.7974, allocations: 154.1 kB / 479.3 MB, free: 14.92 MB / 378.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/0.8009, allocations: 1.108 MB / 480.4 MB, free: 13.8 MB / 378.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.801, allocations: 8 kB / 480.4 MB, free: 13.8 MB / 378.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.801, allocations: 0 / 480.4 MB, free: 13.8 MB / 378.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.801, allocations: 7.969 kB / 480.4 MB, free: 13.79 MB / 378.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009715/0.8107, allocations: 3.691 MB / 484.1 MB, free: 10.03 MB / 378.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.8108, allocations: 12.02 kB / 484.1 MB, free: 10.02 MB / 378.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.8123, allocations: 143.8 kB / 484.2 MB, free: 9.875 MB / 378.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003503/0.8126, allocations: 81.09 kB / 484.3 MB, free: 9.793 MB / 378.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.8128, allocations: 20 kB / 484.3 MB, free: 9.773 MB / 378.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.8155, allocations: 1.91 MB / 486.2 MB, free: 7.711 MB / 378.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.902e-06/0.8155, allocations: 4 kB / 486.2 MB, free: 7.707 MB / 378.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/0.8202, allocations: 1.71 MB / 488 MB, free: 5.969 MB / 378.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/0.8217, allocations: 455.1 kB / 488.4 MB, free: 5.504 MB / 378.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004/0.8221, allocations: 28 kB / 488.4 MB, free: 5.477 MB / 378.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.8233, allocations: 63.89 kB / 488.5 MB, free: 5.414 MB / 378.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003818/0.8237, allocations: 84.62 kB / 488.6 MB, free: 5.328 MB / 378.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.396e-05/0.8238, allocations: 23.98 kB / 488.6 MB, free: 5.305 MB / 378.9 MB Notification: Performance of sorting global known variables: time 0.004334/0.8282, allocations: 1.348 MB / 489.9 MB, free: 3.957 MB / 378.9 MB Notification: Performance of sort global known variables: time 9.62e-07/0.8282, allocations: 0 / 489.9 MB, free: 3.957 MB / 378.9 MB Notification: Performance of remove unused functions: time 0.002366/0.8306, allocations: 406.5 kB / 490.3 MB, free: 3.559 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.006269/0.8369, allocations: 2.812 MB / 493.2 MB, free: 0.7539 MB / 378.9 MB Notification: Performance of simCode: created initialization part: time 0.003378/0.8403, allocations: 1.151 MB / 494.3 MB, free: 15.57 MB / 394.9 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.8404, allocations: 0 / 494.3 MB, free: 15.57 MB / 394.9 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.842, allocations: 0.6222 MB / 494.9 MB, free: 14.94 MB / 394.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/0.8446, allocations: 308.3 kB / 495.2 MB, free: 14.64 MB / 394.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.8573, allocations: 3.576 MB / 498.8 MB, free: 11 MB / 394.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.8597, allocations: 1.707 MB / 0.4888 GB, free: 9.258 MB / 394.9 MB Notification: Performance of simCode: alias equations: time 0.00172/0.8615, allocations: 234.5 kB / 0.489 GB, free: 9.023 MB / 394.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002159/0.8637, allocations: 0.7531 MB / 0.4897 GB, free: 8.27 MB / 394.9 MB Notification: Performance of SimCode: time 1.603e-06/0.8637, allocations: 0 / 0.4897 GB, free: 8.27 MB / 394.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3974/1.261, allocations: 38.3 MB / 0.5271 GB, free: 95.38 MB / 410.9 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/1.261, allocations: 225.4 kB / 0.5274 GB, free: 95.07 MB / 410.9 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.78/5.041, allocations: 3.938 kB / 0.5274 GB, free: 95.07 MB / 410.9 MB