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.0008685/0.0008685, 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.0008675/0.0008675, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.868/0.868, allocations: 158.6 MB / 184.2 MB, free: 3.035 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.0312/0.0312, allocations: 5.561 MB / 242 MB, free: 9.777 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 1.323e-06/1.323e-06, allocations: 0 / 358.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.803e-05, allocations: 6.219 kB / 358.7 MB, free: 5.852 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.007087/0.007105, allocations: 9.331 MB / 368 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006083/0.01319, allocations: 5.503 MB / 373.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009872/0.01417, allocations: 71.69 kB / 373.6 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.01638, allocations: 1.539 MB / 375.2 MB, free: 5.328 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.001112/0.0175, allocations: 0.6549 MB / 375.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.01889, allocations: 1.228 MB / 377 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006952/0.02584, allocations: 10.83 MB / 387.9 MB, free: 8.594 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.02904, allocations: 3.575 MB / 391.5 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005805/0.03485, allocations: 6.038 MB / 397.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005278/0.04013, allocations: 4.119 MB / 401.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002835/0.04296, allocations: 1.285 MB / 402.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.04557, allocations: 1.324 MB / 404.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.04768, allocations: 2.56 MB / 406.8 MB, free: 5.578 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004281/0.05196, allocations: 2.998 MB / 409.8 MB, free: 2.574 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.06516, allocations: 17.78 MB / 427.6 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.06517, allocations: 0 / 427.6 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.06517, allocations: 0 / 427.6 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003612/0.06553, allocations: 0 / 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.01825/0.08378, allocations: 9.343 MB / 436.9 MB, free: 7.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.08383, allocations: 11.98 kB / 436.9 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00199/0.08582, allocations: 0.7835 MB / 437.7 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.08806, allocations: 0.7734 MB / 438.5 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1538/0.2418, allocations: 8.671 MB / 447.1 MB, free: 66.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.2421, allocations: 363.6 kB / 447.5 MB, free: 66.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/0.2436, allocations: 438.7 kB / 447.9 MB, free: 66.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/0.257, allocations: 7.991 MB / 455.9 MB, free: 62.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.646e-05/0.2571, allocations: 8.906 kB / 455.9 MB, free: 62.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004501/0.2575, allocations: 179 kB / 456.1 MB, free: 62.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/0.2577, allocations: 158.5 kB / 456.3 MB, free: 62.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006994/0.2647, allocations: 6.526 MB / 462.8 MB, free: 59.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02301/0.2877, allocations: 28.68 MB / 491.5 MB, free: 32.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003518/0.2912, allocations: 4.316 MB / 495.8 MB, free: 28.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.2932, allocations: 2.376 MB / 498.1 MB, free: 25.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.942e-05/0.2933, allocations: 25.98 kB / 498.2 MB, free: 25.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/0.2949, allocations: 2.394 MB / 0.4888 GB, free: 23.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=203): time 2.906e-06/0.2949, allocations: 0 / 0.4888 GB, free: 23.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=203): time 0.006849/0.3017, allocations: 6.458 MB / 0.4951 GB, free: 16.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.3018, allocations: 385.8 kB / 0.4955 GB, free: 16.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/0.3128, allocations: 10.85 MB / 0.5061 GB, free: 5.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000277/0.3131, allocations: 77.69 kB / 0.5062 GB, free: 5.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001897/0.315, allocations: 3.1 MB / 0.5092 GB, free: 2.602 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004563/0.3154, allocations: 0.7325 MB / 0.5099 GB, free: 1.965 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005702/0.316, allocations: 0.5591 MB / 0.5105 GB, free: 1.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 2.224e-05/0.316, allocations: 301.1 kB / 0.5108 GB, free: 1.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.3178, allocations: 1.984 MB / 0.5127 GB, free: 15.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.3201, allocations: 3.074 MB / 0.5157 GB, free: 11.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/0.3311, allocations: 9.419 MB / 0.5249 GB, free: 2.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.3311, allocations: 11.88 kB / 0.5249 GB, free: 1.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.00597/0.3371, allocations: 5.544 MB / 0.5303 GB, free: 12.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.3371, allocations: 16.62 kB / 0.5303 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3371, allocations: 16 kB / 0.5304 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006695/0.3378, allocations: 468.3 kB / 0.5308 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.3392, allocations: 0.6551 MB / 0.5314 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/0.343, allocations: 4.702 MB / 0.536 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.3448, allocations: 483.6 kB / 0.5365 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.3449, allocations: 108 kB / 0.5366 GB, free: 5.977 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.00426/0.3492, allocations: 3.939 MB / 0.5404 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006161/0.3498, allocations: 0.5317 MB / 0.541 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004658/0.3545, allocations: 4.632 MB / 0.5455 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3545, allocations: 20 kB / 0.5455 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3545, allocations: 3.984 kB / 0.5455 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3545, allocations: 19.84 kB / 0.5455 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.3673, allocations: 12.96 MB / 0.5582 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3673, allocations: 0 / 0.5582 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.3684, allocations: 487.2 kB / 0.5586 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005959/0.369, allocations: 412.7 kB / 0.559 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.3691, allocations: 83.95 kB / 0.5591 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00364/0.3727, allocations: 4.444 MB / 0.5635 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3727, allocations: 0 / 0.5635 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006611/0.3794, allocations: 6.942 MB / 0.5702 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002174/0.3815, allocations: 1.838 MB / 0.572 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005438/0.3821, allocations: 83.98 kB / 0.5721 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009964/0.3831, allocations: 247.6 kB / 0.5723 GB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/0.3833, allocations: 163.3 kB / 0.5725 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-05/0.3834, allocations: 51.98 kB / 0.5726 GB, free: 1.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007699/0.3911, allocations: 7.645 MB / 0.58 GB, free: 9.379 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3911, allocations: 0 / 0.58 GB, free: 9.379 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002113/0.3933, allocations: 1.302 MB / 0.5813 GB, free: 8.074 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.006888/0.4001, allocations: 7.911 MB / 0.589 GB, free: 140 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004324/0.4045, allocations: 4.389 MB / 0.5933 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4045, allocations: 4 kB / 0.5933 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.4063, allocations: 2.089 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.002909/0.4092, allocations: 1.375 MB / 0.5967 GB, free: 8.262 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3612/0.7704, allocations: 81.96 MB / 0.6767 GB, free: 97.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003204/0.7736, allocations: 5.358 MB / 0.682 GB, free: 92.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003105/0.7767, allocations: 2.463 MB / 0.6844 GB, free: 89.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002438/0.7792, allocations: 2.519 MB / 0.6868 GB, free: 87.13 MB / 458.7 MB Notification: Performance of SimCode: time 2.484e-06/0.7792, allocations: 0 / 0.6868 GB, free: 87.13 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2725/1.052, allocations: 158.5 MB / 0.8416 GB, free: 114 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.76, allocations: 0.8125 kB / 0.8416 GB, free: 114 MB / 474.7 MB " [Timeout remaining time 647] (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: 16.41193854995072] Failed to read output from testmodel.py, exit status != 0: 12.92907202616334 12.938097519 12.870467005 Calling exit ...