Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.443e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 47.57 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/0.5325, allocations: 76.06 MB / 393.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5328, allocations: 62.66 kB / 393.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.5516, allocations: 4.133 MB / 397.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5516, allocations: 0 / 397.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.5516, allocations: 0 / 397.3 MB, free: 7.945 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.000782/0.5524, allocations: 440.7 kB / 397.7 MB, free: 7.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.5525, allocations: 8.031 kB / 397.7 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.347e-05/0.5526, allocations: 41.84 kB / 397.7 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004137/0.553, allocations: 35.88 kB / 397.8 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.5532, allocations: 198.6 kB / 398 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.5533, allocations: 11.83 kB / 398 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.5533, allocations: 4 kB / 398 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.5536, allocations: 108.9 kB / 398.1 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5536, allocations: 0 / 398.1 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.5537, allocations: 4 kB / 398.1 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5537, allocations: 0 / 398.1 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.5538, allocations: 38.8 kB / 398.1 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009675/0.5548, allocations: 477.6 kB / 398.6 MB, free: 6.539 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.5551, allocations: 97.75 kB / 398.7 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.5552, allocations: 49.78 kB / 398.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.5553, allocations: 0 / 398.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/0.5556, allocations: 139.4 kB / 398.9 MB, free: 6.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.5556, allocations: 0 / 398.9 MB, free: 6.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004859/0.5561, allocations: 162 kB / 399 MB, free: 6.137 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.5562, allocations: 96.02 kB / 399.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.5564, allocations: 161.8 kB / 399.3 MB, free: 5.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.121e-05/0.5565, allocations: 52.05 kB / 399.3 MB, free: 5.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5566, allocations: 112.4 kB / 399.5 MB, free: 5.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.5567, allocations: 34.66 kB / 399.5 MB, free: 5.703 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.5567, allocations: 3.25 kB / 399.5 MB, free: 5.703 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5569, allocations: 334.2 kB / 399.8 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.5572, allocations: 77.88 kB / 399.9 MB, free: 5.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.5574, allocations: 104.1 kB / 400 MB, free: 5.242 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.5577, allocations: 98.98 kB / 400.1 MB, free: 5.172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5577, allocations: 0 / 400.1 MB, free: 5.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006279/0.5583, allocations: 247.8 kB / 400.3 MB, free: 4.984 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5584, allocations: 8 kB / 400.3 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.5584, allocations: 0 / 400.3 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.5584, allocations: 11.88 kB / 400.4 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.5587, allocations: 31.91 kB / 400.4 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5587, allocations: 0 / 400.4 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.5589, allocations: 26.7 kB / 400.4 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.5589, allocations: 11.25 kB / 400.4 MB, free: 4.902 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.0001492/0.5591, allocations: 142.4 kB / 400.6 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.5591, allocations: 11.81 kB / 400.6 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.5592, allocations: 12.78 kB / 400.6 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.5592, allocations: 3.984 kB / 400.6 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5592, allocations: 4 kB / 400.6 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5592, allocations: 4 kB / 400.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.5595, allocations: 212.7 kB / 400.8 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.5595, allocations: 3.984 kB / 400.8 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.148e-05/0.5596, allocations: 8 kB / 400.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.5597, allocations: 4 kB / 400.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.5597, allocations: 3.984 kB / 400.8 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5597, allocations: 0 / 400.8 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5597, allocations: 8 kB / 400.8 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.5601, allocations: 216.7 kB / 401 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.5602, allocations: 96.84 kB / 401.1 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.5603, allocations: 11.06 kB / 401.2 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.5604, allocations: 7.984 kB / 401.2 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.5605, allocations: 15.23 kB / 401.2 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.5605, allocations: 11.98 kB / 401.2 MB, free: 4.109 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.5607, allocations: 121.5 kB / 401.3 MB, free: 4.004 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5607, allocations: 0 / 401.3 MB, free: 4.004 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000445/0.5611, allocations: 62.38 kB / 401.4 MB, free: 3.949 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.001444/0.5626, allocations: 1.014 MB / 402.4 MB, free: 2.992 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005404/0.5632, allocations: 215 kB / 402.6 MB, free: 2.812 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5632, allocations: 0 / 402.6 MB, free: 2.812 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.5633, allocations: 52.98 kB / 402.6 MB, free: 2.777 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.5635, allocations: 10.62 kB / 402.7 MB, free: 2.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.5643, allocations: 244.5 kB / 402.9 MB, free: 2.516 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5647, allocations: 0.7162 MB / 403.6 MB, free: 1.773 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.255e-05/0.5648, allocations: 16.86 kB / 403.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.5649, allocations: 45.66 kB / 403.7 MB, free: 1.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5649, allocations: 0 / 403.7 MB, free: 1.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.5883, allocations: 3.715 MB / 407.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.5885, allocations: 196.2 kB / 407.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.106, allocations: 0 / 407.6 MB, free: 13.84 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat does not exist to compare? outputFormat=mat