Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.378/2.378, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.626e-05/2.657e-05, allocations: 3.781 kB / 249.8 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.577, allocations: 71.16 MB / 365.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.5773, allocations: 74.91 kB / 365.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008155/0.5855, allocations: 1.646 MB / 367.2 MB, free: 22.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5856, allocations: 0 / 367.2 MB, free: 22.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.5856, allocations: 1.281 kB / 367.2 MB, free: 22.89 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004489/0.586, allocations: 379.6 kB / 367.5 MB, free: 22.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.5861, allocations: 9 kB / 367.6 MB, free: 22.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005637/0.5867, allocations: 48.95 kB / 367.6 MB, free: 22.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.5868, allocations: 181 kB / 367.8 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.5869, allocations: 0 / 367.8 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.5869, allocations: 7.812 kB / 367.8 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001735/0.5871, allocations: 43.31 kB / 367.8 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.5873, allocations: 63.58 kB / 367.9 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5873, allocations: 0 / 367.9 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.5873, allocations: 0 / 367.9 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.5873, allocations: 0 / 367.9 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008174/0.5882, allocations: 341.8 kB / 368.2 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.5883, allocations: 51.3 kB / 368.3 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/0.5884, allocations: 19.52 kB / 368.3 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.5884, allocations: 6.125 kB / 368.3 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.5884, allocations: 34.56 kB / 368.3 MB, free: 21.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.083e-06/0.5884, allocations: 0 / 368.3 MB, free: 21.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002427/0.5887, allocations: 58.22 kB / 368.4 MB, free: 21.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.5887, allocations: 61.64 kB / 368.4 MB, free: 21.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.718e-05/0.5888, allocations: 102.7 kB / 368.5 MB, free: 21.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.5889, allocations: 29.58 kB / 368.6 MB, free: 21.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.5889, allocations: 97.27 kB / 368.7 MB, free: 21.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.5889, allocations: 15.34 kB / 368.7 MB, free: 21.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.589, allocations: 7.609 kB / 368.7 MB, free: 21.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.589, allocations: 313.3 kB / 369 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.075e-05/0.5891, allocations: 17.91 kB / 369 MB, free: 21.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.5892, allocations: 10.75 kB / 369 MB, free: 21.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.5892, allocations: 11.72 kB / 369 MB, free: 21.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5892, allocations: 0 / 369 MB, free: 21.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001691/0.5894, allocations: 68.38 kB / 369.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5895, allocations: 3.875 kB / 369.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.5895, allocations: 0 / 369.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5895, allocations: 0 / 369.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.5898, allocations: 31.7 kB / 369.1 MB, free: 21.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5898, allocations: 2.969 kB / 369.1 MB, free: 21.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.59, allocations: 18.16 kB / 369.2 MB, free: 21.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.59, allocations: 4 kB / 369.2 MB, free: 21.25 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.081e-05/0.5901, allocations: 108.7 kB / 369.3 MB, free: 21.14 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001832/0.5903, allocations: 76.22 kB / 369.3 MB, free: 21.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.5904, allocations: 3.906 kB / 369.4 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.5906, allocations: 77.31 kB / 369.4 MB, free: 21.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5906, allocations: 3.953 kB / 369.4 MB, free: 21.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5907, allocations: 0 / 369.4 MB, free: 21.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5907, allocations: 3.906 kB / 369.4 MB, free: 21.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.5909, allocations: 156 kB / 369.6 MB, free: 20.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.591, allocations: 6.297 kB / 369.6 MB, free: 20.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.5912, allocations: 27.77 kB / 369.6 MB, free: 20.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5912, allocations: 0 / 369.6 MB, free: 20.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.5912, allocations: 7.812 kB / 369.6 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5912, allocations: 0 / 369.6 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5913, allocations: 0 / 369.6 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.5915, allocations: 166 kB / 369.8 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.5916, allocations: 80.98 kB / 369.9 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.5916, allocations: 2.484 kB / 369.9 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.5918, allocations: 14.14 kB / 369.9 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.5919, allocations: 6.234 kB / 369.9 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.5919, allocations: 3.938 kB / 369.9 MB, free: 20.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.231e-05/0.592, allocations: 92.77 kB / 370 MB, free: 20.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.592, allocations: 0 / 370 MB, free: 20.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000408/0.5924, allocations: 19.48 kB / 370 MB, free: 20.57 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006655/0.5931, allocations: 0.7279 MB / 370.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.5933, allocations: 36.06 kB / 370.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5933, allocations: 0 / 370.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/0.5934, allocations: 22.38 kB / 370.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.5937, allocations: 11 kB / 370.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007806/0.5945, allocations: 161 kB / 371 MB, free: 19.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.5948, allocations: 0.6925 MB / 371.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.595, allocations: 10.47 kB / 371.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.5951, allocations: 24.11 kB / 371.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5951, allocations: 0 / 371.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04597/0.641, allocations: 1.266 MB / 373 MB, free: 18.98 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003877/0.6415, allocations: 143.7 kB / 373.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.948/3.59, allocations: 0 / 373.1 MB, free: 18.79 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat does not exist to compare? outputFormat=mat