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.001808/0.001808, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.002303/0.002303, allocations: 212 kB / 19.43 MB, free: 3.637 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.563/1.563, allocations: 207.6 MB / 229.8 MB, free: 11.42 MB / 190.1 MB " [Timeout remaining time 178] 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.06132/0.06132, allocations: 7.126 MB / 288.8 MB, free: 15.9 MB / 238.1 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: "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me",version="2.0",platforms={"static"}) [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.002195/0.002195, allocations: 81.3 kB / 403.8 MB, free: 48.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.09018, allocations: 50.69 MB / 454.5 MB, free: 15.9 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 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.01656/0.1067, allocations: 10.7 MB / 465.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1186, allocations: 5.807 MB / 471 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002686/0.1212, allocations: 71.69 kB / 471.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004293/0.1255, allocations: 1.473 MB / 472.6 MB, free: 13.77 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.00307/0.1286, allocations: 0.6357 MB / 473.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.1317, allocations: 1.217 MB / 474.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01676/0.1484, allocations: 10.62 MB / 485 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009822/0.1583, allocations: 5.184 MB / 490.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005985/0.1642, allocations: 3.806 MB / 494 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0068/0.171, allocations: 3.674 MB / 497.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003883/0.1749, allocations: 1.285 MB / 499 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003915/0.1788, allocations: 1.328 MB / 0.4886 GB, free: 1.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004031/0.1829, allocations: 2.529 MB / 0.4911 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008892/0.1918, allocations: 4.685 MB / 0.4956 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02495/0.2167, allocations: 17.55 MB / 0.5128 GB, free: 9.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.2167, allocations: 0 / 0.5128 GB, free: 9.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2167, allocations: 4 kB / 0.5128 GB, free: 9.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005499/0.2173, allocations: 0 / 0.5128 GB, free: 9.02 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.03244/0.2497, allocations: 9.425 MB / 0.522 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.2498, allocations: 12.02 kB / 0.522 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003719/0.2535, allocations: 0.7796 MB / 0.5227 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004145/0.2576, allocations: 0.7694 MB / 0.5235 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02127/0.2789, allocations: 8.527 MB / 0.5318 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000521/0.2794, allocations: 361.6 kB / 0.5322 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/0.2817, allocations: 436 kB / 0.5326 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2298/0.5115, allocations: 7.62 MB / 0.54 GB, free: 69.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.5117, allocations: 17.97 kB / 0.54 GB, free: 69.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000959/0.5126, allocations: 182.4 kB / 0.5402 GB, free: 69.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/0.5128, allocations: 153.1 kB / 0.5404 GB, free: 69.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.5281, allocations: 6.53 MB / 0.5467 GB, free: 67.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05271/0.5808, allocations: 31.22 MB / 0.5772 GB, free: 45.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007387/0.5882, allocations: 8.213 MB / 0.5853 GB, free: 36.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003755/0.5919, allocations: 2.383 MB / 0.5876 GB, free: 34.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.5921, allocations: 29.91 kB / 0.5876 GB, free: 34.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003152/0.5953, allocations: 2.164 MB / 0.5897 GB, free: 31.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=203): time 5.78e-06/0.5953, allocations: 0 / 0.5897 GB, free: 31.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=203): time 0.01284/0.6081, allocations: 6.534 MB / 0.5961 GB, free: 25.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.6082, allocations: 389.8 kB / 0.5965 GB, free: 24.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02393/0.6322, allocations: 10.84 MB / 0.6071 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007688/0.6329, allocations: 69.7 kB / 0.6071 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004863/0.6378, allocations: 3.113 MB / 0.6102 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001379/0.6392, allocations: 0.737 MB / 0.6109 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002025/0.6412, allocations: 0.5599 MB / 0.6114 GB, free: 9.922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.6413, allocations: 301.1 kB / 0.6117 GB, free: 9.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003106/0.6444, allocations: 1.981 MB / 0.6137 GB, free: 7.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003629/0.648, allocations: 2.761 MB / 0.6164 GB, free: 4.586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02319/0.6712, allocations: 9.428 MB / 0.6256 GB, free: 10.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-05/0.6712, allocations: 4 kB / 0.6256 GB, free: 10.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01399/0.6852, allocations: 5.543 MB / 0.631 GB, free: 5.352 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.6853, allocations: 12 kB / 0.631 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/0.6853, allocations: 16 kB / 0.631 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.6867, allocations: 477.6 kB / 0.6315 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.6894, allocations: 0.659 MB / 0.6321 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007183/0.6966, allocations: 4.873 MB / 0.6369 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/0.7005, allocations: 486 kB / 0.6373 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005411/0.701, allocations: 104 kB / 0.6374 GB, free: 14.68 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.00719/0.7082, allocations: 3.938 MB / 0.6413 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002089/0.7103, allocations: 0.5316 MB / 0.6418 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.7208, allocations: 4.63 MB / 0.6463 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/0.7208, allocations: 24 kB / 0.6463 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.7208, allocations: 3.938 kB / 0.6463 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.591e-05/0.7209, allocations: 11.95 kB / 0.6463 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03072/0.7516, allocations: 14.06 MB / 0.6601 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.7516, allocations: 0 / 0.6601 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/0.7541, allocations: 487.2 kB / 0.6605 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.7553, allocations: 415 kB / 0.6609 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004176/0.7557, allocations: 91.95 kB / 0.661 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006864/0.7626, allocations: 4.599 MB / 0.6655 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7626, allocations: 0 / 0.6655 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.7772, allocations: 6.93 MB / 0.6723 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005502/0.7827, allocations: 1.81 MB / 0.6741 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002494/0.7852, allocations: 83.97 kB / 0.6741 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00381/0.789, allocations: 247.6 kB / 0.6744 GB, free: 8.684 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007213/0.7897, allocations: 153.7 kB / 0.6745 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003225/0.79, allocations: 55.98 kB / 0.6746 GB, free: 8.477 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.02113/0.8111, allocations: 7.652 MB / 0.682 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8111, allocations: 4 kB / 0.682 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006908/0.8181, allocations: 1.294 MB / 0.6833 GB, free: 15.62 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.01755/0.8356, allocations: 7.891 MB / 0.691 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009704/0.8453, allocations: 4.39 MB / 0.6953 GB, free: 3.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.8453, allocations: 4 kB / 0.6953 GB, free: 3.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004341/0.8497, allocations: 2.083 MB / 0.6973 GB, free: 1.207 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0105/0.8602, allocations: 1.365 MB / 0.6987 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3941/1.254, allocations: 81.41 MB / 0.7782 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008794/1.263, allocations: 5.833 MB / 0.7839 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006193/1.269, allocations: 2.459 MB / 0.7863 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006363/1.276, allocations: 2.518 MB / 0.7887 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.973e-06/1.276, allocations: 0 / 0.7887 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.192/1.468, allocations: 155.1 MB / 0.9402 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.63/26.1, allocations: 8.062 kB / 0.9402 GB, free: 8.141 MB / 0.5294 GB " [Timeout remaining time 634] (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 & python3 -m fmpy simulate --output-file ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_res.csv --start-time 0 --stop-time 20000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling.fmu > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.55469069443643] Failed to read output from testmodel.py, exit status != 0: 26.317381443921477 26.553438719 26.332792767 Calling exit ...