Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.752e-05, allocations: 4 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 50.41 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.5413, allocations: 76.42 MB / 419.1 MB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.5416, allocations: 67.77 kB / 419.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008784/0.5504, allocations: 1.997 MB / 421.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5505, allocations: 0 / 421.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.5505, allocations: 4.562 kB / 421.1 MB, free: 15.61 MB / 346.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.0004399/0.5509, allocations: 347.5 kB / 421.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.551, allocations: 12.02 kB / 421.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.074e-05/0.5511, allocations: 31.22 kB / 421.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.5511, allocations: 7.906 kB / 421.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.5513, allocations: 164.3 kB / 421.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.5513, allocations: 3.188 kB / 421.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.5513, allocations: 4 kB / 421.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.5514, allocations: 33.69 kB / 421.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.5515, allocations: 0 / 421.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.5515, allocations: 7.578 kB / 421.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5515, allocations: 0 / 421.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/0.5515, allocations: 7.938 kB / 421.7 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.552, allocations: 255.8 kB / 422 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.5521, allocations: 22.08 kB / 422 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.5522, allocations: 20.09 kB / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.5522, allocations: 0 / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.5523, allocations: 58.48 kB / 422.1 MB, free: 14.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.5523, allocations: 0 / 422.1 MB, free: 14.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001889/0.5525, allocations: 52.91 kB / 422.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.5526, allocations: 55.39 kB / 422.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.5527, allocations: 104.4 kB / 422.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.5527, allocations: 25.7 kB / 422.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.5528, allocations: 83.33 kB / 422.4 MB, free: 14.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.5528, allocations: 11.84 kB / 422.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.5529, allocations: 0 / 422.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.553, allocations: 320.5 kB / 422.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.553, allocations: 9.938 kB / 422.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.5531, allocations: 21.47 kB / 422.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/0.5531, allocations: 7.188 kB / 422.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5531, allocations: 0 / 422.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001276/0.5533, allocations: 53.38 kB / 422.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.5533, allocations: 11.95 kB / 422.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5533, allocations: 3.984 kB / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5534, allocations: 0 / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.5535, allocations: 8.031 kB / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.5535, allocations: 4 kB / 422.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.5535, allocations: 3.938 kB / 422.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.5535, allocations: 0 / 422.8 MB, free: 13.72 MB / 346.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.074e-05/0.5536, allocations: 108.9 kB / 423 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.5537, allocations: 3.906 kB / 423 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.5537, allocations: 15.97 kB / 423 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5537, allocations: 0 / 423 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5537, allocations: 0 / 423 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5538, allocations: 4 kB / 423 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.5541, allocations: 280.9 kB / 423.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5541, allocations: 0 / 423.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.5541, allocations: 0 / 423.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.5542, allocations: 3.953 kB / 423.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.5542, allocations: 0 / 423.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.5542, allocations: 4 kB / 423.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5542, allocations: 7.922 kB / 423.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.5544, allocations: 146.3 kB / 423.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.5545, allocations: 85.02 kB / 423.5 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.5545, allocations: 3.953 kB / 423.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/0.5546, allocations: 0 / 423.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.5546, allocations: 192 / 423.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.5546, allocations: 8.359 kB / 423.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.357e-05/0.5547, allocations: 86.28 kB / 423.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5547, allocations: 0 / 423.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00041/0.5551, allocations: 35.25 kB / 423.6 MB, free: 12.87 MB / 346.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.001025/0.5562, allocations: 0.7904 MB / 424.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.5563, allocations: 19.23 kB / 424.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5564, allocations: 0.8906 kB / 424.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/0.5564, allocations: 8 kB / 424.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.5566, allocations: 11.83 kB / 424.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.5571, allocations: 121.7 kB / 424.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.5574, allocations: 0.677 MB / 425.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.778e-05/0.5575, allocations: 7.984 kB / 425.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.5575, allocations: 15.25 kB / 425.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5575, allocations: 0 / 425.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.5799, allocations: 1.851 MB / 427.1 MB, free: 9.391 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003234/0.5803, allocations: 197.3 kB / 427.3 MB, free: 9.164 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/2.979, allocations: 0 / 427.3 MB, free: 9.164 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat does not exist to compare? outputFormat=mat