Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.759/2.759, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.287e-05, allocations: 7.984 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4494, allocations: 58.82 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.634, allocations: 86.98 MB / 469.3 MB, free: 5.441 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.6344, allocations: 63.97 kB / 469.3 MB, free: 5.379 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.363/2.997, allocations: 97.1 MB / 0.5532 GB, free: 123.1 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.364e-06/2.997, allocations: 0 / 0.5532 GB, free: 123.1 MB / 458.8 MB Notification: Performance of Transformations before backend: time 5.961e-06/2.997, allocations: 0 / 0.5532 GB, free: 123.1 MB / 458.8 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.005675/3.003, allocations: 448.2 kB / 0.5536 GB, free: 122.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/3.003, allocations: 8.031 kB / 0.5536 GB, free: 122.7 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/3.003, allocations: 34.56 kB / 0.5536 GB, free: 122.6 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/3.003, allocations: 0.5156 kB / 0.5536 GB, free: 122.6 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.562e-05/3.003, allocations: 167 kB / 0.5538 GB, free: 122.4 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/3.003, allocations: 4 kB / 0.5538 GB, free: 122.4 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/3.003, allocations: 0 / 0.5538 GB, free: 122.4 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.74e-05/3.003, allocations: 33.31 kB / 0.5538 GB, free: 122.4 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/3.003, allocations: 0 / 0.5538 GB, free: 122.4 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/3.003, allocations: 4 kB / 0.5538 GB, free: 122.4 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/3.003, allocations: 0 / 0.5538 GB, free: 122.4 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.589e-05/3.003, allocations: 7.938 kB / 0.5538 GB, free: 122.4 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/3.004, allocations: 228.9 kB / 0.5541 GB, free: 122.1 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.714e-05/3.004, allocations: 22.61 kB / 0.5541 GB, free: 122.1 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/3.004, allocations: 12.92 kB / 0.5541 GB, free: 122.1 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/3.004, allocations: 4 kB / 0.5541 GB, free: 122.1 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/3.004, allocations: 57.16 kB / 0.5541 GB, free: 122 MB / 458.8 MB Notification: Performance of pre-optimization done (n=2): time 1.924e-06/3.004, allocations: 0 / 0.5541 GB, free: 122 MB / 458.8 MB Notification: Performance of matching and sorting (n=2): time 0.000199/3.004, allocations: 79.27 kB / 0.5542 GB, free: 121.9 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/3.004, allocations: 77.11 kB / 0.5543 GB, free: 121.8 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.233e-05/3.004, allocations: 85 kB / 0.5544 GB, free: 121.7 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/3.004, allocations: 25.7 kB / 0.5544 GB, free: 121.7 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.588e-05/3.004, allocations: 80.14 kB / 0.5545 GB, free: 121.6 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/3.004, allocations: 7.938 kB / 0.5545 GB, free: 121.6 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/3.004, allocations: 0 / 0.5545 GB, free: 121.6 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 6.162e-05/3.004, allocations: 318.8 kB / 0.5548 GB, free: 121.3 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/3.004, allocations: 4 kB / 0.5548 GB, free: 121.3 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/3.004, allocations: 7.984 kB / 0.5548 GB, free: 121.3 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.925e-05/3.004, allocations: 25.7 kB / 0.5548 GB, free: 121.2 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/3.004, allocations: 0 / 0.5548 GB, free: 121.2 MB / 458.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.347e-05/3.005, allocations: 63.41 kB / 0.5549 GB, free: 121.2 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/3.005, allocations: 33.8 kB / 0.5549 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/3.005, allocations: 0 / 0.5549 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/3.005, allocations: 3.984 kB / 0.5549 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.837e-05/3.005, allocations: 0 / 0.5549 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/3.005, allocations: 3.938 kB / 0.5549 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/3.005, allocations: 4 kB / 0.5549 GB, free: 121.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/3.005, allocations: 0 / 0.5549 GB, free: 121.1 MB / 458.8 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 7.045e-05/3.005, allocations: 138.6 kB / 0.5551 GB, free: 121 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/3.005, allocations: 4 kB / 0.5551 GB, free: 121 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/3.005, allocations: 11.7 kB / 0.5551 GB, free: 121 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/3.005, allocations: 0 / 0.5551 GB, free: 121 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/3.005, allocations: 0 / 0.5551 GB, free: 121 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/3.005, allocations: 0.625 kB / 0.5551 GB, free: 121 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/3.005, allocations: 300.3 kB / 0.5554 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/3.005, allocations: 0 / 0.5554 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-06/3.005, allocations: 0 / 0.5554 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/3.005, allocations: 2.5 kB / 0.5554 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/3.005, allocations: 0 / 0.5554 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/3.005, allocations: 0 / 0.5554 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/3.005, allocations: 8.031 kB / 0.5554 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/3.005, allocations: 169.1 kB / 0.5555 GB, free: 120.4 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/3.005, allocations: 77.11 kB / 0.5556 GB, free: 120.3 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/3.005, allocations: 3.938 kB / 0.5556 GB, free: 120.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.377e-05/3.006, allocations: 4 kB / 0.5556 GB, free: 120.3 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/3.006, allocations: 4 kB / 0.5556 GB, free: 120.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-06/3.006, allocations: 0 / 0.5556 GB, free: 120.3 MB / 458.8 MB Notification: Performance of sorting global known variables: time 1.965e-05/3.006, allocations: 79.31 kB / 0.5557 GB, free: 120.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.01e-07/3.006, allocations: 0 / 0.5557 GB, free: 120.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01283/3.018, allocations: 2.159 MB / 0.5578 GB, free: 118.1 MB / 458.8 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.02169/3.04, allocations: 2.876 MB / 0.5606 GB, free: 115.2 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001774/3.04, allocations: 59.41 kB / 0.5607 GB, free: 115.1 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/3.04, allocations: 0 / 0.5607 GB, free: 115.1 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 5.719e-05/3.041, allocations: 63.41 kB / 0.5607 GB, free: 115.1 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/3.041, allocations: 3.938 kB / 0.5607 GB, free: 115.1 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007782/3.049, allocations: 166.6 kB / 0.5609 GB, free: 114.9 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/3.049, allocations: 0.6731 MB / 0.5615 GB, free: 114.2 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 1.507e-05/3.049, allocations: 0 / 0.5615 GB, free: 114.2 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/3.049, allocations: 11.44 kB / 0.5616 GB, free: 114.2 MB / 458.8 MB Notification: Performance of SimCode: time 1.513e-06/3.049, allocations: 0 / 0.5616 GB, free: 114.2 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2678/3.317, allocations: 124.7 MB / 0.6833 GB, free: 5.383 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/3.317, allocations: 190.1 kB / 0.6835 GB, free: 5.152 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.85/26.17, allocations: 0 / 0.6835 GB, free: 5.152 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat