Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.591e-05, allocations: 4 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 44.5 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4784/0.584, allocations: 71.89 MB / 371.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.5843, allocations: 67.8 kB / 371.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.6034, allocations: 4.147 MB / 376.1 MB, free: 21.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6035, allocations: 1.25 kB / 376.1 MB, free: 21.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.6035, allocations: 1.844 kB / 376.1 MB, free: 21.28 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007395/0.6042, allocations: 435.3 kB / 376.5 MB, free: 20.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6043, allocations: 9.438 kB / 376.5 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.62e-05/0.6044, allocations: 42.75 kB / 376.6 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004062/0.6048, allocations: 40.34 kB / 376.6 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.605, allocations: 188.1 kB / 376.8 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.605, allocations: 3.812 kB / 376.8 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.6051, allocations: 20.41 kB / 376.8 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.6053, allocations: 104.3 kB / 376.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6054, allocations: 3.938 kB / 376.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.6054, allocations: 5.266 kB / 376.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.6054, allocations: 1.094 kB / 376.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.6056, allocations: 43.22 kB / 377 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.6065, allocations: 473 kB / 377.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.6068, allocations: 101.1 kB / 377.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.6069, allocations: 49.41 kB / 377.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.6069, allocations: 5 kB / 377.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.6072, allocations: 129.6 kB / 377.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 3.126e-06/0.6072, allocations: 0 / 377.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004805/0.6077, allocations: 169.9 kB / 377.9 MB, free: 20.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.6078, allocations: 96.12 kB / 378 MB, free: 19.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.608, allocations: 163 kB / 378.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.6081, allocations: 45.33 kB / 378.2 MB, free: 19.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.6082, allocations: 114.7 kB / 378.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.6082, allocations: 41.81 kB / 378.3 MB, free: 19.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.6083, allocations: 4.281 kB / 378.3 MB, free: 19.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.6083, allocations: 328.2 kB / 378.6 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.6086, allocations: 82.67 kB / 378.7 MB, free: 19.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.6088, allocations: 105.4 kB / 378.8 MB, free: 19.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.6091, allocations: 89.89 kB / 378.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6091, allocations: 0 / 378.9 MB, free: 19.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006014/0.6097, allocations: 259.5 kB / 379.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.6097, allocations: 8.344 kB / 379.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.6098, allocations: 3.031 kB / 379.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.6098, allocations: 1.625 kB / 379.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.6101, allocations: 27.61 kB / 379.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.6101, allocations: 3.234 kB / 379.2 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.6102, allocations: 31.27 kB / 379.2 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.6103, allocations: 11.41 kB / 379.2 MB, free: 19.26 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * 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.000159/0.6105, allocations: 126.7 kB / 379.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.6105, allocations: 15.16 kB / 379.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.6106, allocations: 19.7 kB / 379.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.6106, allocations: 3.062 kB / 379.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6106, allocations: 0 / 379.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6106, allocations: 1.375 kB / 379.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.6109, allocations: 224.8 kB / 379.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6109, allocations: 0 / 379.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.278e-05/0.611, allocations: 14.48 kB / 379.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.611, allocations: 0.9062 kB / 379.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.611, allocations: 7.734 kB / 379.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.611, allocations: 0.9688 kB / 379.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6111, allocations: 4.812 kB / 379.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.6114, allocations: 209.8 kB / 379.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.6115, allocations: 93.77 kB / 380 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.6116, allocations: 13.38 kB / 380 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.6117, allocations: 7.578 kB / 380 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.6118, allocations: 13.2 kB / 380 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.6118, allocations: 10.05 kB / 380 MB, free: 18.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.6119, allocations: 126.6 kB / 380.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.612, allocations: 3.938 kB / 380.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005234/0.6125, allocations: 62.95 kB / 380.2 MB, free: 18.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.001269/0.6138, allocations: 1.006 MB / 381.2 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005046/0.6143, allocations: 222.2 kB / 381.4 MB, free: 17.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6143, allocations: 0 / 381.4 MB, free: 17.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.6145, allocations: 50.59 kB / 381.5 MB, free: 17.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.6147, allocations: 7.297 kB / 381.5 MB, free: 17.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/0.6154, allocations: 256.5 kB / 381.7 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.6156, allocations: 0.714 MB / 382.4 MB, free: 16.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.815e-05/0.6157, allocations: 19.81 kB / 382.4 MB, free: 16.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.102e-05/0.6158, allocations: 39.75 kB / 382.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of SimCode: time 9.81e-07/0.6159, allocations: 1.469 kB / 382.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.6446, allocations: 3.721 MB / 386.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/0.6449, allocations: 197.5 kB / 386.4 MB, free: 16.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.186, allocations: 0 / 386.4 MB, free: 16.25 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat does not exist to compare? outputFormat=mat