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.489/2.489, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.19e-05, allocations: 4 kB / 299.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4206, allocations: 54.85 MB / 354.3 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.5762, allocations: 82.74 MB / 437.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.5765, allocations: 75.97 kB / 437.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.896/2.472, allocations: 71.5 MB / 0.4967 GB, free: 98.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/2.472, allocations: 0 / 0.4967 GB, free: 98.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/2.472, allocations: 0 / 0.4967 GB, free: 98.1 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.004482/2.477, allocations: 468.4 kB / 0.4972 GB, free: 97.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/2.477, allocations: 8.031 kB / 0.4972 GB, free: 97.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/2.477, allocations: 3.953 kB / 0.4972 GB, free: 97.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.593e-05/2.477, allocations: 163 kB / 0.4973 GB, free: 97.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/2.477, allocations: 0 / 0.4973 GB, free: 97.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/2.477, allocations: 4 kB / 0.4974 GB, free: 97.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.892e-05/2.477, allocations: 0 / 0.4974 GB, free: 97.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.284e-05/2.477, allocations: 29.69 kB / 0.4974 GB, free: 97.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/2.477, allocations: 0 / 0.4974 GB, free: 97.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/2.477, allocations: 7.953 kB / 0.4974 GB, free: 97.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/2.477, allocations: 4 kB / 0.4974 GB, free: 97.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.375e-05/2.477, allocations: 122.2 kB / 0.4975 GB, free: 97.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.491e-05/2.477, allocations: 18.58 kB / 0.4975 GB, free: 97.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/2.477, allocations: 12.89 kB / 0.4975 GB, free: 97.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/2.477, allocations: 1.031 kB / 0.4975 GB, free: 97.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/2.477, allocations: 56.27 kB / 0.4976 GB, free: 97.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.545e-06/2.477, allocations: 4 kB / 0.4976 GB, free: 97.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001792/2.477, allocations: 39.77 kB / 0.4976 GB, free: 97.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/2.478, allocations: 77.11 kB / 0.4977 GB, free: 96.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.475e-05/2.478, allocations: 85 kB / 0.4978 GB, free: 96.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/2.478, allocations: 25.7 kB / 0.4978 GB, free: 96.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.515e-05/2.478, allocations: 80.14 kB / 0.4979 GB, free: 96.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/2.478, allocations: 4 kB / 0.4979 GB, free: 96.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/2.478, allocations: 0 / 0.4979 GB, free: 96.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.922e-05/2.478, allocations: 318.2 kB / 0.4982 GB, free: 96.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-06/2.478, allocations: 11.94 kB / 0.4982 GB, free: 96.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/2.478, allocations: 0 / 0.4982 GB, free: 96.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/2.478, allocations: 3.984 kB / 0.4982 GB, free: 96.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/2.478, allocations: 0 / 0.4982 GB, free: 96.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.59e-05/2.478, allocations: 37.64 kB / 0.4983 GB, free: 96.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/2.478, allocations: 30.33 kB / 0.4983 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/2.478, allocations: 0 / 0.4983 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/2.478, allocations: 4 kB / 0.4983 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/2.478, allocations: 96 / 0.4983 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/2.478, allocations: 4 kB / 0.4983 GB, free: 96.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/2.478, allocations: 0 / 0.4983 GB, free: 96.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/2.478, allocations: 3.719 kB / 0.4983 GB, free: 96.33 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.328e-05/2.478, allocations: 140.3 kB / 0.4984 GB, free: 96.18 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.274e-05/2.478, allocations: 39.52 kB / 0.4985 GB, free: 96.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/2.478, allocations: 0 / 0.4985 GB, free: 96.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.326e-05/2.478, allocations: 7.703 kB / 0.4985 GB, free: 96.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/2.478, allocations: 3.984 kB / 0.4985 GB, free: 96.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/2.478, allocations: 8.031 kB / 0.4985 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/2.478, allocations: 3.938 kB / 0.4985 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.701e-05/2.478, allocations: 126.2 kB / 0.4986 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/2.478, allocations: 0 / 0.4986 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/2.478, allocations: 0 / 0.4986 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/2.478, allocations: 0 / 0.4986 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/2.478, allocations: 4 kB / 0.4986 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/2.478, allocations: 0 / 0.4986 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/2.478, allocations: 0 / 0.4986 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.524e-05/2.478, allocations: 73.62 kB / 0.4987 GB, free: 95.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/2.479, allocations: 77.11 kB / 0.4988 GB, free: 95.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/2.479, allocations: 4.875 kB / 0.4988 GB, free: 95.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.178e-05/2.479, allocations: 0 / 0.4988 GB, free: 95.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/2.479, allocations: 0 / 0.4988 GB, free: 95.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/2.479, allocations: 3.984 kB / 0.4988 GB, free: 95.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.684e-05/2.479, allocations: 75.28 kB / 0.4988 GB, free: 95.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/2.479, allocations: 0 / 0.4988 GB, free: 95.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009047/2.488, allocations: 1.526 MB / 0.5003 GB, free: 94.18 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.01731/2.505, allocations: 2.546 MB / 0.5028 GB, free: 91.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/2.505, allocations: 63.34 kB / 0.5029 GB, free: 91.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/2.505, allocations: 0 / 0.5029 GB, free: 91.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/2.505, allocations: 55.41 kB / 0.5029 GB, free: 91.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/2.505, allocations: 0 / 0.5029 GB, free: 91.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/2.509, allocations: 184.2 kB / 0.5031 GB, free: 91.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/2.51, allocations: 0.6763 MB / 0.5038 GB, free: 90.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.675e-06/2.51, allocations: 4.125 kB / 0.5038 GB, free: 90.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/2.51, allocations: 11.44 kB / 0.5038 GB, free: 90.59 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/2.51, allocations: 3.938 kB / 0.5038 GB, free: 90.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3016/2.811, allocations: 88.77 MB / 0.5905 GB, free: 1.699 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/2.812, allocations: 181.4 kB / 0.5906 GB, free: 1.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/16.25, allocations: 0 / 0.5906 GB, free: 1.5 MB / 410.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