Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.137e-05/4.151e-05, allocations: 11.08 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 44.5 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3934/0.5066, allocations: 70.98 MB / 370.9 MB, free: 21.31 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.507, allocations: 75.61 kB / 371 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008652/0.5156, allocations: 1.982 MB / 373 MB, free: 20.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5157, allocations: 0 / 373 MB, free: 20.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.5157, allocations: 0 / 373 MB, free: 20.9 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00036/0.5161, allocations: 355.8 kB / 373.3 MB, free: 20.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5161, allocations: 10.8 kB / 373.3 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.5162, allocations: 31.27 kB / 373.4 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.5163, allocations: 9.812 kB / 373.4 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.44e-05/0.5164, allocations: 166.5 kB / 373.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.5164, allocations: 1.5 kB / 373.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.5164, allocations: 6.375 kB / 373.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.81e-05/0.5165, allocations: 37.06 kB / 373.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.5165, allocations: 0 / 373.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.5166, allocations: 0.8906 kB / 373.6 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5166, allocations: 4.688 kB / 373.6 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.5166, allocations: 9.406 kB / 373.6 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.517, allocations: 253.7 kB / 373.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.878e-05/0.5171, allocations: 21.31 kB / 373.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.5171, allocations: 13.22 kB / 373.9 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.5172, allocations: 5.375 kB / 373.9 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.5173, allocations: 54.56 kB / 373.9 MB, free: 19.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.5173, allocations: 0.9688 kB / 373.9 MB, free: 19.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001777/0.5175, allocations: 49.52 kB / 374 MB, free: 19.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.5175, allocations: 53.44 kB / 374 MB, free: 19.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.5176, allocations: 101.3 kB / 374.1 MB, free: 19.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.5177, allocations: 29.92 kB / 374.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.5177, allocations: 152.1 kB / 374.3 MB, free: 19.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.5177, allocations: 14.88 kB / 374.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5177, allocations: 0 / 374.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.905e-05/0.5178, allocations: 316.7 kB / 374.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.5178, allocations: 4.562 kB / 374.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.5179, allocations: 23.94 kB / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.5179, allocations: 13.5 kB / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.518, allocations: 0 / 374.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001145/0.5181, allocations: 58.92 kB / 374.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5181, allocations: 7.688 kB / 374.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5181, allocations: 1.938 kB / 374.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5182, allocations: 0 / 374.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.5182, allocations: 10.97 kB / 374.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5183, allocations: 0.8438 kB / 374.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.5183, allocations: 12.69 kB / 374.8 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.5183, allocations: 5.922 kB / 374.8 MB, free: 19.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * 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 5.677e-05/0.5184, allocations: 103.7 kB / 374.9 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.5184, allocations: 9.906 kB / 374.9 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.5185, allocations: 9.625 kB / 374.9 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.5185, allocations: 1.156 kB / 374.9 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5185, allocations: 0 / 374.9 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.5185, allocations: 0.7031 kB / 374.9 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.5187, allocations: 287.1 kB / 375.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5188, allocations: 0 / 375.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.5188, allocations: 2 kB / 375.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5188, allocations: 0.5156 kB / 375.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5188, allocations: 4.875 kB / 375.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5188, allocations: 1.656 kB / 375.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5188, allocations: 0 / 375.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.519, allocations: 147.1 kB / 375.3 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.519, allocations: 79.09 kB / 375.4 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.519, allocations: 0.7031 kB / 375.4 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.5191, allocations: 1.219 kB / 375.4 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.5191, allocations: 2.531 kB / 375.4 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.5192, allocations: 5.406 kB / 375.4 MB, free: 18.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.5192, allocations: 85.11 kB / 375.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.403e-06/0.5192, allocations: 0 / 375.5 MB, free: 18.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.5197, allocations: 43.86 kB / 375.5 MB, free: 18.38 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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008138/0.5205, allocations: 0.7787 MB / 376.3 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.5206, allocations: 23.36 kB / 376.3 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5206, allocations: 4.062 kB / 376.3 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/0.5207, allocations: 11.23 kB / 376.3 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.5209, allocations: 3.359 kB / 376.4 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.5213, allocations: 137.9 kB / 376.5 MB, free: 17.53 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.522, allocations: 0.6808 MB / 377.2 MB, free: 32.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.5221, allocations: 14.11 kB / 377.2 MB, free: 32.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.974e-06/0.5221, allocations: 0 / 377.2 MB, free: 32.83 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.731/3.253, allocations: 1.591 MB / 378.8 MB, free: 32.65 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat