Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.329/2.329, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.843e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3897, allocations: 54.84 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5429, allocations: 83.42 MB / 443.3 MB, free: 13.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5432, allocations: 69.98 kB / 443.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336/1.88, allocations: 71.78 MB / 0.5031 GB, free: 5.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.88, allocations: 0 / 0.5031 GB, free: 5.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/1.88, allocations: 0 / 0.5031 GB, free: 5.48 MB / 442.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.004578/1.884, allocations: 463.9 kB / 0.5035 GB, free: 4.977 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.884, allocations: 8.031 kB / 0.5035 GB, free: 4.969 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.027e-05/1.884, allocations: 38.5 kB / 0.5036 GB, free: 4.922 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/1.884, allocations: 3.984 kB / 0.5036 GB, free: 4.918 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/1.885, allocations: 159.1 kB / 0.5037 GB, free: 4.723 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/1.885, allocations: 7.984 kB / 0.5037 GB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/1.885, allocations: 0 / 0.5037 GB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/1.885, allocations: 33.66 kB / 0.5038 GB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.885, allocations: 0.5625 kB / 0.5038 GB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/1.885, allocations: 0 / 0.5038 GB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.885, allocations: 0 / 0.5038 GB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.931e-05/1.885, allocations: 8 kB / 0.5038 GB, free: 4.668 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/1.885, allocations: 228.9 kB / 0.504 GB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.537e-05/1.885, allocations: 26.61 kB / 0.504 GB, free: 4.359 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/1.885, allocations: 14.09 kB / 0.504 GB, free: 4.344 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/1.885, allocations: 0 / 0.504 GB, free: 4.344 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/1.885, allocations: 60.25 kB / 0.5041 GB, free: 4.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/1.885, allocations: 4 kB / 0.5041 GB, free: 4.266 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002119/1.885, allocations: 67.41 kB / 0.5042 GB, free: 4.188 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/1.886, allocations: 77.11 kB / 0.5042 GB, free: 4.094 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.261e-05/1.886, allocations: 88.94 kB / 0.5043 GB, free: 4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/1.886, allocations: 25.7 kB / 0.5043 GB, free: 3.969 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/1.886, allocations: 84.08 kB / 0.5044 GB, free: 3.883 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/1.886, allocations: 7.906 kB / 0.5044 GB, free: 3.875 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/1.886, allocations: 0 / 0.5044 GB, free: 3.875 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/1.886, allocations: 323.4 kB / 0.5047 GB, free: 3.551 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/1.886, allocations: 0 / 0.5047 GB, free: 3.551 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/1.886, allocations: 6.531 kB / 0.5047 GB, free: 3.547 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/1.886, allocations: 25.7 kB / 0.5048 GB, free: 3.516 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.886, allocations: 0 / 0.5048 GB, free: 3.516 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.986e-05/1.886, allocations: 67.41 kB / 0.5048 GB, free: 3.438 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/1.886, allocations: 39.36 kB / 0.5049 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.886, allocations: 0 / 0.5049 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/1.886, allocations: 0 / 0.5049 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.612e-05/1.886, allocations: 8.094 kB / 0.5049 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.886, allocations: 0 / 0.5049 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/1.886, allocations: 0 / 0.5049 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/1.886, allocations: 0.875 kB / 0.5049 GB, free: 3.387 MB / 442.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.273e-05/1.886, allocations: 130.7 kB / 0.505 GB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/1.886, allocations: 0 / 0.505 GB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/1.886, allocations: 11.03 kB / 0.505 GB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.886, allocations: 3.938 kB / 0.505 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/1.886, allocations: 0 / 0.505 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.887, allocations: 3.984 kB / 0.505 GB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/1.887, allocations: 296.4 kB / 0.5053 GB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.887, allocations: 0 / 0.5053 GB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-06/1.887, allocations: 2.562 kB / 0.5053 GB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-06/1.887, allocations: 3.953 kB / 0.5053 GB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/1.887, allocations: 4 kB / 0.5053 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.887, allocations: 0 / 0.5053 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.887, allocations: 0 / 0.5053 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/1.887, allocations: 173.2 kB / 0.5055 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/1.887, allocations: 77.11 kB / 0.5055 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/1.887, allocations: 7.953 kB / 0.5056 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.071e-05/1.887, allocations: 1.125 kB / 0.5056 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/1.887, allocations: 0 / 0.5056 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/1.887, allocations: 11.91 kB / 0.5056 GB, free: 2.562 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.533e-05/1.887, allocations: 79.28 kB / 0.5056 GB, free: 2.484 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.887, allocations: 0 / 0.5056 GB, free: 2.484 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009918/1.897, allocations: 1.523 MB / 0.5071 GB, free: 0.9609 MB / 442.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.01682/1.914, allocations: 2.643 MB / 0.5097 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/1.914, allocations: 59.41 kB / 0.5098 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.914, allocations: 0 / 0.5098 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.338e-05/1.914, allocations: 59.41 kB / 0.5098 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/1.915, allocations: 15.69 kB / 0.5098 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/1.919, allocations: 190.1 kB / 0.51 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/1.919, allocations: 0.677 MB / 0.5107 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.432e-05/1.919, allocations: 128 / 0.5107 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/1.919, allocations: 15.44 kB / 0.5107 GB, free: 13.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.022e-06/1.919, allocations: 0 / 0.5107 GB, free: 13.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5658/2.485, allocations: 88.18 MB / 0.5968 GB, free: 86.35 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/2.485, allocations: 212.7 kB / 0.597 GB, free: 86.11 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/13.77, allocations: 3.938 kB / 0.597 GB, free: 86.11 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat