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.001417/0.001417, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001804/0.001804, allocations: 218.1 kB / 22.26 MB, free: 5.113 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.645/1.645, allocations: 207.6 MB / 233 MB, free: 10 MB / 190.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.06627/0.06627, allocations: 7.144 MB / 292.4 MB, free: 14.69 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.002272/0.002272, allocations: 76.14 kB / 409.5 MB, free: 47.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08899, allocations: 50.75 MB / 460.3 MB, free: 13.86 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.01578/0.1048, allocations: 10.77 MB / 471.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.1169, allocations: 5.815 MB / 476.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.1202, allocations: 71.69 kB / 476.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004333/0.1245, allocations: 1.582 MB / 478.5 MB, free: 11.53 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.002929/0.1274, allocations: 0.6357 MB / 479.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.1301, allocations: 1.218 MB / 480.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01423/0.1443, allocations: 10.63 MB / 491 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006542/0.1508, allocations: 3.266 MB / 494.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008057/0.1589, allocations: 3.81 MB / 498.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008071/0.167, allocations: 3.674 MB / 0.49 GB, free: 4.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004077/0.171, allocations: 1.281 MB / 0.4913 GB, free: 2.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004554/0.1756, allocations: 1.324 MB / 0.4925 GB, free: 1.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005124/0.1807, allocations: 2.537 MB / 0.495 GB, free: 15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01086/0.1916, allocations: 4.681 MB / 0.4996 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0274/0.219, allocations: 17.55 MB / 0.5167 GB, free: 8.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.219, allocations: 7.922 kB / 0.5167 GB, free: 8.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.219, allocations: 4 kB / 0.5167 GB, free: 8.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005331/0.2195, allocations: 0 / 0.5167 GB, free: 8.691 MB / 398.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.3136/0.5331, allocations: 9.404 MB / 0.5259 GB, free: 56.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.5331, allocations: 13.58 kB / 0.5259 GB, free: 56.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.5364, allocations: 0.7689 MB / 0.5267 GB, free: 55.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02167/0.558, allocations: 8.668 MB / 0.5352 GB, free: 52.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006625/0.5587, allocations: 356.9 kB / 0.5355 GB, free: 52.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002415/0.5611, allocations: 437 kB / 0.5359 GB, free: 52.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02656/0.5877, allocations: 7.588 MB / 0.5433 GB, free: 48.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002327/0.5879, allocations: 17.27 kB / 0.5433 GB, free: 48.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0021/0.59, allocations: 179.3 kB / 0.5435 GB, free: 48.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/0.5902, allocations: 150.3 kB / 0.5437 GB, free: 48.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/0.6057, allocations: 6.514 MB / 0.55 GB, free: 44.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06057/0.6663, allocations: 31.22 MB / 0.5805 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007272/0.6736, allocations: 4.329 MB / 0.5847 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004342/0.6779, allocations: 2.384 MB / 0.5871 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.6782, allocations: 41.03 kB / 0.5871 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003395/0.6816, allocations: 2.16 MB / 0.5892 GB, free: 4.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=203): time 6.742e-06/0.6816, allocations: 0 / 0.5892 GB, free: 4.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=203): time 0.01542/0.697, allocations: 6.457 MB / 0.5955 GB, free: 13.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002895/0.6973, allocations: 381.8 kB / 0.5959 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02687/0.7242, allocations: 10.84 MB / 0.6065 GB, free: 2.594 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009298/0.7251, allocations: 71.34 kB / 0.6065 GB, free: 2.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005807/0.7309, allocations: 3.096 MB / 0.6096 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00161/0.7325, allocations: 0.7439 MB / 0.6103 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.7338, allocations: 0.556 MB / 0.6108 GB, free: 14.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.734, allocations: 301.1 kB / 0.6111 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00363/0.7376, allocations: 1.982 MB / 0.6131 GB, free: 12.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/0.7424, allocations: 2.773 MB / 0.6158 GB, free: 8.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02281/0.7653, allocations: 9.413 MB / 0.625 GB, free: 15.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/0.7653, allocations: 12 kB / 0.625 GB, free: 15.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01394/0.7792, allocations: 5.548 MB / 0.6304 GB, free: 9.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.7793, allocations: 12 kB / 0.6304 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.984e-05/0.7793, allocations: 20.11 kB / 0.6304 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.7806, allocations: 469.4 kB / 0.6309 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/0.7835, allocations: 0.6551 MB / 0.6315 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007527/0.791, allocations: 4.771 MB / 0.6362 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/0.7962, allocations: 481.6 kB / 0.6366 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008698/0.7971, allocations: 104 kB / 0.6367 GB, free: 3.113 MB / 446.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.01015/0.8072, allocations: 3.945 MB / 0.6406 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003326/0.8105, allocations: 0.5355 MB / 0.6411 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.8231, allocations: 4.622 MB / 0.6456 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/0.8232, allocations: 20 kB / 0.6456 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/0.8232, allocations: 4 kB / 0.6456 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.326e-05/0.8232, allocations: 15.89 kB / 0.6456 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0377/0.8609, allocations: 14.16 MB / 0.6595 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.8609, allocations: 0 / 0.6595 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/0.8633, allocations: 495.2 kB / 0.66 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.8645, allocations: 415.1 kB / 0.6603 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000458/0.865, allocations: 83.97 kB / 0.6604 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007015/0.872, allocations: 4.491 MB / 0.6648 GB, free: 6.102 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.872, allocations: 0 / 0.6648 GB, free: 6.102 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01473/0.8867, allocations: 6.93 MB / 0.6716 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006395/0.8931, allocations: 1.843 MB / 0.6734 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002807/0.8959, allocations: 83.97 kB / 0.6735 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004027/0.9, allocations: 251.6 kB / 0.6737 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007183/0.9007, allocations: 157.6 kB / 0.6739 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003282/0.901, allocations: 51.98 kB / 0.6739 GB, free: 12.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.02057/0.9216, allocations: 7.652 MB / 0.6814 GB, free: 5.105 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9216, allocations: 0 / 0.6814 GB, free: 5.105 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007524/0.9291, allocations: 1.306 MB / 0.6827 GB, free: 3.797 MB / 494.1 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.002186/0.9313, allocations: 480.5 kB / 0.6831 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00945/0.9407, allocations: 4.385 MB / 0.6874 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.9408, allocations: 8.125 kB / 0.6874 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004173/0.9449, allocations: 2.086 MB / 0.6894 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/0.9549, allocations: 1.378 MB / 0.6908 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03562/0.9906, allocations: 16.81 MB / 0.7072 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008818/0.9994, allocations: 5.825 MB / 0.7129 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006841/1.006, allocations: 2.451 MB / 0.7153 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/1.008, allocations: 279.4 kB / 0.7155 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of SimCode: time 1.773e-06/1.008, allocations: 8 kB / 0.7156 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.3879/1.396, allocations: 83.96 MB / 0.7975 GB, free: 138.5 MB / 0.5294 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 -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.98458858509548] Failed to read output from testmodel.py, exit status != 0: 1.4063335410319269 1.417042726 1.195316346 Calling exit ...