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.319/2.319, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.802e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3733, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.51, allocations: 71.23 MB / 365.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5103, allocations: 71.95 kB / 365.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02146/0.5318, allocations: 4.133 MB / 369.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5319, allocations: 0 / 369.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.5319, allocations: 4 kB / 369.7 MB, free: 6.395 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.0008191/0.5327, allocations: 426.7 kB / 370.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.5328, allocations: 12.03 kB / 370.1 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.5332, allocations: 39.78 kB / 370.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.5334, allocations: 194.9 kB / 370.3 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.5335, allocations: 3.984 kB / 370.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.5335, allocations: 4 kB / 370.3 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001442/0.5337, allocations: 43.92 kB / 370.4 MB, free: 5.602 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.5339, allocations: 92.16 kB / 370.5 MB, free: 5.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.5339, allocations: 4 kB / 370.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.534, allocations: 7.984 kB / 370.5 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.534, allocations: 0 / 370.5 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/0.5348, allocations: 358 kB / 370.8 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.5351, allocations: 97.19 kB / 370.9 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.5352, allocations: 45.83 kB / 371 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.5353, allocations: 3.984 kB / 371 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.5355, allocations: 126.9 kB / 371.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.354e-06/0.5356, allocations: 0 / 371.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004745/0.536, allocations: 169.8 kB / 371.2 MB, free: 4.617 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.5361, allocations: 93.09 kB / 371.3 MB, free: 4.508 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.5364, allocations: 149.5 kB / 371.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.5364, allocations: 41.69 kB / 371.5 MB, free: 4.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5365, allocations: 112.5 kB / 371.6 MB, free: 4.195 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.5367, allocations: 39.55 kB / 371.7 MB, free: 4.156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.5367, allocations: 3.938 kB / 371.7 MB, free: 4.152 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5369, allocations: 330.8 kB / 372 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.5371, allocations: 76.48 kB / 372.1 MB, free: 3.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.5373, allocations: 103.3 kB / 372.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.5378, allocations: 105.5 kB / 372.3 MB, free: 3.527 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.5378, allocations: 0 / 372.3 MB, free: 3.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007805/0.5386, allocations: 249.3 kB / 372.5 MB, free: 3.277 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.5386, allocations: 4 kB / 372.5 MB, free: 3.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/0.5387, allocations: 4 kB / 372.5 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.5387, allocations: 4.062 kB / 372.5 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.539, allocations: 23.98 kB / 372.6 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.539, allocations: 7.938 kB / 372.6 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.5392, allocations: 23.69 kB / 372.6 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.5392, allocations: 15.98 kB / 372.6 MB, free: 3.195 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.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,$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,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.0001821/0.5394, allocations: 135.9 kB / 372.7 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003926/0.5398, allocations: 177.5 kB / 372.9 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.5399, allocations: 15.81 kB / 372.9 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.5399, allocations: 9.844 kB / 372.9 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.54, allocations: 4 kB / 372.9 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.54, allocations: 0 / 372.9 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.54, allocations: 0 / 372.9 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.5403, allocations: 194 kB / 373.1 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5403, allocations: 0 / 373.1 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.5404, allocations: 8 kB / 373.1 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.5404, allocations: 4 kB / 373.1 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.5404, allocations: 7.984 kB / 373.1 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.5405, allocations: 3.938 kB / 373.2 MB, free: 2.598 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5405, allocations: 0 / 373.2 MB, free: 2.598 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.5409, allocations: 207.4 kB / 373.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.541, allocations: 92.94 kB / 373.4 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.5411, allocations: 12 kB / 373.5 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5412, allocations: 11.98 kB / 373.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.5413, allocations: 11.98 kB / 373.5 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.5413, allocations: 11.98 kB / 373.5 MB, free: 2.211 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.5415, allocations: 111.3 kB / 373.6 MB, free: 2.102 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5415, allocations: 4 kB / 373.6 MB, free: 2.098 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005171/0.542, allocations: 55.94 kB / 373.7 MB, free: 2.043 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,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.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.001472/0.5435, allocations: 0.9994 MB / 374.7 MB, free: 1.031 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004989/0.544, allocations: 219.2 kB / 374.9 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.544, allocations: 0 / 374.9 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.5442, allocations: 55.91 kB / 374.9 MB, free: 0.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.5444, allocations: 7.984 kB / 374.9 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007896/0.5452, allocations: 231.8 kB / 375.2 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.5456, allocations: 0.7198 MB / 375.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.423e-05/0.5457, allocations: 16.81 kB / 375.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.5458, allocations: 43.36 kB / 375.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.011e-06/0.5458, allocations: 0 / 375.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04494/0.5907, allocations: 3.365 MB / 379.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/0.5911, allocations: 166.8 kB / 379.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.186, allocations: 4 kB / 379.5 MB, free: 12.11 MB / 330.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