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.0008423/0.0008423, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008514/0.0008514, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8827/0.8827, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.03285/0.03285, allocations: 5.557 MB / 242 MB, free: 9.773 MB / 234.7 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: "" <> 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: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 358.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.786e-05, allocations: 6.219 kB / 358.7 MB, free: 5.871 MB / 282.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 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.007834/0.007852, allocations: 9.35 MB / 368.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008135/0.01599, allocations: 5.495 MB / 373.6 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.01784, allocations: 67.69 kB / 373.6 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.0208, allocations: 1.543 MB / 375.2 MB, free: 5.336 MB / 298.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.001775/0.02258, allocations: 0.6549 MB / 375.8 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.02426, allocations: 1.236 MB / 377.1 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007665/0.03193, allocations: 10.82 MB / 387.9 MB, free: 8.602 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00379/0.03572, allocations: 3.575 MB / 391.4 MB, free: 4.934 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004815/0.04053, allocations: 6.046 MB / 397.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003443/0.04397, allocations: 4.119 MB / 401.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.04512, allocations: 1.281 MB / 402.9 MB, free: 9.473 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009431/0.04606, allocations: 1.328 MB / 404.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.04756, allocations: 2.564 MB / 406.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002365/0.04992, allocations: 2.987 MB / 409.8 MB, free: 2.582 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.06279, allocations: 17.78 MB / 427.6 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.06279, allocations: 0 / 427.6 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.06279, allocations: 0 / 427.6 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003355/0.06313, allocations: 4 kB / 427.6 MB, free: 0.7539 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1082 * Number of variables: 1082 Notification: Performance of Generate backend data structure: time 0.01359/0.07672, allocations: 9.339 MB / 436.9 MB, free: 7.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.07677, allocations: 11.98 kB / 436.9 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008891/0.07766, allocations: 0.7835 MB / 437.7 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009127/0.07857, allocations: 0.7695 MB / 438.5 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1793/0.2579, allocations: 8.678 MB / 447.1 MB, free: 66.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/0.2582, allocations: 367.3 kB / 447.5 MB, free: 66.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007879/0.259, allocations: 437 kB / 447.9 MB, free: 66.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009878/0.2689, allocations: 7.991 MB / 455.9 MB, free: 62.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-05/0.2689, allocations: 9.188 kB / 455.9 MB, free: 62.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.2692, allocations: 177.8 kB / 456.1 MB, free: 62.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.2693, allocations: 155 kB / 456.3 MB, free: 62.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00653/0.2759, allocations: 6.533 MB / 462.8 MB, free: 59.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02529/0.3012, allocations: 28.68 MB / 491.5 MB, free: 32.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003543/0.3047, allocations: 4.304 MB / 495.8 MB, free: 28.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/0.3068, allocations: 2.376 MB / 498.1 MB, free: 25.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.039e-05/0.3069, allocations: 33.92 kB / 498.2 MB, free: 25.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.3086, allocations: 2.39 MB / 0.4888 GB, free: 23.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=203): time 3.326e-06/0.3086, allocations: 0 / 0.4888 GB, free: 23.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=203): time 0.006657/0.3153, allocations: 6.454 MB / 0.4951 GB, free: 16.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.3153, allocations: 389.8 kB / 0.4955 GB, free: 16.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008855/0.3242, allocations: 10.85 MB / 0.5061 GB, free: 5.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.3244, allocations: 77.69 kB / 0.5062 GB, free: 5.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002215/0.3266, allocations: 3.109 MB / 0.5092 GB, free: 2.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006135/0.3272, allocations: 0.725 MB / 0.5099 GB, free: 1.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006076/0.3278, allocations: 0.5552 MB / 0.5105 GB, free: 1.391 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.3278, allocations: 305.1 kB / 0.5108 GB, free: 1.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.3297, allocations: 1.987 MB / 0.5127 GB, free: 15.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/0.3323, allocations: 3.062 MB / 0.5157 GB, free: 11.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/0.344, allocations: 9.431 MB / 0.5249 GB, free: 1.996 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.3441, allocations: 7.938 kB / 0.5249 GB, free: 1.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.006768/0.3508, allocations: 5.551 MB / 0.5303 GB, free: 12.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.3508, allocations: 12.62 kB / 0.5303 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.3509, allocations: 16 kB / 0.5304 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006953/0.3516, allocations: 468.8 kB / 0.5308 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.3531, allocations: 0.6551 MB / 0.5314 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.3571, allocations: 4.7 MB / 0.536 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.3593, allocations: 483.6 kB / 0.5365 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.3595, allocations: 104 kB / 0.5366 GB, free: 5.969 MB / 394.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 ($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.005488/0.365, allocations: 3.944 MB / 0.5404 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009104/0.3659, allocations: 0.5316 MB / 0.541 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005546/0.3714, allocations: 4.63 MB / 0.5455 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3714, allocations: 20 kB / 0.5455 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3714, allocations: 0 / 0.5455 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.3714, allocations: 15.91 kB / 0.5455 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.3848, allocations: 12.96 MB / 0.5582 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3848, allocations: 4 kB / 0.5582 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.3859, allocations: 491.2 kB / 0.5586 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006174/0.3865, allocations: 420.6 kB / 0.559 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.3866, allocations: 87.95 kB / 0.5591 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003916/0.3905, allocations: 4.436 MB / 0.5635 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3905, allocations: 0 / 0.5635 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00706/0.3976, allocations: 6.927 MB / 0.5702 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/0.3999, allocations: 1.852 MB / 0.572 GB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004893/0.4004, allocations: 75.98 kB / 0.5721 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009939/0.4014, allocations: 251.6 kB / 0.5723 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/0.4016, allocations: 159.3 kB / 0.5725 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.4017, allocations: 59.92 kB / 0.5726 GB, free: 1.012 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008615/0.4103, allocations: 7.646 MB / 0.58 GB, free: 9.363 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4103, allocations: 0 / 0.58 GB, free: 9.363 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002667/0.413, allocations: 1.306 MB / 0.5813 GB, free: 8.055 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (charger.controlledCurrent.limitedController.limIntegrator.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y) * Number of discrete variables: 23 (cycler.cycling.AfterChargingDelay.u,cycler.cycling.BeforeChargingDelay.u,$whenCondition2,$whenCondition1,cycler.Discharging,cycler.Charging,cycler.cycling.rSFlipFlop.pre.u,cycler.cycling.lessVinMin.y,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,cycler.cycling.edge1.u,cycler.cycling.edge1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.or1.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.chargingFinished.fallingEdge.y,cycler.chargingFinished.fallingEdge.not_u) * Number of discrete states: 5 (cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.rSFlipFlop.pre.u,cycler.chargingFinished.fallingEdge.not_u,cycler.cycling.edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007569/0.4206, allocations: 7.906 MB / 0.589 GB, free: 128 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005045/0.4256, allocations: 4.389 MB / 0.5933 GB, free: 11.72 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.4256, allocations: 0 / 0.5933 GB, free: 11.72 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.4279, allocations: 2.078 MB / 0.5953 GB, free: 9.633 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/0.4313, allocations: 1.386 MB / 0.5967 GB, free: 8.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4159/0.8471, allocations: 81.96 MB / 0.6767 GB, free: 96.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003549/0.8507, allocations: 5.353 MB / 0.682 GB, free: 91.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003226/0.8539, allocations: 2.458 MB / 0.6844 GB, free: 88.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00241/0.8563, allocations: 2.519 MB / 0.6868 GB, free: 86.42 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8563, allocations: 0 / 0.6868 GB, free: 86.42 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3017/1.158, allocations: 158.5 MB / 0.8416 GB, free: 113.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.58, allocations: 8.797 kB / 0.8416 GB, free: 113.8 MB / 474.7 MB " [Timeout remaining time 645] (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: 16.540091118775308] Failed to read output from testmodel.py, exit status != 0: 14.739106424152851 14.749136941 14.68337437 Calling exit ...