Running command: translateModel(ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13860,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle") Notification: Performance of loadModel(ElectricalEnergyStorage): time 1.835/1.835, allocations: 201.9 MB / 214.1 MB, free: 13.08 MB / 186.9 MB Notification: Performance of FrontEnd - loaded program: time 2.652e-05/2.666e-05, allocations: 0 / 263 MB, free: 10.95 MB / 218.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07985/0.0799, allocations: 45.99 MB / 309 MB, free: 12.88 MB / 266.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4363, allocations: 83.68 MB / 392.6 MB, free: 12.86 MB / 314.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.4366, allocations: 78.98 kB / 392.7 MB, free: 12.86 MB / 314.9 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ElectricalEnergyStorage 3.2.2.mo:2265:13-2265:95:writable] Warning: connect(y, y) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.06119/0.4978, allocations: 18.39 MB / 411.1 MB, free: 6.617 MB / 314.9 MB Notification: Performance of FrontEnd: time 2.148e-06/0.4978, allocations: 0 / 411.1 MB, free: 6.617 MB / 314.9 MB Notification: Performance of Transformations before backend: time 6.051e-05/0.4979, allocations: 19.88 kB / 411.1 MB, free: 6.613 MB / 314.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002175/0.5001, allocations: 1.217 MB / 412.3 MB, free: 5.668 MB / 314.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5001, allocations: 9.594 kB / 412.4 MB, free: 5.668 MB / 314.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.5004, allocations: 105.2 kB / 412.5 MB, free: 5.617 MB / 314.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.5014, allocations: 0.6106 MB / 413.1 MB, free: 5.258 MB / 314.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/0.5015, allocations: 54.53 kB / 413.1 MB, free: 5.258 MB / 314.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.5016, allocations: 74.19 kB / 413.2 MB, free: 5.254 MB / 314.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.5031, allocations: 0.6703 MB / 413.9 MB, free: 5.09 MB / 314.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.5031, allocations: 0 / 413.9 MB, free: 5.09 MB / 314.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9e-05/0.5032, allocations: 33.61 kB / 413.9 MB, free: 5.082 MB / 314.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.5033, allocations: 15.5 kB / 413.9 MB, free: 5.082 MB / 314.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.5045, allocations: 473 kB / 414.4 MB, free: 5.074 MB / 314.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004972/0.5095, allocations: 2.52 MB / 416.9 MB, free: 3.949 MB / 314.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.5105, allocations: 425 kB / 417.3 MB, free: 3.898 MB / 314.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.5109, allocations: 182.8 kB / 417.5 MB, free: 3.883 MB / 314.9 MB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.511, allocations: 3.906 kB / 417.5 MB, free: 3.883 MB / 314.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006026/0.5116, allocations: 339.3 kB / 417.8 MB, free: 3.75 MB / 314.9 MB Notification: Performance of pre-optimization done (n=46): time 3.596e-06/0.5116, allocations: 4 kB / 417.8 MB, free: 3.746 MB / 314.9 MB Notification: Performance of matching and sorting (n=46): time 0.001067/0.5127, allocations: 460.7 kB / 418.3 MB, free: 3.637 MB / 314.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.5128, allocations: 151 kB / 418.4 MB, free: 3.477 MB / 314.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.5139, allocations: 0.7352 MB / 419.2 MB, free: 3.293 MB / 314.9 MB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/0.514, allocations: 48.38 kB / 419.2 MB, free: 3.258 MB / 314.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.5143, allocations: 423.9 kB / 419.6 MB, free: 3.031 MB / 314.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.5145, allocations: 139.6 kB / 419.8 MB, free: 2.934 MB / 314.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.5146, allocations: 11.16 kB / 419.8 MB, free: 2.934 MB / 314.9 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5147, allocations: 398.2 kB / 420.2 MB, free: 2.586 MB / 314.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.5152, allocations: 217.7 kB / 420.4 MB, free: 2.578 MB / 314.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.5158, allocations: 302.9 kB / 420.7 MB, free: 2.484 MB / 314.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.5163, allocations: 388.8 kB / 421 MB, free: 2.266 MB / 314.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.154e-06/0.5163, allocations: 0 / 421 MB, free: 2.266 MB / 314.9 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001627/0.518, allocations: 0.8455 MB / 421.9 MB, free: 1.941 MB / 314.9 MB Notification: Performance of prepare postOptimizeDAE: time 7.333e-05/0.5181, allocations: 181.3 kB / 422.1 MB, free: 1.746 MB / 314.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5181, allocations: 0 / 422.1 MB, free: 1.746 MB / 314.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.5183, allocations: 51.19 kB / 422.1 MB, free: 1.73 MB / 314.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.519, allocations: 128.3 kB / 422.2 MB, free: 1.699 MB / 314.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.5206, allocations: 1.551 MB / 423.8 MB, free: 16.29 MB / 330.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.5214, allocations: 121.2 kB / 423.9 MB, free: 16.24 MB / 330.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/0.5215, allocations: 23.16 kB / 423.9 MB, free: 16.24 MB / 330.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fTP72_1.on,$PRE.fTP72_1.liberal1.polse1C.T_start,fTP72_1.liberal1.polse1C.T_start,$PRE.fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.polse1C.count,$PRE.fTP72_1.liberal1.pulse0_5C.T_start,fTP72_1.liberal1.pulse0_5C.T_start,$PRE.fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_5C.count,$PRE.fTP72_1.liberal1.pulse0_9C.T_start,fTP72_1.liberal1.pulse0_9C.T_start,$PRE.fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_9C.count,$PRE.fTP72_1.liberal1.pulse0_45C.T_start,fTP72_1.liberal1.pulse0_45C.T_start,$PRE.fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse0_45C.count,$PRE.fTP72_1.liberal1.pulse1C1.T_start,fTP72_1.liberal1.pulse1C1.T_start,$PRE.fTP72_1.liberal1.pulse1C1.count,fTP72_1.liberal1.pulse1C1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002167/0.5218, allocations: 157.7 kB / 424.1 MB, free: 16.11 MB / 330.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.5219, allocations: 82 kB / 424.2 MB, free: 16.06 MB / 330.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.5231, allocations: 0.4892 MB / 424.7 MB, free: 15.95 MB / 330.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.685e-06/0.5231, allocations: 7.906 kB / 424.7 MB, free: 15.95 MB / 330.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.477e-06/0.5231, allocations: 3.969 kB / 424.7 MB, free: 15.95 MB / 330.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.03e-06/0.5231, allocations: 7.922 kB / 424.7 MB, free: 15.94 MB / 330.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.5252, allocations: 1.33 MB / 426 MB, free: 15.37 MB / 330.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.506e-06/0.5252, allocations: 0 / 426 MB, free: 15.37 MB / 330.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/0.5258, allocations: 97.73 kB / 426.1 MB, free: 15.34 MB / 330.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001591/0.526, allocations: 47.53 kB / 426.2 MB, free: 15.32 MB / 330.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.526, allocations: 15.61 kB / 426.2 MB, free: 15.32 MB / 330.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.5276, allocations: 1.539 MB / 427.7 MB, free: 13.91 MB / 330.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.171e-06/0.5277, allocations: 0 / 427.7 MB, free: 13.91 MB / 330.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.5291, allocations: 0.7942 MB / 428.5 MB, free: 13.69 MB / 330.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.5294, allocations: 178.3 kB / 428.7 MB, free: 13.55 MB / 330.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.5295, allocations: 23.27 kB / 428.7 MB, free: 13.54 MB / 330.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/0.5302, allocations: 74.08 kB / 428.8 MB, free: 13.52 MB / 330.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/0.5305, allocations: 86.03 kB / 428.9 MB, free: 13.49 MB / 330.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.5306, allocations: 19.52 kB / 428.9 MB, free: 13.48 MB / 330.9 MB Notification: Performance of sorting global known variables: time 0.0009503/0.5315, allocations: 0.5667 MB / 429.4 MB, free: 13.35 MB / 330.9 MB Notification: Performance of sort global known variables: time 8.64e-07/0.5315, allocations: 0 / 429.4 MB, free: 13.35 MB / 330.9 MB Notification: Performance of remove unused functions: time 0.0008964/0.5324, allocations: 199.1 kB / 429.6 MB, free: 13.32 MB / 330.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (batteryCell.calculator.sOC.integrator.y,batteryCell.calculator.q.absInt.y,batteryCell.calculator.EquivalentCycles.integrator.y) * Number of discrete variables: 16 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fTP72_1.on,fTP72_1.liberal1.polse1C.T_start,fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.pulse0_5C.T_start,fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_9C.T_start,fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_45C.T_start,fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse1C1.T_start,fTP72_1.liberal1.pulse1C1.count) * Number of discrete states: 5 (fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse1C1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.5336, allocations: 402.6 kB / 430 MB, free: 13.08 MB / 330.9 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.5351, allocations: 0.9109 MB / 430.9 MB, free: 12.57 MB / 330.9 MB Notification: Performance of simCode: created event and clocks part: time 3.43e-06/0.5351, allocations: 384 / 430.9 MB, free: 12.57 MB / 330.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.5358, allocations: 355.5 kB / 431.3 MB, free: 12.44 MB / 330.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.5366, allocations: 132.9 kB / 431.4 MB, free: 12.4 MB / 330.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.539, allocations: 1.019 MB / 432.4 MB, free: 11.99 MB / 330.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.5398, allocations: 0.9774 MB / 433.4 MB, free: 11.16 MB / 330.9 MB Notification: Performance of simCode: alias equations: time 0.0004773/0.5403, allocations: 87.33 kB / 433.5 MB, free: 11.12 MB / 330.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.5406, allocations: 46.33 kB / 433.5 MB, free: 11.11 MB / 330.9 MB Notification: Performance of SimCode: time 1.606e-06/0.5406, allocations: 3.938 kB / 433.5 MB, free: 11.11 MB / 330.9 MB Notification: Performance of Templates: time 0.02876/0.5693, allocations: 10.69 MB / 444.2 MB, free: 0.6992 MB / 330.9 MB