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.001828/0.001828, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002397/0.002397, allocations: 218.7 kB / 22.26 MB, free: 5.082 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.483/1.483, 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.05455/0.05455, allocations: 7.149 MB / 292.4 MB, free: 14.68 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: "" <> 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.002278/0.002278, allocations: 73.31 kB / 409 MB, free: 47.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07879/0.08107, allocations: 50.75 MB / 459.8 MB, free: 14.35 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.01591/0.09698, allocations: 10.77 MB / 470.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.1075, allocations: 5.811 MB / 476.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.1099, allocations: 67.69 kB / 476.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004361/0.1142, allocations: 1.582 MB / 478 MB, free: 12.03 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.002801/0.117, allocations: 0.6396 MB / 478.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.1202, allocations: 1.221 MB / 479.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01739/0.1376, allocations: 10.62 MB / 490.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006364/0.144, allocations: 3.278 MB / 493.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005461/0.1495, allocations: 3.798 MB / 497.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005828/0.1553, allocations: 3.682 MB / 0.4895 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003127/0.1584, allocations: 1.281 MB / 0.4908 GB, free: 3.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.162, allocations: 1.324 MB / 0.4921 GB, free: 2.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00355/0.1656, allocations: 2.537 MB / 0.4945 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00902/0.1746, allocations: 4.681 MB / 0.4991 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02389/0.1985, allocations: 17.56 MB / 0.5163 GB, free: 9.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1985, allocations: 0 / 0.5163 GB, free: 9.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1985, allocations: 3.938 kB / 0.5163 GB, free: 9.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004629/0.199, allocations: 0 / 0.5163 GB, free: 9.191 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.216/0.415, allocations: 9.408 MB / 0.5254 GB, free: 55.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.4151, allocations: 13.89 kB / 0.5255 GB, free: 55.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003003/0.4181, allocations: 0.7786 MB / 0.5262 GB, free: 55.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.4211, allocations: 0.7738 MB / 0.527 GB, free: 55.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01878/0.4399, allocations: 8.677 MB / 0.5354 GB, free: 52.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003404/0.4402, allocations: 363.6 kB / 0.5358 GB, free: 51.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/0.4418, allocations: 432.6 kB / 0.5362 GB, free: 51.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.4593, allocations: 7.617 MB / 0.5436 GB, free: 48.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.4594, allocations: 12.89 kB / 0.5437 GB, free: 48.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007148/0.4602, allocations: 179.5 kB / 0.5438 GB, free: 48.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.4603, allocations: 154.6 kB / 0.544 GB, free: 48.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/0.4735, allocations: 6.529 MB / 0.5504 GB, free: 43.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04552/0.519, allocations: 31.3 MB / 0.5809 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005441/0.5244, allocations: 4.331 MB / 0.5851 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003184/0.5276, allocations: 2.378 MB / 0.5875 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.5277, allocations: 25.91 kB / 0.5875 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002802/0.5305, allocations: 2.164 MB / 0.5896 GB, free: 3.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=203): time 4.489e-06/0.5305, allocations: 0 / 0.5896 GB, free: 3.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=203): time 0.01322/0.5438, allocations: 6.449 MB / 0.5959 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003136/0.5441, allocations: 393.8 kB / 0.5963 GB, free: 12.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02256/0.5666, allocations: 10.83 MB / 0.6069 GB, free: 1.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007423/0.5674, allocations: 73.7 kB / 0.6069 GB, free: 1.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004799/0.5722, allocations: 3.12 MB / 0.61 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001428/0.5736, allocations: 0.7323 MB / 0.6107 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.5748, allocations: 0.5598 MB / 0.6112 GB, free: 13.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5749, allocations: 309.1 kB / 0.6115 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/0.5782, allocations: 1.977 MB / 0.6135 GB, free: 11.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003968/0.5822, allocations: 2.769 MB / 0.6162 GB, free: 8.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02227/0.6044, allocations: 9.426 MB / 0.6254 GB, free: 14.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.6045, allocations: 4 kB / 0.6254 GB, free: 14.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01323/0.6177, allocations: 5.546 MB / 0.6308 GB, free: 8.949 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.6177, allocations: 16 kB / 0.6308 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.6178, allocations: 16 kB / 0.6308 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.619, allocations: 468.9 kB / 0.6313 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.6218, allocations: 0.6551 MB / 0.6319 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006959/0.6287, allocations: 4.771 MB / 0.6366 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/0.6332, allocations: 476.4 kB / 0.637 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005368/0.6338, allocations: 104 kB / 0.6371 GB, free: 2.336 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.007068/0.6409, allocations: 3.94 MB / 0.641 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/0.6428, allocations: 0.5394 MB / 0.6415 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009342/0.6522, allocations: 4.63 MB / 0.646 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.6522, allocations: 16 kB / 0.646 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6522, allocations: 4 kB / 0.646 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.6522, allocations: 15.95 kB / 0.6461 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03028/0.6825, allocations: 14.17 MB / 0.6599 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.6825, allocations: 0 / 0.6599 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/0.6847, allocations: 495.2 kB / 0.6604 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.6858, allocations: 416.7 kB / 0.6608 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002937/0.6861, allocations: 91.89 kB / 0.6608 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006418/0.6925, allocations: 4.479 MB / 0.6652 GB, free: 5.312 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6925, allocations: 0 / 0.6652 GB, free: 5.312 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/0.7055, allocations: 6.933 MB / 0.672 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005737/0.7112, allocations: 1.851 MB / 0.6738 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002349/0.7136, allocations: 83.97 kB / 0.6739 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/0.7167, allocations: 251.6 kB / 0.6741 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/0.7172, allocations: 157.6 kB / 0.6743 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/0.7174, allocations: 51.98 kB / 0.6743 GB, free: 11.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01468/0.732, allocations: 7.652 MB / 0.6818 GB, free: 4.309 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.732, allocations: 112 / 0.6818 GB, free: 4.309 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005141/0.7372, allocations: 1.298 MB / 0.6831 GB, free: 3.008 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.01384/0.751, allocations: 7.9 MB / 0.6908 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007666/0.7587, allocations: 4.389 MB / 0.6951 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.7587, allocations: 7.938 kB / 0.6951 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003379/0.7621, allocations: 2.086 MB / 0.6971 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006677/0.7688, allocations: 1.378 MB / 0.6985 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3582/1.127, allocations: 81.52 MB / 0.7781 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006976/1.134, allocations: 5.834 MB / 0.7838 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006207/1.14, allocations: 2.458 MB / 0.7862 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006144/1.146, allocations: 2.522 MB / 0.7886 GB, free: 150 MB / 0.5294 GB Notification: Performance of SimCode: time 1.734e-06/1.146, allocations: 3.938 kB / 0.7886 GB, free: 150 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4168/1.563, allocations: 157.4 MB / 0.9423 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.19/28.75, allocations: 1.344 kB / 0.9423 GB, free: 149.7 MB / 0.5294 GB " [Timeout remaining time 631] (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: 31.81163091799681] Failed to read output from testmodel.py, exit status != 0: 28.993735474003188 29.01557383 28.812454141 Calling exit ...