Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006505/0.0006505, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008352/0.001486, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006766/0.0006766, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008288/0.001505, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7826/0.7826, allocations: 158.6 MB / 171 MB, free: 2.598 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1103/0.8929, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.02671/0.02671, allocations: 5.557 MB / 226.8 MB, free: 11.14 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003019/0.02972, allocations: 1.987 MB / 228.8 MB, free: 9.148 MB / 234.7 MB " [Timeout remaining time 180] Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricalEnergyStorage.Examples.AdvancedStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") translateModel(ElectricalEnergyStorage.Examples.AdvancedStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 230.1 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.406e-06/9.829e-06, allocations: 2.312 kB / 230.1 MB, free: 7.836 MB / 234.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.iOut.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:595:11-595:138:writable] Warning: Parameter batteryStack.SOCini has no value, and is fixed during initialization (fixed=true), using available start value (start=fill(0.5, ns, np)) as default value. Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.00741/0.007419, allocations: 10.18 MB / 240.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005604/0.01302, allocations: 6.121 MB / 246.4 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000687/0.01371, allocations: 67.69 kB / 246.5 MB, free: 7.398 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.01553, allocations: 1.57 MB / 248.1 MB, free: 5.82 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008799/0.01641, allocations: 0.651 MB / 248.7 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.01755, allocations: 1.225 MB / 249.9 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006532/0.02408, allocations: 10.72 MB / 260.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004252/0.02833, allocations: 3.676 MB / 264.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006476/0.03481, allocations: 6.99 MB / 271.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.03854, allocations: 4.294 MB / 275.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001455/0.04, allocations: 1.277 MB / 276.9 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.0414, allocations: 1.324 MB / 278.2 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.04301, allocations: 2.046 MB / 280.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002679/0.04569, allocations: 2.414 MB / 282.7 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.106/0.1517, allocations: 8.235 MB / 290.9 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.677e-05/0.1517, allocations: 3.688 kB / 290.9 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1517, allocations: 0 / 290.9 MB, free: 23.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003014/0.152, allocations: 1.469 kB / 290.9 MB, free: 23.25 MB / 282.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.01183/0.1639, allocations: 8.634 MB / 299.5 MB, free: 20.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.1639, allocations: 10.84 kB / 299.6 MB, free: 20.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.1649, allocations: 0.7861 MB / 300.3 MB, free: 20.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003594/0.1685, allocations: 3.179 MB / 303.5 MB, free: 19.05 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.1687, allocations: 359.5 kB / 303.9 MB, free: 19.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004383/0.1691, allocations: 435.7 kB / 304.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/0.1727, allocations: 3.88 MB / 308.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.818e-05/0.1728, allocations: 10.41 kB / 308.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003075/0.1731, allocations: 179.9 kB / 308.4 MB, free: 17.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.612e-05/0.1732, allocations: 153.1 kB / 308.5 MB, free: 17.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.1751, allocations: 1.35 MB / 309.9 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.1878, allocations: 16.36 MB / 326.2 MB, free: 8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.1894, allocations: 1.729 MB / 328 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007852/0.1902, allocations: 0.6563 MB / 328.6 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.838e-05/0.1903, allocations: 37.98 kB / 328.6 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007358/0.191, allocations: 0.996 MB / 329.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=199): time 2.805e-06/0.191, allocations: 0 / 329.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=199): time 0.002788/0.1938, allocations: 1.728 MB / 331.4 MB, free: 2.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.1938, allocations: 77.41 kB / 331.4 MB, free: 2.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005256/0.1991, allocations: 5.538 MB / 337 MB, free: 14.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.1992, allocations: 73.7 kB / 337.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.2004, allocations: 1.917 MB / 339 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004154/0.2008, allocations: 0.6994 MB / 339.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005988/0.2014, allocations: 496.7 kB / 340.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.2015, allocations: 301.1 kB / 340.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008266/0.2023, allocations: 420.6 kB / 340.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.2036, allocations: 1.302 MB / 342.2 MB, free: 8.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/0.2061, allocations: 1.864 MB / 344 MB, free: 6.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.2061, allocations: 4 kB / 344 MB, free: 6.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=327) (initialization): time 0.002507/0.2086, allocations: 1.612 MB / 345.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.2086, allocations: 12 kB / 345.7 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.2086, allocations: 20 kB / 345.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003948/0.209, allocations: 231.3 kB / 345.9 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.2103, allocations: 0.5598 MB / 346.5 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.2126, allocations: 2.595 MB / 349.1 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.2137, allocations: 262.2 kB / 349.3 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.2139, allocations: 79.98 kB / 349.4 MB, free: 1.656 MB / 298.7 MB Warning: Assuming fixed start value for the following 3 variables: batteryStack.cell[3,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[1,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 (charger.controlledCurrent.limitedController.limIntegrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.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.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.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.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.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.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,$PRE.cycler.chargingFinished.fallingEdge.not_u,$PRE.cycler.cycling.edge1.u,$PRE.cycler.cycling.BeforeChargingDelay.timer.entryTime,$PRE.cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.AfterChargingDelay.timer.entryTime,$PRE.cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.rSFlipFlop.pre.u,cycler.chargingFinished.fallingEdge.not_u,cycler.chargingFinished.fallingEdge.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.cycling.or1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.edge1.y,cycler.cycling.edge1.u,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,cycler.cycling.BeforeChargingDelay.u,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.u,cycler.cycling.lessVinMin.y,cycler.cycling.rSFlipFlop.pre.u,cycler.Charging,cycler.Discharging,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 300 * 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,24)} Notification: Performance of prepare postOptimizeDAE: time 0.001379/0.2152, allocations: 360.7 kB / 349.7 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004522/0.2157, allocations: 335.6 kB / 350.1 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.2176, allocations: 1.35 MB / 351.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.2176, allocations: 27.94 kB / 351.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2176, allocations: 0 / 351.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.2176, allocations: 8.594 kB / 351.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006491/0.2241, allocations: 5.241 MB / 356.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2241, allocations: 0 / 356.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.2252, allocations: 378.3 kB / 357.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.2262, allocations: 0.6405 MB / 357.7 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000331/0.2265, allocations: 190.4 kB / 357.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.2267, allocations: 71.97 kB / 358 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/0.2292, allocations: 3.337 MB / 361.3 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2292, allocations: 3.75 kB / 361.3 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.2313, allocations: 1.728 MB / 363 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004555/0.2318, allocations: 79.97 kB / 363.1 MB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009603/0.2327, allocations: 75.95 kB / 363.2 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004453/0.2332, allocations: 145.7 kB / 363.3 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.399e-05/0.2333, allocations: 39.97 kB / 363.4 MB, free: 4.102 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002271/0.2355, allocations: 2.027 MB / 365.4 MB, free: 2.328 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2355, allocations: 0 / 365.4 MB, free: 2.328 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002133/0.2377, allocations: 1.317 MB / 366.7 MB, free: 1.008 MB / 314.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 (178): * Single equations (assignments): 175 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.2387, allocations: 0.6082 MB / 367.3 MB, free: 448 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.2406, allocations: 1.352 MB / 368.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.028e-05/0.2407, allocations: 68.44 kB / 368.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007947/0.2415, allocations: 0.7605 MB / 369.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.2439, allocations: 1.41 MB / 370.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/0.2708, allocations: 11.29 MB / 382.2 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/0.2725, allocations: 1.516 MB / 383.7 MB, free: 60 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002151/0.2746, allocations: 0.5016 MB / 384.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/0.2765, allocations: 0.827 MB / 385 MB, free: 14.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2765, allocations: 0 / 385 MB, free: 14.71 MB / 346.7 MB Notification: Performance of Templates: time 0.1864/0.4629, allocations: 83.74 MB / 468.8 MB, free: 106.4 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.makefile [Timeout 660] (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=240 -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.869616039097309]