Running command: "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_CellRC,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Batteries_Examples_CCCV_CellRC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.855e-05, allocations: 4 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 50.4 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.5847, allocations: 90.01 MB / 432.7 MB, free: 4.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.5851, allocations: 74.34 kB / 432.7 MB, free: 4.297 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.1307/0.7158, allocations: 34.81 MB / 467.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7159, allocations: 0 / 467.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001971/0.7161, allocations: 32 kB / 467.6 MB, free: 5.586 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.003947/0.72, allocations: 1.655 MB / 469.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.7201, allocations: 8.031 kB / 469.2 MB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002154/0.7203, allocations: 102.5 kB / 469.3 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005325/0.7209, allocations: 213.4 kB / 469.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004511/0.7254, allocations: 1.642 MB / 471.2 MB, free: 1.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.7255, allocations: 78.97 kB / 471.3 MB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.7257, allocations: 64 kB / 471.3 MB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.7276, allocations: 0.7648 MB / 472.1 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.7276, allocations: 0 / 472.1 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.7278, allocations: 28 kB / 472.1 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.7278, allocations: 16 kB / 472.1 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.7292, allocations: 478.5 kB / 472.6 MB, free: 368 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009705/0.7389, allocations: 4.055 MB / 476.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.7407, allocations: 451.2 kB / 477.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009219/0.7417, allocations: 323.9 kB / 477.4 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/0.7418, allocations: 4.281 kB / 477.4 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.7418, allocations: 42.78 kB / 477.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 2.745e-06/0.7418, allocations: 0 / 477.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.001515/0.7434, allocations: 0.5103 MB / 478 MB, free: 10.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.7435, allocations: 261 kB / 478.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006938/0.7505, allocations: 2.857 MB / 481.1 MB, free: 7.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.7506, allocations: 33.7 kB / 481.1 MB, free: 7.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.7519, allocations: 0.8645 MB / 482 MB, free: 6.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.752, allocations: 118.3 kB / 482.1 MB, free: 6.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.7521, allocations: 8 kB / 482.1 MB, free: 6.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7523, allocations: 322 kB / 482.4 MB, free: 6.281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/0.7527, allocations: 173.1 kB / 482.6 MB, free: 6.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/0.7534, allocations: 341 kB / 482.9 MB, free: 5.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.7539, allocations: 213.6 kB / 483.1 MB, free: 5.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.7539, allocations: 0 / 483.1 MB, free: 5.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001902/0.7559, allocations: 0.679 MB / 483.8 MB, free: 4.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.7559, allocations: 8 kB / 483.8 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.7559, allocations: 4.469 kB / 483.8 MB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000359/0.7563, allocations: 64.78 kB / 483.9 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008993/0.7572, allocations: 111.9 kB / 484 MB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.7594, allocations: 1.608 MB / 485.6 MB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.7606, allocations: 75.5 kB / 485.7 MB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.7607, allocations: 27.92 kB / 485.7 MB, free: 2.781 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.0002042/0.7609, allocations: 137 kB / 485.8 MB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003923/0.7613, allocations: 189.6 kB / 486 MB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.7629, allocations: 0.5555 MB / 486.6 MB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.7629, allocations: 4 kB / 486.6 MB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7629, allocations: 3.984 kB / 486.6 MB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.763, allocations: 0 / 486.6 MB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004791/0.7678, allocations: 2.134 MB / 488.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7678, allocations: 3.938 kB / 488.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.7686, allocations: 83.95 kB / 488.8 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.7689, allocations: 48.83 kB / 488.8 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.7689, allocations: 12 kB / 488.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.7708, allocations: 1.553 MB / 490.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7709, allocations: 4.031 kB / 490.4 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.7727, allocations: 0.8378 MB / 491.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/0.7742, allocations: 0.7516 MB / 492 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.7745, allocations: 15.98 kB / 492 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.7756, allocations: 63.95 kB / 492.1 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.7757, allocations: 39.94 kB / 492.1 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.7758, allocations: 12 kB / 492.1 MB, free: 11.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005281/0.7811, allocations: 2.21 MB / 494.3 MB, free: 9.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.7811, allocations: 0 / 494.3 MB, free: 9.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001561/0.7827, allocations: 291.5 kB / 494.6 MB, free: 9.465 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.003372/0.7861, allocations: 1.841 MB / 496.5 MB, free: 7.684 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.7875, allocations: 0.4993 MB / 497 MB, free: 7.176 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.7876, allocations: 8 kB / 497 MB, free: 7.168 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007796/0.7883, allocations: 317.4 kB / 497.3 MB, free: 6.848 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.7903, allocations: 275.2 kB / 497.6 MB, free: 6.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.8021, allocations: 3.472 MB / 0.4893 GB, free: 3.043 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/0.804, allocations: 1.532 MB / 0.4908 GB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00139/0.8054, allocations: 307.1 kB / 0.4911 GB, free: 1.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/0.8069, allocations: 0.6711 MB / 0.4917 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.8069, allocations: 0 / 0.4917 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3994/1.206, allocations: 36.97 MB / 0.5278 GB, free: 129.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/1.207, allocations: 226.7 kB / 0.528 GB, free: 128.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.858/5.064, allocations: 7.406 kB / 0.5281 GB, free: 128.9 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_CellRC_res.mat does not exist to compare? outputFormat=mat