Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.499/2.499, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.698e-05/2.714e-05, allocations: 3.938 kB / 299.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4166, allocations: 54.86 MB / 354.3 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.5783, allocations: 81.38 MB / 435.7 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5786, allocations: 63.97 kB / 435.8 MB, free: 14.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.581/3.159, allocations: 81.5 MB / 0.5052 GB, free: 88.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.235e-06/3.159, allocations: 0 / 0.5052 GB, free: 88.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/3.159, allocations: 4 kB / 0.5052 GB, free: 88.87 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.005548/3.165, allocations: 438.7 kB / 0.5056 GB, free: 88.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/3.165, allocations: 8.031 kB / 0.5056 GB, free: 88.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/3.165, allocations: 0 / 0.5056 GB, free: 88.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.384e-05/3.165, allocations: 159.1 kB / 0.5057 GB, free: 88.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/3.165, allocations: 0 / 0.5057 GB, free: 88.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/3.165, allocations: 4 kB / 0.5058 GB, free: 88.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.135e-05/3.165, allocations: 0 / 0.5058 GB, free: 88.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.276e-05/3.165, allocations: 41.45 kB / 0.5058 GB, free: 88.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/3.165, allocations: 4 kB / 0.5058 GB, free: 88.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/3.165, allocations: 9.906 kB / 0.5058 GB, free: 88.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/3.165, allocations: 0 / 0.5058 GB, free: 88.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.183e-05/3.165, allocations: 122.2 kB / 0.5059 GB, free: 88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.814e-05/3.165, allocations: 14.58 kB / 0.5059 GB, free: 87.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/3.165, allocations: 8.953 kB / 0.5059 GB, free: 87.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/3.165, allocations: 0 / 0.5059 GB, free: 87.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/3.166, allocations: 60.27 kB / 0.506 GB, free: 87.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/3.166, allocations: 0 / 0.506 GB, free: 87.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001744/3.166, allocations: 41.69 kB / 0.506 GB, free: 87.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/3.166, allocations: 77.11 kB / 0.5061 GB, free: 87.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.375e-05/3.166, allocations: 92.84 kB / 0.5062 GB, free: 87.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/3.166, allocations: 25.7 kB / 0.5062 GB, free: 87.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.474e-05/3.166, allocations: 80.14 kB / 0.5063 GB, free: 87.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/3.166, allocations: 0 / 0.5063 GB, free: 87.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/3.166, allocations: 4.031 kB / 0.5063 GB, free: 87.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/3.166, allocations: 314.8 kB / 0.5066 GB, free: 87.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/3.166, allocations: 4 kB / 0.5066 GB, free: 87.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-06/3.166, allocations: 0 / 0.5066 GB, free: 87.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.562e-05/3.166, allocations: 7.703 kB / 0.5066 GB, free: 87.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/3.166, allocations: 0 / 0.5066 GB, free: 87.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.671e-05/3.166, allocations: 37.7 kB / 0.5067 GB, free: 87.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/3.166, allocations: 29.7 kB / 0.5067 GB, free: 87.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/3.166, allocations: 96 / 0.5067 GB, free: 87.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/3.166, allocations: 8 kB / 0.5067 GB, free: 87.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/3.166, allocations: 0 / 0.5067 GB, free: 87.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/3.166, allocations: 0 / 0.5067 GB, free: 87.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/3.166, allocations: 0 / 0.5067 GB, free: 87.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/3.166, allocations: 3.984 kB / 0.5067 GB, free: 87.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 6.496e-05/3.166, allocations: 139.4 kB / 0.5068 GB, free: 86.98 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.364e-05/3.166, allocations: 37.64 kB / 0.5069 GB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/3.166, allocations: 0 / 0.5069 GB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.563e-05/3.166, allocations: 15.72 kB / 0.5069 GB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/3.166, allocations: 0 / 0.5069 GB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/3.166, allocations: 5.938 kB / 0.5069 GB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/3.167, allocations: 3.953 kB / 0.5069 GB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.705e-05/3.167, allocations: 126.2 kB / 0.507 GB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/3.167, allocations: 3.938 kB / 0.507 GB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/3.167, allocations: 0 / 0.507 GB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/3.167, allocations: 0 / 0.507 GB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/3.167, allocations: 4 kB / 0.507 GB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/3.167, allocations: 0 / 0.507 GB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/3.167, allocations: 0 / 0.507 GB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/3.167, allocations: 69.02 kB / 0.5071 GB, free: 86.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/3.167, allocations: 79.31 kB / 0.5072 GB, free: 86.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/3.167, allocations: 4 kB / 0.5072 GB, free: 86.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/3.167, allocations: 0 / 0.5072 GB, free: 86.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/3.167, allocations: 7.984 kB / 0.5072 GB, free: 86.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/3.167, allocations: 0.875 kB / 0.5072 GB, free: 86.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.566e-05/3.167, allocations: 75.28 kB / 0.5072 GB, free: 86.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/3.167, allocations: 4.031 kB / 0.5072 GB, free: 86.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01264/3.18, allocations: 2.158 MB / 0.5094 GB, free: 84.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.02208/3.202, allocations: 2.772 MB / 0.5121 GB, free: 81.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/3.202, allocations: 63.41 kB / 0.5121 GB, free: 81.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/3.202, allocations: 0 / 0.5121 GB, free: 81.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/3.202, allocations: 51.41 kB / 0.5122 GB, free: 81.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/3.202, allocations: 4 kB / 0.5122 GB, free: 81.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004869/3.207, allocations: 157.5 kB / 0.5123 GB, free: 81.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/3.207, allocations: 0.6768 MB / 0.513 GB, free: 80.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.613e-06/3.207, allocations: 0 / 0.513 GB, free: 80.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/3.207, allocations: 11.44 kB / 0.513 GB, free: 80.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/3.207, allocations: 0 / 0.513 GB, free: 80.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3005/3.508, allocations: 125.6 MB / 0.6356 GB, free: 2.789 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003318/3.508, allocations: 170.3 kB / 0.6358 GB, free: 2.59 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 25.14/28.65, allocations: 0 / 0.6358 GB, free: 2.59 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat