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.379/2.379, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.661e-05, allocations: 4 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.395, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.5479, allocations: 82.06 MB / 441.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.5482, allocations: 63.97 kB / 442 MB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.869/2.417, allocations: 81.79 MB / 0.5115 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.984e-06/2.417, allocations: 0 / 0.5115 GB, free: 12.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/2.417, allocations: 0 / 0.5115 GB, free: 12.81 MB / 458.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.005407/2.423, allocations: 440.5 kB / 0.5119 GB, free: 12.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/2.423, allocations: 12.03 kB / 0.512 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.553e-05/2.423, allocations: 34.5 kB / 0.512 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/2.423, allocations: 0 / 0.512 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/2.423, allocations: 163.1 kB / 0.5121 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/2.423, allocations: 0 / 0.5121 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/2.423, allocations: 4 kB / 0.5121 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.773e-05/2.423, allocations: 33.66 kB / 0.5122 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/2.423, allocations: 4 kB / 0.5122 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/2.423, allocations: 0 / 0.5122 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/2.423, allocations: 3.984 kB / 0.5122 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/2.423, allocations: 4 kB / 0.5122 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/2.424, allocations: 232.8 kB / 0.5124 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.453e-05/2.424, allocations: 22.61 kB / 0.5124 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/2.424, allocations: 16.88 kB / 0.5124 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/2.424, allocations: 4 kB / 0.5125 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/2.424, allocations: 56.27 kB / 0.5125 GB, free: 11.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/2.424, allocations: 0 / 0.5125 GB, free: 11.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001921/2.424, allocations: 68.23 kB / 0.5126 GB, free: 11.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/2.424, allocations: 81.11 kB / 0.5126 GB, free: 11.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.074e-05/2.424, allocations: 85 kB / 0.5127 GB, free: 11.35 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/2.424, allocations: 29.64 kB / 0.5128 GB, free: 11.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/2.424, allocations: 84.17 kB / 0.5128 GB, free: 11.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/2.424, allocations: 3.906 kB / 0.5128 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/2.424, allocations: 0 / 0.5128 GB, free: 11.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/2.424, allocations: 314.8 kB / 0.5131 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/2.424, allocations: 4 kB / 0.5131 GB, free: 10.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/2.424, allocations: 0.5625 kB / 0.5131 GB, free: 10.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/2.424, allocations: 33.69 kB / 0.5132 GB, free: 10.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/2.424, allocations: 0 / 0.5132 GB, free: 10.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000102/2.425, allocations: 67.47 kB / 0.5132 GB, free: 10.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/2.425, allocations: 37.66 kB / 0.5133 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/2.425, allocations: 0 / 0.5133 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/2.425, allocations: 1.031 kB / 0.5133 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.801e-05/2.425, allocations: 3.984 kB / 0.5133 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/2.425, allocations: 0 / 0.5133 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/2.425, allocations: 4.875 kB / 0.5133 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/2.425, allocations: 0 / 0.5133 GB, free: 10.74 MB / 458.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: 2 (result,$outputAlias_result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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 9.143e-05/2.425, allocations: 127.4 kB / 0.5134 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/2.425, allocations: 4 kB / 0.5134 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/2.425, allocations: 19 kB / 0.5134 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/2.425, allocations: 0 / 0.5134 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/2.425, allocations: 0 / 0.5134 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/2.425, allocations: 0 / 0.5134 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/2.425, allocations: 297.8 kB / 0.5137 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/2.425, allocations: 0.6875 kB / 0.5137 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-06/2.425, allocations: 0 / 0.5137 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/2.425, allocations: 3.953 kB / 0.5137 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/2.425, allocations: 3.938 kB / 0.5137 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/2.425, allocations: 6.281 kB / 0.5137 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/2.425, allocations: 0 / 0.5137 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/2.425, allocations: 169.2 kB / 0.5139 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/2.426, allocations: 81.11 kB / 0.514 GB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/2.426, allocations: 3.953 kB / 0.514 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/2.426, allocations: 4 kB / 0.514 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/2.426, allocations: 0 / 0.514 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/2.426, allocations: 4.031 kB / 0.514 GB, free: 9.918 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.065e-05/2.426, allocations: 75.28 kB / 0.5141 GB, free: 9.844 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.426, allocations: 0 / 0.5141 GB, free: 9.844 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01366/2.439, allocations: 2.16 MB / 0.5162 GB, free: 7.684 MB / 458.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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.02048/2.46, allocations: 2.868 MB / 0.519 GB, free: 4.789 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/2.46, allocations: 63.41 kB / 0.519 GB, free: 4.715 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.46, allocations: 0 / 0.519 GB, free: 4.715 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.685e-05/2.46, allocations: 55.41 kB / 0.5191 GB, free: 4.648 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/2.46, allocations: 10.45 kB / 0.5191 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/2.465, allocations: 171.2 kB / 0.5192 GB, free: 4.438 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/2.465, allocations: 0.677 MB / 0.5199 GB, free: 3.734 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.285e-05/2.465, allocations: 0 / 0.5199 GB, free: 3.734 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/2.465, allocations: 11.44 kB / 0.5199 GB, free: 3.723 MB / 458.7 MB Notification: Performance of SimCode: time 1.022e-06/2.465, allocations: 0 / 0.5199 GB, free: 3.723 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6685/3.134, allocations: 124.5 MB / 0.6415 GB, free: 43.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/3.134, allocations: 198.2 kB / 0.6417 GB, free: 43.07 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.52/23.66, allocations: 3.938 kB / 0.6417 GB, free: 43.06 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