Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.188/2.188, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.381e-05/4.393e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3988, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.5844, allocations: 70.32 MB / 364.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.5848, allocations: 63.97 kB / 364.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00877/0.5936, allocations: 1.984 MB / 366.6 MB, free: 9.469 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5936, allocations: 4 kB / 366.6 MB, free: 9.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.5937, allocations: 0 / 366.6 MB, free: 9.465 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.0004753/0.5941, allocations: 350.4 kB / 366.9 MB, free: 9.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.5942, allocations: 8.031 kB / 366.9 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.5943, allocations: 4 kB / 366.9 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.5944, allocations: 174.9 kB / 367.1 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5944, allocations: 0 / 367.1 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.5945, allocations: 4 kB / 367.1 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.236e-05/0.5945, allocations: 0 / 367.1 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.726e-05/0.5946, allocations: 33.64 kB / 367.2 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5946, allocations: 0 / 367.2 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5947, allocations: 7.984 kB / 367.2 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5947, allocations: 3.984 kB / 367.2 MB, free: 8.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.5951, allocations: 225.4 kB / 367.4 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.001e-05/0.5952, allocations: 22.56 kB / 367.4 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/0.5952, allocations: 16.92 kB / 367.4 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.5952, allocations: 4 kB / 367.4 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.5954, allocations: 47.41 kB / 367.5 MB, free: 8.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.5954, allocations: 0 / 367.5 MB, free: 8.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001939/0.5956, allocations: 49.62 kB / 367.5 MB, free: 8.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.5957, allocations: 51.41 kB / 367.6 MB, free: 8.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.423e-05/0.5958, allocations: 93 kB / 367.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5958, allocations: 25.7 kB / 367.7 MB, free: 8.184 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.5959, allocations: 88.14 kB / 367.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.5959, allocations: 11.89 kB / 367.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.5959, allocations: 0 / 367.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5961, allocations: 314.8 kB / 368.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.5961, allocations: 8 kB / 368.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.045e-05/0.5962, allocations: 21.97 kB / 368.1 MB, free: 7.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.779e-05/0.5963, allocations: 7.984 kB / 368.1 MB, free: 7.723 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5963, allocations: 0 / 368.1 MB, free: 7.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001491/0.5965, allocations: 61.53 kB / 368.2 MB, free: 7.656 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.5965, allocations: 4 kB / 368.2 MB, free: 7.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5965, allocations: 0 / 368.2 MB, free: 7.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5965, allocations: 128 / 368.2 MB, free: 7.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.5966, allocations: 12 kB / 368.2 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.5967, allocations: 0 / 368.2 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.5967, allocations: 7.875 kB / 368.2 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5967, allocations: 4 kB / 368.2 MB, free: 7.629 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 9.813e-05/0.5968, allocations: 120.6 kB / 368.3 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.747e-05/0.5969, allocations: 53.66 kB / 368.4 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.597, allocations: 3.906 kB / 368.4 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.597, allocations: 8.344 kB / 368.4 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.597, allocations: 0 / 368.4 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.597, allocations: 4 kB / 368.4 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.597, allocations: 0 / 368.4 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.5974, allocations: 255.2 kB / 368.7 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5974, allocations: 0 / 368.7 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.5974, allocations: 4 kB / 368.7 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.5974, allocations: 4 kB / 368.7 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.5975, allocations: 4 kB / 368.7 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5975, allocations: 3.984 kB / 368.7 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5975, allocations: 0 / 368.7 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.5977, allocations: 147.6 kB / 368.8 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.5977, allocations: 81.11 kB / 368.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.5978, allocations: 0 / 368.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.5978, allocations: 0 / 368.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.5979, allocations: 4 kB / 368.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.5979, allocations: 4 kB / 368.9 MB, free: 6.852 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.598, allocations: 87.27 kB / 369 MB, free: 6.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.598, allocations: 0 / 369 MB, free: 6.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004554/0.5984, allocations: 27.94 kB / 369 MB, free: 6.738 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.001086/0.5995, allocations: 0.7841 MB / 369.8 MB, free: 5.957 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.5997, allocations: 20 kB / 369.8 MB, free: 5.938 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.5997, allocations: 4 kB / 369.8 MB, free: 5.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.5998, allocations: 4 kB / 369.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.6, allocations: 0 / 369.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.6005, allocations: 119.5 kB / 369.9 MB, free: 5.777 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.6009, allocations: 0.6768 MB / 370.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.6009, allocations: 11.97 kB / 370.6 MB, free: 5.062 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.601, allocations: 15.5 kB / 370.6 MB, free: 5.051 MB / 314.7 MB Notification: Performance of SimCode: time 1.393e-06/0.601, allocations: 4 kB / 370.7 MB, free: 5.047 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.6376, allocations: 1.558 MB / 372.2 MB, free: 3.484 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/0.638, allocations: 176.6 kB / 372.4 MB, free: 3.289 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/2.969, allocations: 0 / 372.4 MB, free: 3.289 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat