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.001784/0.001784, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00224/0.00224, allocations: 220 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 207.7 MB / 233.9 MB, free: 9.77 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.0759/0.0759, allocations: 7.134 MB / 293.3 MB, free: 14.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="cs",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.003445/0.003445, allocations: 71.73 kB / 409.8 MB, free: 47.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08524/0.08868, allocations: 50.75 MB / 460.6 MB, free: 14.16 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.01856/0.1072, allocations: 9.309 MB / 469.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01307/0.1203, allocations: 5.468 MB / 475.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004545/0.1249, allocations: 71.69 kB / 475.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006188/0.131, allocations: 1.532 MB / 477 MB, free: 13.7 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.003784/0.1348, allocations: 0.6357 MB / 477.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.1386, allocations: 1.226 MB / 478.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01993/0.1586, allocations: 10.61 MB / 489.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007706/0.1663, allocations: 3.278 MB / 492.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005061/0.1713, allocations: 3.798 MB / 496.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005575/0.1769, allocations: 3.678 MB / 0.4885 GB, free: 6.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00276/0.1797, allocations: 1.281 MB / 0.4897 GB, free: 5.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.1829, allocations: 1.34 MB / 0.491 GB, free: 3.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003592/0.1865, allocations: 2.526 MB / 0.4935 GB, free: 1.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006484/0.193, allocations: 3.49 MB / 0.4969 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02166/0.2147, allocations: 17.63 MB / 0.5141 GB, free: 12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.2147, allocations: 4 kB / 0.5141 GB, free: 11.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2147, allocations: 0 / 0.5141 GB, free: 11.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003854/0.2151, allocations: 0 / 0.5141 GB, free: 11.99 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.02322/0.2383, allocations: 9.413 MB / 0.5233 GB, free: 2.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.2383, allocations: 15.98 kB / 0.5233 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002253/0.2386, allocations: 132.5 kB / 0.5234 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001998/0.2406, allocations: 0.7838 MB / 0.5242 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.2426, allocations: 0.7733 MB / 0.525 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2223/0.4649, allocations: 8.687 MB / 0.5334 GB, free: 55.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/0.4652, allocations: 366.2 kB / 0.5338 GB, free: 54.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002142/0.4674, allocations: 440 kB / 0.5342 GB, free: 54.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02054/0.4879, allocations: 8.03 MB / 0.5421 GB, free: 51.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.488, allocations: 15.7 kB / 0.5421 GB, free: 51.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006739/0.4887, allocations: 183.6 kB / 0.5422 GB, free: 51.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/0.4889, allocations: 155 kB / 0.5424 GB, free: 51.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.501, allocations: 6.557 MB / 0.5488 GB, free: 46.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04309/0.5441, allocations: 28.84 MB / 0.577 GB, free: 17.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005947/0.55, allocations: 4.416 MB / 0.5813 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00341/0.5535, allocations: 2.452 MB / 0.5837 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.5536, allocations: 30.84 kB / 0.5837 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002836/0.5564, allocations: 2.457 MB / 0.5861 GB, free: 8.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 5.19e-06/0.5564, allocations: 0 / 0.5861 GB, free: 8.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=266): time 0.03599/0.5924, allocations: 17.04 MB / 0.6027 GB, free: 7.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002574/0.5927, allocations: 397.9 kB / 0.6031 GB, free: 7.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02125/0.6139, allocations: 10.83 MB / 0.6137 GB, free: 12.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00067/0.6146, allocations: 85.7 kB / 0.6138 GB, free: 12.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004563/0.6192, allocations: 3.1 MB / 0.6168 GB, free: 9.305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/0.6206, allocations: 0.96 MB / 0.6177 GB, free: 8.355 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.622, allocations: 0.6513 MB / 0.6184 GB, free: 7.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6221, allocations: 305.1 kB / 0.6187 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004429/0.6266, allocations: 2.598 MB / 0.6212 GB, free: 4.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005375/0.6319, allocations: 3.72 MB / 0.6248 GB, free: 0.707 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03002/0.662, allocations: 12.4 MB / 0.637 GB, free: 3.996 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.662, allocations: 4 kB / 0.637 GB, free: 3.992 MB / 446.1 MB Notification: Performance of matching and sorting (n=394) (initialization): time 0.01367/0.6756, allocations: 6.649 MB / 0.6434 GB, free: 13.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.6757, allocations: 16 kB / 0.6435 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.6757, allocations: 16 kB / 0.6435 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.676, allocations: 121.6 kB / 0.6436 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/0.6799, allocations: 0.948 MB / 0.6445 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/0.683, allocations: 3.385 MB / 0.6478 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/0.6873, allocations: 359.7 kB / 0.6482 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006117/0.6879, allocations: 121.4 kB / 0.6483 GB, free: 8.102 MB / 462.1 MB Warning: Assuming fixed start value for the following 3 variables: $outputAlias_Vcell[3,1]:VARIABLE(unit = \"V\" fixed = true ) type: Real [3,1] $outputAlias_Vcell[2,1]:VARIABLE(unit = \"V\" fixed = true ) type: Real [3,1] $outputAlias_Vstack:VARIABLE(unit = \"V\" fixed = true ) type: Real 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 (386): * Single equations (assignments): 384 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007285/0.6952, allocations: 4.047 MB / 0.6522 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002164/0.6974, allocations: 0.5511 MB / 0.6528 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/0.7089, allocations: 5.799 MB / 0.6584 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/0.7089, allocations: 28 kB / 0.6585 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.7089, allocations: 0 / 0.6585 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/0.7089, allocations: 11.95 kB / 0.6585 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03008/0.739, allocations: 14.95 MB / 0.6731 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.739, allocations: 0 / 0.6731 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003326/0.7424, allocations: 0.7879 MB / 0.6738 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.621e-05/0.7424, allocations: 12 kB / 0.6739 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003285/0.7427, allocations: 115.9 kB / 0.674 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.751e-05/0.7427, allocations: 19.92 kB / 0.674 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7427, allocations: 0 / 0.674 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/0.7581, allocations: 8.782 MB / 0.6826 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006021/0.7641, allocations: 1.992 MB / 0.6845 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002229/0.7664, allocations: 120 kB / 0.6846 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/0.7697, allocations: 315.5 kB / 0.6849 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005654/0.7703, allocations: 193.7 kB / 0.6851 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/0.7705, allocations: 71.97 kB / 0.6852 GB, free: 1.992 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01551/0.786, allocations: 7.656 MB / 0.6926 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.786, allocations: 0 / 0.6926 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00545/0.7914, allocations: 1.086 MB / 0.6937 GB, free: 9.246 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 25 ($outputAlias_Vstack,$outputAlias_Vcell[2,1],$outputAlias_Vcell[3,1],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].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].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].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 (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01718/0.8086, allocations: 9.838 MB / 0.7033 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009938/0.8186, allocations: 5.559 MB / 0.7087 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.8186, allocations: 0.6875 kB / 0.7087 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004181/0.8228, allocations: 2.467 MB / 0.7112 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/0.8335, allocations: 1.392 MB / 0.7125 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.375/1.208, allocations: 86.01 MB / 0.7965 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005248/1.214, allocations: 5.488 MB / 0.8019 GB, free: 138 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005556/1.219, allocations: 2.78 MB / 0.8046 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005101/1.224, allocations: 2.64 MB / 0.8072 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/1.224, allocations: 0 / 0.8072 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.399/1.623, allocations: 165.8 MB / 0.9691 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.24/25.86, allocations: 0 / 0.9691 GB, free: 163.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_fmu --startTime=0 --stopTime=20000 --stepSize=1 --timeout=50 --tolerance=1e-06 ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling.fmu > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 34.73341910995077] Failed to read output from testmodel.py, exit status != 0: 26.162354983971454 26.176767093 25.958762295 Calling exit ...