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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ElectricalEnergyStorage.Examples.AdvancedStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") translateModel(ElectricalEnergyStorage.Examples.AdvancedStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000987/0.0009872, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 180.3 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.05673/0.05673, allocations: 7.031 MB / 278.4 MB, free: 14.17 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.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.000525/0.000525, allocations: 12.42 kB / 338.2 MB, free: 27.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08535/0.08589, allocations: 49.07 MB / 387.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.01057/0.09649, allocations: 9.9 MB / 397.2 MB, free: 128 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008179/0.1047, allocations: 5.102 MB / 402.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.1068, allocations: 55.88 kB / 402.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.1101, allocations: 1.147 MB / 403.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.1128, allocations: 480.8 kB / 404 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.1153, allocations: 1.12 MB / 405.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01267/0.128, allocations: 9.639 MB / 414.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009315/0.1373, allocations: 6.931 MB / 421.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/0.1407, allocations: 2.041 MB / 423.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003914/0.1446, allocations: 2.397 MB / 426.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.1457, allocations: 328 kB / 426.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.1469, allocations: 352 kB / 426.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.1479, allocations: 1.311 MB / 428.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1658/0.3137, allocations: 3.367 MB / 431.4 MB, free: 20.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.3253, allocations: 14.87 MB / 446.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3254, allocations: 0 / 446.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3254, allocations: 5.016 kB / 446.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003171/0.3257, allocations: 1.656 kB / 446.3 MB, free: 15.93 MB / 318.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.01577/0.3415, allocations: 7.454 MB / 453.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3415, allocations: 11.12 kB / 453.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.3438, allocations: 0.7303 MB / 454.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.3546, allocations: 8.418 MB / 462.9 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.3548, allocations: 358.4 kB / 463.3 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008817/0.3557, allocations: 435.6 kB / 463.7 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.3669, allocations: 7.578 MB / 471.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.103e-05/0.367, allocations: 7.094 kB / 471.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004845/0.3675, allocations: 176.5 kB / 471.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.883e-05/0.3676, allocations: 155.2 kB / 471.6 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.3787, allocations: 6.512 MB / 478.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04823/0.427, allocations: 31.52 MB / 0.4977 GB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008071/0.4351, allocations: 8.384 MB / 0.5059 GB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003777/0.4389, allocations: 2.448 MB / 0.5083 GB, free: 420 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.4391, allocations: 24.66 kB / 0.5083 GB, free: 400 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003221/0.4423, allocations: 2.183 MB / 0.5104 GB, free: 14.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=203): time 4.308e-06/0.4423, allocations: 0 / 0.5104 GB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01272/0.455, allocations: 6.608 MB / 0.5169 GB, free: 7.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.4552, allocations: 393.8 kB / 0.5173 GB, free: 7.07 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:595:11-595:138:writable] Warning: Parameter batteryStack.SOCini[3,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.5) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:595:11-595:138:writable] Warning: Parameter batteryStack.SOCini[2,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.5) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:595:11-595:138:writable] Warning: Parameter batteryStack.SOCini[1,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.5) 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[1].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) 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.vOut[3].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) 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.vOut[2].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) 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.vOut[1].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01872/0.4739, allocations: 10.86 MB / 0.5279 GB, free: 12.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000326/0.4743, allocations: 73.69 kB / 0.5279 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00331/0.4776, allocations: 3.054 MB / 0.5309 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007669/0.4784, allocations: 0.6963 MB / 0.5316 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004136/0.4788, allocations: 278.9 kB / 0.5319 GB, free: 8.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.4789, allocations: 305.1 kB / 0.5322 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/0.4818, allocations: 1.988 MB / 0.5341 GB, free: 5.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/0.4851, allocations: 2.782 MB / 0.5368 GB, free: 2.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01827/0.5033, allocations: 9.579 MB / 0.5462 GB, free: 8.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.5034, allocations: 4 kB / 0.5462 GB, free: 8.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.009588/0.513, allocations: 5.569 MB / 0.5516 GB, free: 3.492 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.513, allocations: 14.62 kB / 0.5516 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.5131, allocations: 20 kB / 0.5516 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.5142, allocations: 0.4934 MB / 0.5521 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.5164, allocations: 0.6583 MB / 0.5528 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005579/0.522, allocations: 4.663 MB / 0.5573 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/0.5255, allocations: 488.7 kB / 0.5578 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.5258, allocations: 104 kB / 0.5579 GB, free: 12.98 MB / 430.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.006622/0.5324, allocations: 3.933 MB / 0.5617 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/0.5341, allocations: 0.5014 MB / 0.5622 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008616/0.5428, allocations: 4.693 MB / 0.5668 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.5428, allocations: 23.98 kB / 0.5668 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5428, allocations: 4 kB / 0.5668 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/0.5428, allocations: 15.95 kB / 0.5668 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02342/0.5663, allocations: 14.16 MB / 0.5807 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5663, allocations: 0 / 0.5807 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.5682, allocations: 490.2 kB / 0.5811 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.5692, allocations: 456.8 kB / 0.5816 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002237/0.5695, allocations: 79.95 kB / 0.5816 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005246/0.5747, allocations: 4.402 MB / 0.5859 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5747, allocations: 3.938 kB / 0.5859 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1618/0.7365, allocations: 6.951 MB / 0.5927 GB, free: 153.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003498/0.7401, allocations: 1.793 MB / 0.5945 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/0.7412, allocations: 85.81 kB / 0.5946 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.7429, allocations: 261.5 kB / 0.5948 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/0.7432, allocations: 148.9 kB / 0.595 GB, free: 152.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.7434, allocations: 54.09 kB / 0.595 GB, free: 152.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00978/0.7532, allocations: 7.656 MB / 0.6025 GB, free: 150.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7532, allocations: 0 / 0.6025 GB, free: 150.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003216/0.7564, allocations: 1.283 MB / 0.6037 GB, free: 149.5 MB / 446.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.0009033/0.7573, allocations: 490.7 kB / 0.6042 GB, free: 149.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005129/0.7624, allocations: 4.478 MB / 0.6086 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7625, allocations: 0 / 0.6086 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002298/0.7648, allocations: 2.157 MB / 0.6107 GB, free: 143.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005414/0.7702, allocations: 1.297 MB / 0.612 GB, free: 142.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/0.7905, allocations: 18.57 MB / 0.6301 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003967/0.7945, allocations: 5.654 MB / 0.6356 GB, free: 118.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/0.7965, allocations: 295.4 kB / 0.6359 GB, free: 118 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.7965, allocations: 4 kB / 0.6359 GB, free: 118 MB / 446.1 MB Notification: Performance of Templates: time 0.2861/1.083, allocations: 160.8 MB / 0.7929 GB, free: 115 MB / 446.1 MB make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.makefile make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCyclingCalcHelperMain.o OMCppElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCyclingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCyclingCalcHelperMain.o] Error 1