Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.285e-05, allocations: 0 / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.5606, allocations: 73.97 MB / 373.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.561, allocations: 69.03 kB / 374 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03498/0.596, allocations: 7.465 MB / 381.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.596, allocations: 0 / 381.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.5961, allocations: 2.094 kB / 381.5 MB, free: 11.64 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001086/0.5972, allocations: 0.498 MB / 382 MB, free: 11.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5972, allocations: 9.25 kB / 382 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.913e-05/0.5973, allocations: 43.58 kB / 382 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.5976, allocations: 35.38 kB / 382.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.5978, allocations: 206.3 kB / 382.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.5979, allocations: 10.5 kB / 382.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.5979, allocations: 6.438 kB / 382.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.5982, allocations: 116.5 kB / 382.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5982, allocations: 0 / 382.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.5983, allocations: 8.656 kB / 382.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.5983, allocations: 1.344 kB / 382.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.5984, allocations: 47.95 kB / 382.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009512/0.5994, allocations: 0.5729 MB / 383 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.5997, allocations: 124.6 kB / 383.1 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.5999, allocations: 58.73 kB / 383.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.5999, allocations: 5.062 kB / 383.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.6002, allocations: 149.5 kB / 383.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/0.6002, allocations: 0 / 383.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005103/0.6007, allocations: 173.8 kB / 383.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.6008, allocations: 121.1 kB / 383.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.601, allocations: 178.5 kB / 383.8 MB, free: 9.969 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.6011, allocations: 44.7 kB / 383.9 MB, free: 9.938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.6012, allocations: 117.2 kB / 384 MB, free: 9.848 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.6013, allocations: 44.61 kB / 384 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.6013, allocations: 5.062 kB / 384 MB, free: 9.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.6014, allocations: 329.3 kB / 384.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.6017, allocations: 79.33 kB / 384.4 MB, free: 9.512 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.6019, allocations: 115.9 kB / 384.5 MB, free: 9.477 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.6022, allocations: 91.22 kB / 384.6 MB, free: 9.477 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6022, allocations: 0 / 384.6 MB, free: 9.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000674/0.6029, allocations: 264.4 kB / 384.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.6029, allocations: 5.594 kB / 384.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.603, allocations: 2.812 kB / 384.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.603, allocations: 9.453 kB / 384.9 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.6033, allocations: 27.67 kB / 384.9 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.6033, allocations: 2.469 kB / 384.9 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.6035, allocations: 26.36 kB / 385 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.6036, allocations: 13.12 kB / 385 MB, free: 9.402 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001481/0.6037, allocations: 139.8 kB / 385.1 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.6038, allocations: 21.64 kB / 385.1 MB, free: 9.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.6039, allocations: 13.16 kB / 385.1 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.6039, allocations: 5.203 kB / 385.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6039, allocations: 1.219 kB / 385.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.6039, allocations: 4.062 kB / 385.2 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.6042, allocations: 222.7 kB / 385.4 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6042, allocations: 1.531 kB / 385.4 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.6043, allocations: 15.67 kB / 385.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.6043, allocations: 1.625 kB / 385.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.6044, allocations: 8.984 kB / 385.4 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.6044, allocations: 1.75 kB / 385.4 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6044, allocations: 7.891 kB / 385.4 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.6048, allocations: 243.2 kB / 385.6 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.6049, allocations: 96.98 kB / 385.7 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.605, allocations: 17.52 kB / 385.8 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.6051, allocations: 8.031 kB / 385.8 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.6052, allocations: 16.2 kB / 385.8 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.6052, allocations: 12.16 kB / 385.8 MB, free: 8.812 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.6054, allocations: 138.4 kB / 385.9 MB, free: 8.734 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6054, allocations: 0 / 385.9 MB, free: 8.734 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009665/0.6064, allocations: 159.4 kB / 386.1 MB, free: 8.688 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002395/0.6088, allocations: 1.265 MB / 387.3 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005983/0.6094, allocations: 224.6 kB / 387.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6094, allocations: 1.312 kB / 387.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.6096, allocations: 50.2 kB / 387.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.6098, allocations: 12.09 kB / 387.6 MB, free: 7.711 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.611, allocations: 334.7 kB / 388 MB, free: 7.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.6112, allocations: 0.7217 MB / 388.7 MB, free: 6.801 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.6114, allocations: 18.75 kB / 388.7 MB, free: 6.801 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.6115, allocations: 45.09 kB / 388.7 MB, free: 6.793 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6115, allocations: 5.375 kB / 388.7 MB, free: 6.789 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.6474, allocations: 5.302 MB / 394 MB, free: 6.203 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003884/0.6479, allocations: 201.8 kB / 394.2 MB, free: 5.977 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/3.311, allocations: 0 / 394.2 MB, free: 5.977 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat does not exist to compare? outputFormat=mat