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.001309/0.001309, allocations: 116.1 kB / 17.17 MB, free: 6 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.001431/0.001431, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.46/1.46, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.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.05503/0.05503, allocations: 7.13 MB / 289.5 MB, free: 9.188 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.002233/0.002233, allocations: 72.42 kB / 404.5 MB, free: 2.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2397, allocations: 50.69 MB / 455.2 MB, free: 4.188 MB / 318.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.01197/0.2517, allocations: 10.71 MB / 465.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009477/0.2612, allocations: 5.816 MB / 471.7 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.2632, allocations: 65.56 kB / 471.8 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003563/0.2668, allocations: 1.482 MB / 473.3 MB, free: 6.207 MB / 334.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.002449/0.2693, allocations: 0.6317 MB / 473.9 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.2716, allocations: 1.214 MB / 475.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01453/0.2862, allocations: 10.62 MB / 485.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007137/0.2933, allocations: 5.198 MB / 490.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004832/0.2981, allocations: 3.794 MB / 494.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00569/0.3038, allocations: 3.674 MB / 498.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002817/0.3067, allocations: 1.281 MB / 499.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.3097, allocations: 1.328 MB / 0.4893 GB, free: 11.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003126/0.3128, allocations: 2.529 MB / 0.4917 GB, free: 8.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007595/0.3204, allocations: 4.677 MB / 0.4963 GB, free: 4.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02097/0.3414, allocations: 17.56 MB / 0.5135 GB, free: 2.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3414, allocations: 4 kB / 0.5135 GB, free: 2.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3414, allocations: 0 / 0.5135 GB, free: 2.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000353/0.3418, allocations: 4 kB / 0.5135 GB, free: 2.562 MB / 382.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.02637/0.3681, allocations: 9.422 MB / 0.5227 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3682, allocations: 8.031 kB / 0.5227 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001975/0.3684, allocations: 136.5 kB / 0.5228 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002755/0.3711, allocations: 0.7993 MB / 0.5236 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003001/0.3741, allocations: 0.7695 MB / 0.5243 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/0.3917, allocations: 8.535 MB / 0.5327 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004479/0.3922, allocations: 372.6 kB / 0.533 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/0.3938, allocations: 447.9 kB / 0.5335 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.4114, allocations: 7.642 MB / 0.5409 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.4116, allocations: 23.81 kB / 0.5409 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/0.4127, allocations: 176 kB / 0.5411 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.4128, allocations: 156.2 kB / 0.5413 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.4269, allocations: 6.552 MB / 0.5477 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06154/0.4884, allocations: 31.4 MB / 0.5783 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.4995, allocations: 8.302 MB / 0.5864 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005199/0.5047, allocations: 2.467 MB / 0.5888 GB, free: 3.758 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.5049, allocations: 25.98 kB / 0.5889 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004509/0.5094, allocations: 2.235 MB / 0.591 GB, free: 1.461 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 5.019e-06/0.5094, allocations: 0 / 0.591 GB, free: 1.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=266): time 0.04633/0.5557, allocations: 17.26 MB / 0.6079 GB, free: 52 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1927/0.7484, allocations: 392.4 kB / 0.6083 GB, free: 134.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02047/0.7689, allocations: 10.83 MB / 0.6189 GB, free: 131.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007849/0.7697, allocations: 84.2 kB / 0.6189 GB, free: 131.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00339/0.7731, allocations: 3.099 MB / 0.622 GB, free: 130.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.7744, allocations: 0.9649 MB / 0.6229 GB, free: 130 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.7756, allocations: 0.6491 MB / 0.6235 GB, free: 129.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.965e-05/0.7756, allocations: 305.1 kB / 0.6238 GB, free: 129.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/0.7789, allocations: 2.595 MB / 0.6264 GB, free: 128.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003586/0.7825, allocations: 3.425 MB / 0.6297 GB, free: 126.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02253/0.805, allocations: 12.4 MB / 0.6418 GB, free: 114.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.8051, allocations: 8 kB / 0.6418 GB, free: 114.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=394) (initialization): time 0.01038/0.8154, allocations: 6.815 MB / 0.6485 GB, free: 107.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.8155, allocations: 12 kB / 0.6485 GB, free: 107.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/0.8155, allocations: 16 kB / 0.6485 GB, free: 107.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.8157, allocations: 125.4 kB / 0.6486 GB, free: 107.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/0.819, allocations: 0.9478 MB / 0.6495 GB, free: 106.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.8209, allocations: 3.603 MB / 0.6531 GB, free: 102.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/0.8245, allocations: 359.6 kB / 0.6534 GB, free: 102.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004552/0.825, allocations: 116 kB / 0.6535 GB, free: 102.4 MB / 478.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.004882/0.8299, allocations: 4.06 MB / 0.6575 GB, free: 98.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001825/0.8317, allocations: 0.5472 MB / 0.658 GB, free: 97.81 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009461/0.8412, allocations: 5.95 MB / 0.6638 GB, free: 91.76 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.8412, allocations: 24 kB / 0.6639 GB, free: 91.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.8412, allocations: 0 / 0.6639 GB, free: 91.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/0.8412, allocations: 15.95 kB / 0.6639 GB, free: 91.72 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02522/0.8664, allocations: 16.18 MB / 0.6797 GB, free: 75.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.8664, allocations: 0 / 0.6797 GB, free: 75.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002873/0.8693, allocations: 0.7763 MB / 0.6804 GB, free: 74.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.071e-05/0.8693, allocations: 15.98 kB / 0.6804 GB, free: 74.67 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002714/0.8696, allocations: 123.9 kB / 0.6806 GB, free: 74.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/0.8696, allocations: 11.94 kB / 0.6806 GB, free: 74.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8696, allocations: 4 kB / 0.6806 GB, free: 74.53 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.8805, allocations: 8.772 MB / 0.6891 GB, free: 65.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00435/0.8849, allocations: 1.96 MB / 0.6911 GB, free: 63.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001886/0.8867, allocations: 116 kB / 0.6912 GB, free: 63.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003158/0.8899, allocations: 315.5 kB / 0.6915 GB, free: 63.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006045/0.8905, allocations: 189.8 kB / 0.6916 GB, free: 63.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002709/0.8908, allocations: 75.97 kB / 0.6917 GB, free: 62.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0129/0.9037, allocations: 7.652 MB / 0.6992 GB, free: 55.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9037, allocations: 0 / 0.6992 GB, free: 55.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004867/0.9085, allocations: 1.086 MB / 0.7003 GB, free: 54.25 MB / 478.1 MB 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.0138/0.9224, allocations: 9.79 MB / 0.7098 GB, free: 44.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007907/0.9303, allocations: 5.563 MB / 0.7152 GB, free: 38.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/0.9303, allocations: 4 kB / 0.7152 GB, free: 38.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003346/0.9336, allocations: 2.466 MB / 0.7177 GB, free: 36.28 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/0.9447, allocations: 1.39 MB / 0.719 GB, free: 34.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1646/1.109, allocations: 86.26 MB / 0.8033 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01084/1.12, allocations: 5.969 MB / 0.8091 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008374/1.128, allocations: 2.785 MB / 0.8118 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2312/1.36, allocations: 2.632 MB / 0.8144 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/1.36, allocations: 0.5312 kB / 0.8144 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1969/1.557, allocations: 160.9 MB / 0.9715 GB, free: 43.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.21/24.77, allocations: 15.98 kB / 0.9715 GB, free: 43.36 MB / 0.5294 GB " [Timeout remaining time 635] (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: 33.37883978197351] Failed to read output from testmodel.py, exit status != 0: 25.041344971978106 25.0591076 24.714018635 Calling exit ...