Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.086e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 50.41 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.5894, allocations: 79.49 MB / 422.1 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.5898, allocations: 75.48 kB / 422.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03178/0.6216, allocations: 6.344 MB / 428.5 MB, free: 9.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6216, allocations: 0 / 428.5 MB, free: 9.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.262e-05/0.6216, allocations: 4 kB / 428.6 MB, free: 9.199 MB / 346.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.001074/0.6227, allocations: 497.1 kB / 429 MB, free: 8.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.6228, allocations: 8.031 kB / 429 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.6229, allocations: 41.23 kB / 429.1 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/0.6232, allocations: 31.7 kB / 429.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.6236, allocations: 248.7 kB / 429.4 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.6236, allocations: 11.88 kB / 429.4 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.6237, allocations: 8 kB / 429.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.624, allocations: 92.08 kB / 429.5 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.624, allocations: 0 / 429.5 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.624, allocations: 3.953 kB / 429.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.6241, allocations: 4 kB / 429.5 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.6243, allocations: 71.83 kB / 429.5 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.6254, allocations: 441.7 kB / 430 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.6258, allocations: 109 kB / 430.1 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.6259, allocations: 60.47 kB / 430.1 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.626, allocations: 3.953 kB / 430.1 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.6263, allocations: 110.8 kB / 430.3 MB, free: 7.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.715e-06/0.6263, allocations: 0 / 430.3 MB, free: 7.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005302/0.6268, allocations: 169.4 kB / 430.4 MB, free: 7.367 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.6269, allocations: 63.38 kB / 430.5 MB, free: 7.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.6273, allocations: 202.3 kB / 430.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.6274, allocations: 41.64 kB / 430.7 MB, free: 7.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.6275, allocations: 121.4 kB / 430.8 MB, free: 6.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.6275, allocations: 36.77 kB / 430.9 MB, free: 6.945 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.6276, allocations: 7.25 kB / 430.9 MB, free: 6.941 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6277, allocations: 333.9 kB / 431.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.628, allocations: 71.16 kB / 431.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.6282, allocations: 93.69 kB / 431.4 MB, free: 6.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.6285, allocations: 91.31 kB / 431.5 MB, free: 6.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6285, allocations: 0 / 431.5 MB, free: 6.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006044/0.6291, allocations: 230 kB / 431.7 MB, free: 6.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.6291, allocations: 7.953 kB / 431.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.6292, allocations: 7.984 kB / 431.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.6292, allocations: 0 / 431.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.6295, allocations: 34.8 kB / 431.7 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.6296, allocations: 0 / 431.7 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.6299, allocations: 35.72 kB / 431.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.63, allocations: 8 kB / 431.8 MB, free: 6.164 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001416/0.6301, allocations: 120.7 kB / 431.9 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.6302, allocations: 15.12 kB / 431.9 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.435e-05/0.6303, allocations: 25.36 kB / 431.9 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6303, allocations: 0 / 431.9 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6303, allocations: 0 / 431.9 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6303, allocations: 0 / 431.9 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.6306, allocations: 248.9 kB / 432.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.6307, allocations: 0 / 432.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.6309, allocations: 15.98 kB / 432.2 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.6309, allocations: 4 kB / 432.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.6309, allocations: 3.984 kB / 432.2 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.631, allocations: 7.953 kB / 432.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.631, allocations: 0 / 432.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.6316, allocations: 262 kB / 432.5 MB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.6318, allocations: 111.5 kB / 432.6 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.6318, allocations: 7.984 kB / 432.6 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.6322, allocations: 19.59 kB / 432.6 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.6322, allocations: 11.94 kB / 432.6 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.6323, allocations: 4 kB / 432.6 MB, free: 5.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002355/0.6325, allocations: 158 kB / 432.8 MB, free: 5.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6325, allocations: 0 / 432.8 MB, free: 5.211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006667/0.6332, allocations: 118.6 kB / 432.9 MB, free: 5.105 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002035/0.6353, allocations: 1.016 MB / 433.9 MB, free: 4.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005284/0.6358, allocations: 183.5 kB / 434.1 MB, free: 4.012 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6358, allocations: 0 / 434.1 MB, free: 4.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.636, allocations: 65.22 kB / 434.1 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.6363, allocations: 11.58 kB / 434.2 MB, free: 3.957 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.6376, allocations: 364 kB / 434.5 MB, free: 3.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.638, allocations: 0.7323 MB / 435.2 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.6383, allocations: 33.19 kB / 435.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.6384, allocations: 46.11 kB / 435.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6384, allocations: 0 / 435.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.6719, allocations: 4.915 MB / 440.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003256/0.6723, allocations: 202.9 kB / 440.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.426, allocations: 0 / 440.4 MB, free: 13.73 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat does not exist to compare? outputFormat=mat