Running command: "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_CellRC,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Batteries_Examples_CCCV_CellRC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.155/2.155, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.066e-05, allocations: 1.562 kB / 292.7 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 50.41 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4413/0.5491, allocations: 90.04 MB / 433.2 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.5495, allocations: 77.22 kB / 433.3 MB, free: 3.859 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/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 trunk/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 trunk/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.1469/0.6964, allocations: 34.81 MB / 468.1 MB, free: 5.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6965, allocations: 0 / 468.1 MB, free: 5.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003569/0.6969, allocations: 32 kB / 468.1 MB, free: 5.438 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.005481/0.7024, allocations: 1.655 MB / 469.8 MB, free: 3.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.7024, allocations: 8.031 kB / 469.8 MB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004441/0.7029, allocations: 102.5 kB / 469.9 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007974/0.7037, allocations: 217.4 kB / 470.1 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/0.7097, allocations: 1.635 MB / 471.7 MB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.7099, allocations: 82.97 kB / 471.8 MB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.7102, allocations: 64 kB / 471.9 MB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.7126, allocations: 0.757 MB / 472.6 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.7126, allocations: 0 / 472.6 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.7128, allocations: 28 kB / 472.7 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.7128, allocations: 16 kB / 472.7 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.7145, allocations: 478.5 kB / 473.1 MB, free: 224 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.7265, allocations: 4.055 MB / 477.2 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.7283, allocations: 452.5 kB / 477.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.7294, allocations: 326.1 kB / 478 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.846e-05/0.7295, allocations: 288 / 478 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.7296, allocations: 38.84 kB / 478 MB, free: 11.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.7296, allocations: 4 kB / 478 MB, free: 11.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.001816/0.7314, allocations: 0.5064 MB / 478.5 MB, free: 10.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.7317, allocations: 265 kB / 478.8 MB, free: 10.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009019/0.7407, allocations: 2.857 MB / 481.6 MB, free: 7.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.7409, allocations: 33.7 kB / 481.6 MB, free: 7.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002276/0.7432, allocations: 0.8645 MB / 482.5 MB, free: 6.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000499/0.7438, allocations: 110.4 kB / 482.6 MB, free: 6.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.712e-05/0.7439, allocations: 12 kB / 482.6 MB, free: 6.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003908/0.7443, allocations: 326 kB / 483 MB, free: 6.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005444/0.7448, allocations: 173 kB / 483.1 MB, free: 5.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006644/0.7455, allocations: 337 kB / 483.5 MB, free: 5.562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.7461, allocations: 213.6 kB / 483.7 MB, free: 5.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.7461, allocations: 4 kB / 483.7 MB, free: 5.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002426/0.7486, allocations: 0.6751 MB / 484.3 MB, free: 4.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.7486, allocations: 4.469 kB / 484.3 MB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.7487, allocations: 8 kB / 484.4 MB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.7491, allocations: 60.78 kB / 484.4 MB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7501, allocations: 119.8 kB / 484.5 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.7527, allocations: 1.607 MB / 486.1 MB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.7542, allocations: 79.48 kB / 486.2 MB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.7544, allocations: 20.12 kB / 486.2 MB, free: 2.637 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.0002764/0.7547, allocations: 144 kB / 486.4 MB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007027/0.7554, allocations: 185.7 kB / 486.6 MB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.7573, allocations: 0.5516 MB / 487.1 MB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.7574, allocations: 7.984 kB / 487.1 MB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7574, allocations: 0 / 487.1 MB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.7574, allocations: 4 kB / 487.1 MB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006375/0.7638, allocations: 2.138 MB / 489.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.7638, allocations: 0 / 489.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008548/0.7647, allocations: 91.88 kB / 489.3 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002985/0.765, allocations: 44.84 kB / 489.4 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.7651, allocations: 12 kB / 489.4 MB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.7674, allocations: 1.549 MB / 490.9 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7674, allocations: 0 / 490.9 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.7696, allocations: 0.8418 MB / 491.8 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/0.7716, allocations: 0.7519 MB / 492.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005588/0.7722, allocations: 16 kB / 492.6 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.7737, allocations: 67.95 kB / 492.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.7739, allocations: 39.94 kB / 492.7 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.774, allocations: 12 kB / 492.7 MB, free: 11.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006715/0.7807, allocations: 2.21 MB / 494.9 MB, free: 9.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.7808, allocations: 0 / 494.9 MB, free: 9.598 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001968/0.7828, allocations: 291.5 kB / 495.2 MB, free: 9.312 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.005873/0.7887, allocations: 1.838 MB / 497 MB, free: 7.531 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.7912, allocations: 0.5031 MB / 497.5 MB, free: 7.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.7913, allocations: 4.125 kB / 497.5 MB, free: 7.016 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.7927, allocations: 317.4 kB / 497.8 MB, free: 6.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/0.7964, allocations: 274.2 kB / 498.1 MB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/0.8165, allocations: 3.472 MB / 0.4898 GB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003859/0.8204, allocations: 1.532 MB / 0.4913 GB, free: 1.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002467/0.8229, allocations: 311.1 kB / 0.4916 GB, free: 1.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002791/0.8258, allocations: 0.6672 MB / 0.4923 GB, free: 368 kB / 410.7 MB Notification: Performance of SimCode: time 6.291e-06/0.8259, allocations: 0 / 0.4923 GB, free: 368 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4599/1.286, allocations: 36.97 MB / 0.5284 GB, free: 129.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/1.286, allocations: 233 kB / 0.5286 GB, free: 129 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.028/5.315, allocations: 0 / 0.5286 GB, free: 129 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_CellRC_res.mat does not exist to compare? outputFormat=mat