Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.676e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3545, allocations: 44.49 MB / 294.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.4876, allocations: 71.16 MB / 365.4 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.488, allocations: 71.95 kB / 365.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0072/0.4952, allocations: 1.662 MB / 367.1 MB, free: 9.078 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4952, allocations: 0 / 367.1 MB, free: 9.078 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.4953, allocations: 0 / 367.1 MB, free: 9.078 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.000436/0.4957, allocations: 374.2 kB / 367.5 MB, free: 8.668 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4958, allocations: 8.031 kB / 367.5 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/0.4963, allocations: 51.86 kB / 367.5 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.4964, allocations: 178.9 kB / 367.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.4965, allocations: 0 / 367.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.4965, allocations: 4 kB / 367.7 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001598/0.4967, allocations: 44.11 kB / 367.7 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4968, allocations: 72.8 kB / 367.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4969, allocations: 0 / 367.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.4969, allocations: 0 / 367.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4969, allocations: 0 / 367.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/0.4977, allocations: 337.1 kB / 368.1 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4979, allocations: 50.56 kB / 368.2 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.4979, allocations: 16.98 kB / 368.2 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.498, allocations: 0 / 368.2 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.498, allocations: 34.56 kB / 368.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.498, allocations: 4 kB / 368.2 MB, free: 7.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002454/0.4983, allocations: 61.62 kB / 368.3 MB, free: 7.715 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.4983, allocations: 55.36 kB / 368.4 MB, free: 7.648 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.4984, allocations: 109 kB / 368.5 MB, free: 7.535 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4985, allocations: 25.7 kB / 368.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.4986, allocations: 166.4 kB / 368.7 MB, free: 7.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.4986, allocations: 11.8 kB / 368.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.4986, allocations: 0 / 368.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4988, allocations: 318.8 kB / 369 MB, free: 7.008 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.754e-05/0.4988, allocations: 12 kB / 369 MB, free: 6.996 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.302e-05/0.4989, allocations: 12 kB / 369 MB, free: 6.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.011e-05/0.4989, allocations: 16.17 kB / 369 MB, free: 6.969 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4989, allocations: 0 / 369 MB, free: 6.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001706/0.4991, allocations: 69.59 kB / 369.1 MB, free: 6.895 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4992, allocations: 4 kB / 369.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4992, allocations: 0 / 369.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4992, allocations: 0 / 369.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.4994, allocations: 27.92 kB / 369.1 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4995, allocations: 11.88 kB / 369.1 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.4996, allocations: 15.94 kB / 369.1 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.4996, allocations: 4 kB / 369.1 MB, free: 6.832 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 8.107e-05/0.4997, allocations: 108.7 kB / 369.3 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001624/0.4999, allocations: 61.67 kB / 369.3 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.5, allocations: 11.91 kB / 369.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.5002, allocations: 78.02 kB / 369.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.5002, allocations: 7.938 kB / 369.4 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5002, allocations: 4 kB / 369.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5002, allocations: 0 / 369.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.5005, allocations: 166.2 kB / 369.6 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5005, allocations: 0 / 369.6 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.5008, allocations: 23.98 kB / 369.6 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5008, allocations: 4 kB / 369.6 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.5008, allocations: 0 / 369.6 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5008, allocations: 0 / 369.6 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5008, allocations: 0 / 369.6 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.5011, allocations: 175.6 kB / 369.8 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.5011, allocations: 85.02 kB / 369.9 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.5012, allocations: 0 / 369.9 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.5014, allocations: 23.92 kB / 369.9 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.5015, allocations: 0 / 369.9 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.5015, allocations: 4 kB / 369.9 MB, free: 6.008 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.062e-05/0.5016, allocations: 87.27 kB / 370 MB, free: 5.922 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5016, allocations: 4 kB / 370 MB, free: 5.918 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003491/0.5019, allocations: 11.95 kB / 370 MB, free: 5.906 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.0005948/0.5026, allocations: 0.7203 MB / 370.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.5027, allocations: 35.94 kB / 370.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5027, allocations: 0 / 370.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.305e-05/0.5028, allocations: 23.98 kB / 370.8 MB, free: 5.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.5031, allocations: 0 / 370.8 MB, free: 5.098 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007009/0.5038, allocations: 197.2 kB / 371 MB, free: 4.863 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.5041, allocations: 0.6924 MB / 371.6 MB, free: 4.145 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.441e-05/0.5042, allocations: 23.42 kB / 371.7 MB, free: 4.121 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5042, allocations: 0 / 371.7 MB, free: 4.121 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.361/2.865, allocations: 1.278 MB / 372.9 MB, free: 2.848 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat does not exist to compare? outputFormat=mat