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.001683/0.001683, allocations: 77.86 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001996/0.001996, allocations: 162.4 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.333/1.333, allocations: 158.6 MB / 184.8 MB, free: 6.184 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo): time 0.05463/0.05463, allocations: 5.568 MB / 242.6 MB, free: 13.54 MB / 238.1 MB " [Timeout remaining time 180] Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ElectricalEnergyStorage requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 71.91 kB / 359.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.0992, allocations: 50.72 MB / 410.3 MB, free: 9.465 MB / 334.1 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 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.01501/0.1142, allocations: 9.322 MB / 419.7 MB, free: 100 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.1252, allocations: 5.492 MB / 425.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.1274, allocations: 67.69 kB / 425.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00435/0.1318, allocations: 1.532 MB / 426.8 MB, free: 8.977 MB / 350.1 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.002686/0.1344, allocations: 0.6396 MB / 427.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.137, allocations: 1.214 MB / 428.6 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2134/0.3504, allocations: 10.62 MB / 439.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00594/0.3563, allocations: 3.566 MB / 442.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006169/0.3625, allocations: 4.156 MB / 447 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008389/0.3709, allocations: 4.55 MB / 451.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004219/0.3751, allocations: 1.281 MB / 452.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004722/0.3798, allocations: 1.332 MB / 454.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.3839, allocations: 2.525 MB / 456.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009179/0.393, allocations: 3.658 MB / 460.3 MB, free: 0 / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0195/0.4125, allocations: 17.64 MB / 477.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4125, allocations: 0.6875 kB / 477.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4125, allocations: 0 / 477.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003913/0.4129, allocations: 3.094 kB / 477.9 MB, free: 5.344 MB / 366.1 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.02775/0.4407, allocations: 9.413 MB / 487.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.4407, allocations: 15.98 kB / 487.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004324/0.4451, allocations: 0.7695 MB / 488.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0201/0.4652, allocations: 8.674 MB / 496.8 MB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005495/0.4657, allocations: 364.8 kB / 497.2 MB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/0.4678, allocations: 428.5 kB / 497.6 MB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0206/0.4884, allocations: 7.965 MB / 0.4937 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002074/0.4886, allocations: 7.469 kB / 0.4937 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001555/0.4901, allocations: 172 kB / 0.4939 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002027/0.4903, allocations: 159.6 kB / 0.494 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.506, allocations: 6.502 MB / 0.5004 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05767/0.5637, allocations: 27.9 MB / 0.5276 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008367/0.572, allocations: 4.32 MB / 0.5318 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004568/0.5766, allocations: 2.375 MB / 0.5342 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.5768, allocations: 29.98 kB / 0.5342 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004286/0.581, allocations: 2.392 MB / 0.5365 GB, free: 13.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=203): time 4.719e-06/0.581, allocations: 0 / 0.5365 GB, free: 13.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=203): time 0.0148/0.5959, allocations: 6.422 MB / 0.5428 GB, free: 7.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003065/0.5962, allocations: 386 kB / 0.5432 GB, free: 6.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02114/0.6173, allocations: 10.33 MB / 0.5533 GB, free: 12.64 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006482/0.618, allocations: 77.7 kB / 0.5533 GB, free: 12.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00446/0.6224, allocations: 3.07 MB / 0.5563 GB, free: 9.492 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00124/0.6237, allocations: 0.7376 MB / 0.5571 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.6248, allocations: 0.5637 MB / 0.5576 GB, free: 8.195 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6249, allocations: 301.1 kB / 0.5579 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003479/0.6284, allocations: 1.981 MB / 0.5598 GB, free: 5.914 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004556/0.6329, allocations: 3.073 MB / 0.5628 GB, free: 2.488 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02199/0.6549, allocations: 9.428 MB / 0.572 GB, free: 8.883 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.6549, allocations: 8 kB / 0.572 GB, free: 8.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01104/0.666, allocations: 5.515 MB / 0.5774 GB, free: 3.457 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.666, allocations: 16 kB / 0.5774 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/0.666, allocations: 16.91 kB / 0.5775 GB, free: 3.426 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.6673, allocations: 472 kB / 0.5779 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/0.6698, allocations: 0.6527 MB / 0.5785 GB, free: 2.348 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/0.6767, allocations: 4.664 MB / 0.5831 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003944/0.6806, allocations: 453.8 kB / 0.5835 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004427/0.6811, allocations: 104 kB / 0.5836 GB, free: 13.06 MB / 494.1 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 ($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,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.007303/0.6884, allocations: 3.936 MB / 0.5875 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002016/0.6904, allocations: 0.5006 MB / 0.588 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00924/0.6996, allocations: 4.607 MB / 0.5925 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.6997, allocations: 20 kB / 0.5925 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6997, allocations: 0 / 0.5925 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/0.6997, allocations: 11.95 kB / 0.5925 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/0.7252, allocations: 12.41 MB / 0.6046 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.7252, allocations: 0 / 0.6046 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/0.7274, allocations: 484.5 kB / 0.6051 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.7285, allocations: 422.1 kB / 0.6055 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/0.7288, allocations: 83.95 kB / 0.6056 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006439/0.7352, allocations: 4.396 MB / 0.6098 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7352, allocations: 4 kB / 0.6098 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/0.7477, allocations: 6.894 MB / 0.6166 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006116/0.7538, allocations: 1.781 MB / 0.6183 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001494/0.7553, allocations: 83.98 kB / 0.6184 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/0.7573, allocations: 247.6 kB / 0.6186 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004686/0.7578, allocations: 160.3 kB / 0.6188 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/0.758, allocations: 51.98 kB / 0.6188 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0154/0.7734, allocations: 7.254 MB / 0.6259 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7734, allocations: 0 / 0.6259 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006947/0.7803, allocations: 1.329 MB / 0.6272 GB, free: 368 kB / 0.5137 GB 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.2082/0.9885, allocations: 0.4926 MB / 0.6277 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008875/0.9974, allocations: 4.395 MB / 0.632 GB, free: 174.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.9974, allocations: 1.531 kB / 0.632 GB, free: 174.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003704/1.001, allocations: 2.091 MB / 0.634 GB, free: 173.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008013/1.009, allocations: 1.177 MB / 0.6352 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/1.04, allocations: 16.76 MB / 0.6516 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005678/1.046, allocations: 5.359 MB / 0.6568 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004763/1.051, allocations: 2.301 MB / 0.659 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.052, allocations: 260.2 kB / 0.6593 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/1.052, allocations: 0 / 0.6593 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.1047/1.157, allocations: 75.24 MB / 0.7328 GB, free: 88.28 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.959068919997662] Failed to read output from testmodel.py, exit status != 0: 1.1650460649980232 1.174706115 0.7596929259999999 Calling exit ...