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.004/2.004, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.495e-05/4.499e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 44.51 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.548, allocations: 71.82 MB / 371.8 MB, free: 21.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.5484, allocations: 72.53 kB / 371.9 MB, free: 21.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008288/0.5567, allocations: 1.664 MB / 373.5 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5568, allocations: 1.062 kB / 373.5 MB, free: 21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.5568, allocations: 1.219 kB / 373.5 MB, free: 21 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.0003939/0.5572, allocations: 374.2 kB / 373.9 MB, free: 20.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5573, allocations: 9.875 kB / 373.9 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.303e-05/0.5574, allocations: 42.64 kB / 373.9 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004997/0.5579, allocations: 53.02 kB / 374 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.558, allocations: 182.7 kB / 374.2 MB, free: 20.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.558, allocations: 7.969 kB / 374.2 MB, free: 20.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.5581, allocations: 9.406 kB / 374.2 MB, free: 20.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.5583, allocations: 74.91 kB / 374.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5583, allocations: 5.391 kB / 374.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.5583, allocations: 0 / 374.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5584, allocations: 2.375 kB / 374.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.5585, allocations: 45.48 kB / 374.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009065/0.5594, allocations: 379.7 kB / 374.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.5596, allocations: 54.52 kB / 374.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.5597, allocations: 27.27 kB / 374.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.5598, allocations: 2.875 kB / 374.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5598, allocations: 38.64 kB / 374.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.284e-06/0.5598, allocations: 1 kB / 374.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002582/0.5601, allocations: 66.23 kB / 374.9 MB, free: 19.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.5601, allocations: 52.53 kB / 374.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.5602, allocations: 113.4 kB / 375 MB, free: 19.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.5602, allocations: 26.83 kB / 375.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.5603, allocations: 170.2 kB / 375.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.5603, allocations: 15.94 kB / 375.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.5604, allocations: 0 / 375.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.5604, allocations: 315.5 kB / 375.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.5605, allocations: 13.19 kB / 375.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.5606, allocations: 19.58 kB / 375.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.5606, allocations: 13.27 kB / 375.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5606, allocations: 0 / 375.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001719/0.5608, allocations: 66.28 kB / 375.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.5609, allocations: 15.05 kB / 375.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5609, allocations: 0 / 375.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.5609, allocations: 1.828 kB / 375.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.5612, allocations: 21.42 kB / 375.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5612, allocations: 1.344 kB / 375.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.5614, allocations: 14.06 kB / 375.7 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.5614, allocations: 5.938 kB / 375.7 MB, free: 19.2 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 6.188e-05/0.5615, allocations: 114.1 kB / 375.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.5615, allocations: 6.531 kB / 375.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.5618, allocations: 90.25 kB / 375.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5618, allocations: 0 / 375.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5618, allocations: 1.312 kB / 375.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5618, allocations: 0.6562 kB / 375.9 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.5621, allocations: 196.4 kB / 376.1 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5621, allocations: 4 kB / 376.1 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.5623, allocations: 22.38 kB / 376.1 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.5624, allocations: 1.734 kB / 376.1 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5624, allocations: 0.6094 kB / 376.1 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5624, allocations: 5.141 kB / 376.1 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5624, allocations: 0 / 376.1 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.5626, allocations: 169.6 kB / 376.3 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.5627, allocations: 97.14 kB / 376.4 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.5627, allocations: 0 / 376.4 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.5629, allocations: 13.97 kB / 376.4 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.563, allocations: 8.703 kB / 376.4 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.563, allocations: 5.641 kB / 376.4 MB, free: 18.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.464e-05/0.5631, allocations: 95.25 kB / 376.5 MB, free: 18.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5631, allocations: 1.25 kB / 376.5 MB, free: 18.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003138/0.5634, allocations: 10.16 kB / 376.5 MB, free: 18.52 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.0005539/0.564, allocations: 0.7305 MB / 377.3 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.5642, allocations: 36.75 kB / 377.3 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5642, allocations: 0 / 377.3 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.5643, allocations: 22.53 kB / 377.3 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.5645, allocations: 12.7 kB / 377.3 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.5654, allocations: 195.2 kB / 377.5 MB, free: 17.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.5655, allocations: 0.6991 MB / 378.2 MB, free: 16.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.5656, allocations: 25.25 kB / 378.3 MB, free: 16.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5657, allocations: 4 kB / 378.3 MB, free: 16.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.411/2.977, allocations: 1.326 MB / 379.6 MB, free: 16.89 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