Running command: translateModel(Modelica.Electrical.Batteries.Examples.CCCV_CellRC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|cell.cell.capacitor.1..v|cell.cell.capacitor.2..v|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_CellRC") Notification: Performance of loadModel(Modelica): time 2.01/2.01, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.087e-05, allocations: 4 kB / 292.1 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.09049, allocations: 50.4 MB / 342.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.5433, allocations: 90.02 MB / 432.6 MB, free: 4.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.5436, allocations: 76.66 kB / 432.6 MB, free: 4.207 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[2].R to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[2].C to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[1].R to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[1].C to false. Notification: Performance of FrontEnd - DAE generated: time 0.1342/0.6778, allocations: 34.81 MB / 467.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.027e-06/0.6779, allocations: 0 / 467.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001563/0.678, allocations: 32 kB / 467.5 MB, free: 5.633 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003154/0.6812, allocations: 1.647 MB / 469.1 MB, free: 3.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.6813, allocations: 8.031 kB / 469.1 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004452/0.6817, allocations: 217.4 kB / 469.4 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006495/0.6882, allocations: 1.642 MB / 471 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.6885, allocations: 82.95 kB / 471.1 MB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/0.6888, allocations: 60 kB / 471.1 MB, free: 1.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.6915, allocations: 0.7531 MB / 471.9 MB, free: 1.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.6916, allocations: 0 / 471.9 MB, free: 1.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.6917, allocations: 28 kB / 471.9 MB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.6917, allocations: 16 kB / 471.9 MB, free: 1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.693, allocations: 482.5 kB / 472.4 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008506/0.7015, allocations: 4.055 MB / 476.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.7028, allocations: 444 kB / 476.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007634/0.7036, allocations: 329 kB / 477.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.7036, allocations: 12.16 kB / 477.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.7037, allocations: 46.84 kB / 477.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 3.506e-06/0.7037, allocations: 0 / 477.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.001377/0.7051, allocations: 0.4947 MB / 477.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/0.7053, allocations: 265 kB / 478 MB, free: 10.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006259/0.7116, allocations: 2.853 MB / 480.9 MB, free: 7.809 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.7117, allocations: 37.7 kB / 480.9 MB, free: 7.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.7129, allocations: 0.8684 MB / 481.8 MB, free: 6.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.7131, allocations: 114.4 kB / 481.9 MB, free: 6.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.7132, allocations: 12 kB / 481.9 MB, free: 6.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.7134, allocations: 322 kB / 482.2 MB, free: 6.445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.7138, allocations: 169.1 kB / 482.4 MB, free: 6.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.7144, allocations: 337 kB / 482.7 MB, free: 5.879 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.7149, allocations: 221.6 kB / 482.9 MB, free: 5.664 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.225e-06/0.7149, allocations: 0 / 482.9 MB, free: 5.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001934/0.7169, allocations: 0.6716 MB / 483.6 MB, free: 4.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.7169, allocations: 8 kB / 483.6 MB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7169, allocations: 7.938 kB / 483.6 MB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003108/0.7173, allocations: 64.78 kB / 483.7 MB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.7179, allocations: 123.9 kB / 483.8 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.7201, allocations: 1.607 MB / 485.4 MB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.7211, allocations: 83.59 kB / 485.5 MB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.7212, allocations: 16 kB / 485.5 MB, free: 2.941 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (cccvCharger.CV,energy.local_reset,cell.limIntegrator.local_reset,cell.cell.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * 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.0002005/0.7214, allocations: 136.9 kB / 485.6 MB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004324/0.7219, allocations: 185.7 kB / 485.8 MB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.7234, allocations: 0.5555 MB / 486.4 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.7234, allocations: 4 kB / 486.4 MB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.203e-06/0.7234, allocations: 0 / 486.4 MB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.875e-06/0.7234, allocations: 3.984 kB / 486.4 MB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004628/0.7281, allocations: 2.127 MB / 488.5 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.875e-06/0.7281, allocations: 0 / 488.5 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.7287, allocations: 91.94 kB / 488.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/0.729, allocations: 52.77 kB / 488.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.729, allocations: 8 kB / 488.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.7311, allocations: 1.561 MB / 490.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.7311, allocations: 8.016 kB / 490.2 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.7329, allocations: 0.826 MB / 491.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/0.7343, allocations: 0.7634 MB / 491.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.7346, allocations: 8 kB / 491.8 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007912/0.7354, allocations: 71.94 kB / 491.9 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.7355, allocations: 35.94 kB / 491.9 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.7356, allocations: 12 kB / 491.9 MB, free: 12.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006917/0.7425, allocations: 2.198 MB / 494.1 MB, free: 9.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.354e-06/0.7426, allocations: 0 / 494.1 MB, free: 9.922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002621/0.7452, allocations: 307.4 kB / 494.4 MB, free: 9.621 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (cell.cell.limIntegrator.y,cell.cell.capacitor[1].v,cell.cell.capacitor[2].v,cell.limIntegrator.y,energy.y) * Number of discrete variables: 1 (cccvCharger.CV) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002125/0.7474, allocations: 432.8 kB / 494.9 MB, free: 9.297 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.7494, allocations: 0.5062 MB / 495.4 MB, free: 8.781 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.462e-06/0.7495, allocations: 4 kB / 495.4 MB, free: 8.777 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.7505, allocations: 310.2 kB / 495.7 MB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/0.7534, allocations: 271.2 kB / 495.9 MB, free: 8.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.767, allocations: 3.054 MB / 499 MB, free: 5.098 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002992/0.77, allocations: 1.524 MB / 0.4888 GB, free: 3.547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001923/0.772, allocations: 311.1 kB / 0.4891 GB, free: 3.238 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/0.7728, allocations: 103.4 kB / 0.4892 GB, free: 3.137 MB / 410.7 MB Notification: Performance of SimCode: time 7.146e-06/0.7728, allocations: 0 / 0.4892 GB, free: 3.137 MB / 410.7 MB Notification: Performance of Templates: time 0.103/0.8758, allocations: 20.22 MB / 0.5089 GB, free: 15.01 MB / 442.7 MB