Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_2_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.219/2.219, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.731e-05/3.749e-05, allocations: 0 / 255.4 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 44.52 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5236, allocations: 73.2 MB / 373.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.524, allocations: 63.3 kB / 373.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0583/0.5823, allocations: 5.766 MB / 379 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5824, allocations: 0 / 379 MB, free: 12.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.5824, allocations: 0 / 379 MB, free: 12.34 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008557/0.5833, allocations: 419.8 kB / 379.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.5834, allocations: 8.906 kB / 379.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.5834, allocations: 109.4 kB / 379.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.38e-05/0.5835, allocations: 76.69 kB / 379.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.5837, allocations: 248.2 kB / 379.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.5838, allocations: 151.6 kB / 380 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.5838, allocations: 150.6 kB / 380.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/0.588, allocations: 105.9 kB / 380.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.5881, allocations: 76.83 kB / 380.3 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.5882, allocations: 155.2 kB / 380.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.5882, allocations: 154.6 kB / 380.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.776e-05/0.5883, allocations: 151.9 kB / 380.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.5886, allocations: 449.6 kB / 381.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.203e-05/0.5887, allocations: 170.2 kB / 381.4 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.5888, allocations: 85.27 kB / 381.4 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.5888, allocations: 76.45 kB / 381.5 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.589, allocations: 51.3 kB / 381.6 MB, free: 9.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 4.759e-06/0.589, allocations: 0 / 381.6 MB, free: 9.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001757/0.5892, allocations: 42.08 kB / 381.6 MB, free: 9.637 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.5892, allocations: 56.78 kB / 381.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.5893, allocations: 95.73 kB / 381.8 MB, free: 9.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.5894, allocations: 31.02 kB / 381.8 MB, free: 9.445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.5894, allocations: 80.14 kB / 381.9 MB, free: 9.363 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.5894, allocations: 1.25 kB / 381.9 MB, free: 9.363 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.5895, allocations: 0 / 381.9 MB, free: 9.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.5895, allocations: 313.9 kB / 382.2 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.5896, allocations: 1.281 kB / 382.2 MB, free: 9.051 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.5896, allocations: 4 kB / 382.2 MB, free: 9.047 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.173e-05/0.5896, allocations: 6.219 kB / 382.2 MB, free: 9.047 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5896, allocations: 3.953 kB / 382.2 MB, free: 9.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.924e-05/0.5897, allocations: 32.77 kB / 382.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5898, allocations: 9.75 kB / 382.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5898, allocations: 0 / 382.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5898, allocations: 1.359 kB / 382.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.704e-05/0.5899, allocations: 1.438 kB / 382.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5899, allocations: 0 / 382.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.5899, allocations: 96 / 382.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.59, allocations: 5.469 kB / 382.2 MB, free: 9.004 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.5901, allocations: 107.2 kB / 382.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.5901, allocations: 3.953 kB / 382.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.5901, allocations: 4.688 kB / 382.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.5902, allocations: 7.734 kB / 382.4 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5902, allocations: 0 / 382.4 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5902, allocations: 0 / 382.4 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.5903, allocations: 149.7 kB / 382.5 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5904, allocations: 1.875 kB / 382.5 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-06/0.5904, allocations: 9.422 kB / 382.5 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.5904, allocations: 0 / 382.5 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.5904, allocations: 4 kB / 382.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5904, allocations: 1.469 kB / 382.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.5904, allocations: 0 / 382.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.5906, allocations: 66.38 kB / 382.6 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.5906, allocations: 82.45 kB / 382.7 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.5907, allocations: 5.234 kB / 382.7 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.807e-05/0.5907, allocations: 4.031 kB / 382.7 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.5907, allocations: 2.531 kB / 382.7 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.5907, allocations: 0 / 382.7 MB, free: 8.516 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.694e-05/0.5908, allocations: 85.73 kB / 382.8 MB, free: 8.441 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5908, allocations: 0 / 382.8 MB, free: 8.441 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001195/0.592, allocations: 154.3 kB / 382.9 MB, free: 8.402 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002254/0.5943, allocations: 0.9761 MB / 383.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.5945, allocations: 2.844 kB / 383.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5945, allocations: 4.062 kB / 383.9 MB, free: 7.684 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.5945, allocations: 2.25 kB / 383.9 MB, free: 7.684 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.5947, allocations: 6.047 kB / 383.9 MB, free: 7.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.5956, allocations: 174.6 kB / 384.1 MB, free: 7.527 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/0.5987, allocations: 0.6751 MB / 384.7 MB, free: 22.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.416e-05/0.5988, allocations: 8.266 kB / 384.8 MB, free: 22.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.5989, allocations: 14.72 kB / 384.8 MB, free: 22.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.994e-06/0.5989, allocations: 64 / 384.8 MB, free: 22.83 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09222/0.6912, allocations: 3.594 MB / 388.4 MB, free: 22.32 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/0.6916, allocations: 198.7 kB / 388.6 MB, free: 22.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/3.417, allocations: 0 / 388.6 MB, free: 22.1 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat