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.103/2.103, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/2.996e-05, allocations: 4 kB / 255.4 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09453, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5189, allocations: 71.88 MB / 371.8 MB, free: 22.19 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.5193, allocations: 72.58 kB / 371.9 MB, free: 22.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01817/0.5375, allocations: 4.136 MB / 376.1 MB, free: 21.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5375, allocations: 0 / 376.1 MB, free: 21.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.5375, allocations: 2.344 kB / 376.1 MB, free: 21.65 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.0007138/0.5383, allocations: 435.9 kB / 376.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.5383, allocations: 8.969 kB / 376.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.893e-05/0.5384, allocations: 43.61 kB / 376.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/0.5388, allocations: 39.53 kB / 376.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.539, allocations: 184.8 kB / 376.8 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.5391, allocations: 15.12 kB / 376.8 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.5391, allocations: 9.938 kB / 376.8 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.5394, allocations: 108.8 kB / 376.9 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5394, allocations: 1.375 kB / 376.9 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.5394, allocations: 1.875 kB / 376.9 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.5394, allocations: 1.312 kB / 376.9 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.5396, allocations: 39.52 kB / 376.9 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.5404, allocations: 479 kB / 377.4 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.5407, allocations: 102.4 kB / 377.5 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.5408, allocations: 51.33 kB / 377.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.5408, allocations: 1.219 kB / 377.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.5411, allocations: 129.6 kB / 377.7 MB, free: 20.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.5411, allocations: 0 / 377.7 MB, free: 20.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004454/0.5416, allocations: 180.7 kB / 377.8 MB, free: 20.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.5416, allocations: 98.45 kB / 377.9 MB, free: 20.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.5418, allocations: 161.1 kB / 378.1 MB, free: 20.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.5419, allocations: 45.28 kB / 378.1 MB, free: 20.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.542, allocations: 109.5 kB / 378.3 MB, free: 20.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.542, allocations: 40.81 kB / 378.3 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.5421, allocations: 5.125 kB / 378.3 MB, free: 20.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.5422, allocations: 329.7 kB / 378.6 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.5424, allocations: 79.72 kB / 378.7 MB, free: 19.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.5427, allocations: 115.4 kB / 378.8 MB, free: 19.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.5429, allocations: 84.05 kB / 378.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5429, allocations: 1.281 kB / 378.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006341/0.5436, allocations: 261.6 kB / 379.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.5436, allocations: 5.094 kB / 379.2 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.5437, allocations: 2.219 kB / 379.2 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.5437, allocations: 7.734 kB / 379.2 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.5439, allocations: 31.27 kB / 379.2 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.544, allocations: 3.062 kB / 379.2 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.5441, allocations: 28.23 kB / 379.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.5442, allocations: 10.23 kB / 379.2 MB, free: 19.62 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.0001335/0.5443, allocations: 133.9 kB / 379.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.5444, allocations: 13.97 kB / 379.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.5444, allocations: 13.52 kB / 379.4 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5444, allocations: 1.5 kB / 379.4 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5445, allocations: 1.531 kB / 379.4 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5445, allocations: 1.875 kB / 379.4 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.5447, allocations: 223.1 kB / 379.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5447, allocations: 0 / 379.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.5448, allocations: 12.69 kB / 379.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5448, allocations: 1.312 kB / 379.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.5449, allocations: 5.219 kB / 379.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.5449, allocations: 2.656 kB / 379.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5449, allocations: 1.219 kB / 379.6 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.5453, allocations: 209.8 kB / 379.8 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.5453, allocations: 93.52 kB / 379.9 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.5454, allocations: 13.36 kB / 379.9 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.5455, allocations: 12.36 kB / 380 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.5456, allocations: 14.89 kB / 380 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.5456, allocations: 12.31 kB / 380 MB, free: 19.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.5458, allocations: 126.4 kB / 380.1 MB, free: 18.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5458, allocations: 0 / 380.1 MB, free: 18.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004882/0.5463, allocations: 66.58 kB / 380.2 MB, free: 18.98 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.001284/0.5476, allocations: 1.006 MB / 381.2 MB, free: 18.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004859/0.5481, allocations: 221.2 kB / 381.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5481, allocations: 0 / 381.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.5482, allocations: 54.5 kB / 381.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.5484, allocations: 13.02 kB / 381.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007068/0.5491, allocations: 247.9 kB / 381.7 MB, free: 18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.5493, allocations: 0.7145 MB / 382.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.5494, allocations: 16.17 kB / 382.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/0.5495, allocations: 38.62 kB / 382.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5495, allocations: 5.281 kB / 382.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.5752, allocations: 3.729 MB / 386.2 MB, free: 16.84 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/0.5756, allocations: 210.5 kB / 386.4 MB, free: 16.6 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.196, allocations: 4 kB / 386.4 MB, free: 16.6 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