Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ElectricalEnergyStorage with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ElectricalEnergyStorage.Examples.AdvancedStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") translateModel(ElectricalEnergyStorage.Examples.AdvancedStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 174.5 kB / 15.43 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.06971/0.06971, allocations: 7.038 MB / 23.22 MB, free: 4.105 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.7 MB / 251.2 MB, free: 6.859 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009472/0.0009472, allocations: 87.97 kB / 303.8 MB, free: 4.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 8 kB / 366.5 MB, free: 5.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2437, allocations: 51.89 MB / 418.3 MB, free: 48.57 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.009657/0.2534, allocations: 9.313 MB / 427.7 MB, free: 41.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008004/0.2615, allocations: 5.088 MB / 432.7 MB, free: 38.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.2636, allocations: 62.56 kB / 432.8 MB, free: 38.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.2664, allocations: 1.147 MB / 434 MB, free: 37.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.2682, allocations: 485.4 kB / 434.4 MB, free: 37.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.27, allocations: 1.137 MB / 435.6 MB, free: 36.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009498/0.2795, allocations: 9.666 MB / 445.2 MB, free: 31.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006177/0.2857, allocations: 6.942 MB / 452.2 MB, free: 24.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.2885, allocations: 2.076 MB / 454.3 MB, free: 22.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/0.2906, allocations: 2.385 MB / 456.6 MB, free: 19.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000486/0.2911, allocations: 328 kB / 457 MB, free: 19.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007345/0.2918, allocations: 368 kB / 457.3 MB, free: 19.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007677/0.2926, allocations: 1.311 MB / 458.6 MB, free: 17.83 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003892/0.2965, allocations: 3.367 MB / 462 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.3074, allocations: 16.16 MB / 478.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3074, allocations: 3.938 kB / 478.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3074, allocations: 0 / 478.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004161/0.3079, allocations: 4 kB / 478.2 MB, free: 14.23 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1082 * Number of variables: 1082 Notification: Performance of Generate backend data structure: time 0.01639/0.3242, allocations: 7.484 MB / 485.6 MB, free: 6.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3243, allocations: 12.03 kB / 485.7 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.3269, allocations: 0.7301 MB / 486.4 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.3407, allocations: 8.425 MB / 494.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.341, allocations: 356.8 kB / 495.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.3422, allocations: 440 kB / 495.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/0.3565, allocations: 7.539 MB / 0.4913 GB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.837e-05/0.3566, allocations: 7.938 kB / 0.4913 GB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004874/0.3571, allocations: 184 kB / 0.4915 GB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.3573, allocations: 156 kB / 0.4917 GB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.3688, allocations: 6.473 MB / 0.498 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04503/0.4139, allocations: 31.54 MB / 0.5288 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008114/0.4221, allocations: 8.359 MB / 0.537 GB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00372/0.4258, allocations: 2.449 MB / 0.5393 GB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.426, allocations: 25.98 kB / 0.5394 GB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003017/0.429, allocations: 2.176 MB / 0.5415 GB, free: 272 kB / 410.7 MB Notification: Performance of pre-optimization done (n=203): time 3.307e-06/0.429, allocations: 0 / 0.5415 GB, free: 272 kB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.01201/0.441, allocations: 6.603 MB / 0.5479 GB, free: 9.625 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.4412, allocations: 389.8 kB / 0.5483 GB, free: 9.156 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:853:11-854:46:writable] Warning: Parameter batteryStack.SOCini[3,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.5) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:853:11-854:46:writable] Warning: Parameter batteryStack.SOCini[2,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.5) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:853:11-854:46:writable] Warning: Parameter batteryStack.SOCini[1,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.5) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544: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/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut[3].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/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut[2].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/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544: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.2036/0.6448, allocations: 10.82 MB / 0.5589 GB, free: 113.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006989/0.6456, allocations: 73.69 kB / 0.5589 GB, free: 113.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004258/0.6499, allocations: 3.049 MB / 0.5619 GB, free: 111.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.651, allocations: 0.705 MB / 0.5626 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.6512, allocations: 51.59 kB / 0.5627 GB, free: 111.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6514, allocations: 423.7 kB / 0.5631 GB, free: 110.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/0.6547, allocations: 1.977 MB / 0.565 GB, free: 110.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003783/0.6585, allocations: 2.771 MB / 0.5677 GB, free: 108.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02093/0.6795, allocations: 9.509 MB / 0.577 GB, free: 105.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.6795, allocations: 7.562 kB / 0.577 GB, free: 105.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.009167/0.6887, allocations: 5.554 MB / 0.5824 GB, free: 103.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.6887, allocations: 15.47 kB / 0.5824 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.6888, allocations: 19.25 kB / 0.5825 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.6898, allocations: 0.4954 MB / 0.5829 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/0.692, allocations: 0.6604 MB / 0.5836 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004812/0.6968, allocations: 4.639 MB / 0.5881 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/0.7002, allocations: 492.2 kB / 0.5886 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/0.7005, allocations: 104.2 kB / 0.5887 GB, free: 100.1 MB / 426.7 MB Warning: Assuming fixed start value for the following 3 variables: batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3,1,1] batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3,1,1] batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3,1,1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.cycler.cycling.rSFlipFlop.pre.u,$PRE.cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.AfterChargingDelay.timer.entryTime,$PRE.cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.BeforeChargingDelay.timer.entryTime,$PRE.cycler.cycling.edge1.u,$PRE.cycler.chargingFinished.fallingEdge.not_u,$whenCondition2,$whenCondition1,cycler.Discharging,cycler.Charging,cycler.cycling.rSFlipFlop.pre.u,cycler.cycling.lessVinMin.y,cycler.cycling.AfterChargingDelay.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.u,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.y,cycler.chargingFinished.fallingEdge.not_u,batteryStack.cell[3,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,charger.controlledCurrent.limitedController.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 301 * 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,27)} Notification: Performance of prepare postOptimizeDAE: time 0.005255/0.7058, allocations: 3.944 MB / 0.5925 GB, free: 98.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/0.7071, allocations: 0.504 MB / 0.593 GB, free: 97.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00652/0.7136, allocations: 4.689 MB / 0.5976 GB, free: 94.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.7137, allocations: 20 kB / 0.5976 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7137, allocations: 0 / 0.5976 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.7137, allocations: 11.95 kB / 0.5976 GB, free: 94.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/0.7325, allocations: 14.15 MB / 0.6115 GB, free: 79.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/0.7325, allocations: 11.94 kB / 0.6115 GB, free: 79.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/0.7344, allocations: 487.2 kB / 0.6119 GB, free: 79.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009402/0.7354, allocations: 455.1 kB / 0.6124 GB, free: 78.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.7356, allocations: 79.14 kB / 0.6124 GB, free: 78.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004316/0.7399, allocations: 4.398 MB / 0.6167 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7399, allocations: 0 / 0.6167 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008999/0.7489, allocations: 6.941 MB / 0.6235 GB, free: 67.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004046/0.753, allocations: 1.814 MB / 0.6253 GB, free: 65.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001848/0.7549, allocations: 83.97 kB / 0.6254 GB, free: 65.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/0.7573, allocations: 267.6 kB / 0.6256 GB, free: 65.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004213/0.7578, allocations: 145.8 kB / 0.6258 GB, free: 65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/0.7579, allocations: 55.98 kB / 0.6258 GB, free: 64.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01155/0.7695, allocations: 7.613 MB / 0.6332 GB, free: 57.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7695, allocations: 0 / 0.6332 GB, free: 57.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004428/0.7739, allocations: 1.282 MB / 0.6345 GB, free: 56.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (charger.controlledCurrent.limitedController.limIntegrator.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y) * Number of discrete variables: 23 (cycler.cycling.AfterChargingDelay.u,cycler.cycling.BeforeChargingDelay.u,$whenCondition2,$whenCondition1,cycler.Discharging,cycler.Charging,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.y,cycler.chargingFinished.fallingEdge.not_u) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.775, allocations: 0.5368 MB / 0.635 GB, free: 55.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005687/0.7807, allocations: 4.463 MB / 0.6394 GB, free: 51.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7807, allocations: 0 / 0.6394 GB, free: 51.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.7831, allocations: 2.146 MB / 0.6415 GB, free: 49.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/0.7885, allocations: 1.296 MB / 0.6427 GB, free: 47.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/0.8103, allocations: 18.89 MB / 0.6612 GB, free: 28.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004535/0.8148, allocations: 5.827 MB / 0.6669 GB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004839/0.8197, allocations: 2.412 MB / 0.6692 GB, free: 20.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/0.8208, allocations: 283.1 kB / 0.6695 GB, free: 20.26 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.8208, allocations: 0 / 0.6695 GB, free: 20.26 MB / 426.7 MB Notification: Performance of Templates: time 0.3041/1.125, allocations: 80.66 MB / 0.7483 GB, free: 116.7 MB / 474.7 MB make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.makefile (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe >> ../files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.sim & ./ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling -abortSlowSimulation -alarm=480 -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1)