Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.611/2.611, allocations: 235.2 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.781e-05, allocations: 4 kB / 299.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3985, allocations: 54.86 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.5689, allocations: 82.75 MB / 437.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5692, allocations: 67.97 kB / 437.3 MB, free: 15.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073/2.642, allocations: 71.5 MB / 0.4968 GB, free: 125 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/2.642, allocations: 0 / 0.4968 GB, free: 125 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/2.642, allocations: 0.9375 kB / 0.4968 GB, free: 125 MB / 426.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.004404/2.647, allocations: 463.3 kB / 0.4973 GB, free: 124.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/2.647, allocations: 9.188 kB / 0.4973 GB, free: 124.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/2.647, allocations: 1.469 kB / 0.4973 GB, free: 124.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.086e-05/2.647, allocations: 166.5 kB / 0.4974 GB, free: 124.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/2.647, allocations: 1.312 kB / 0.4974 GB, free: 124.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/2.647, allocations: 5.188 kB / 0.4974 GB, free: 124.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.596e-05/2.647, allocations: 1.062 kB / 0.4974 GB, free: 124.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.883e-05/2.647, allocations: 28.41 kB / 0.4975 GB, free: 124.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/2.647, allocations: 0 / 0.4975 GB, free: 124.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/2.647, allocations: 8.922 kB / 0.4975 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/2.647, allocations: 3.938 kB / 0.4975 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.563e-05/2.647, allocations: 125.8 kB / 0.4976 GB, free: 124.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.759e-05/2.647, allocations: 15.77 kB / 0.4976 GB, free: 124.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/2.648, allocations: 9.984 kB / 0.4976 GB, free: 124.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/2.648, allocations: 1 kB / 0.4976 GB, free: 124.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/2.648, allocations: 57.42 kB / 0.4977 GB, free: 124.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.884e-06/2.648, allocations: 3.5 kB / 0.4977 GB, free: 124.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001882/2.648, allocations: 39.86 kB / 0.4977 GB, free: 124 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/2.648, allocations: 78.14 kB / 0.4978 GB, free: 123.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.133e-05/2.648, allocations: 88.94 kB / 0.4979 GB, free: 123.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/2.648, allocations: 25.7 kB / 0.4979 GB, free: 123.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.582e-05/2.648, allocations: 85.23 kB / 0.498 GB, free: 123.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/2.648, allocations: 0 / 0.498 GB, free: 123.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/2.648, allocations: 1.156 kB / 0.498 GB, free: 123.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.824e-05/2.648, allocations: 318.2 kB / 0.4983 GB, free: 123.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/2.648, allocations: 1.219 kB / 0.4983 GB, free: 123.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/2.648, allocations: 1.125 kB / 0.4983 GB, free: 123.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.156e-05/2.648, allocations: 1.188 kB / 0.4983 GB, free: 123.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/2.648, allocations: 0 / 0.4983 GB, free: 123.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.814e-05/2.648, allocations: 44.02 kB / 0.4983 GB, free: 123.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/2.648, allocations: 30.45 kB / 0.4984 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/2.648, allocations: 1 kB / 0.4984 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/2.648, allocations: 0 / 0.4984 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-06/2.648, allocations: 1.125 kB / 0.4984 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/2.648, allocations: 0 / 0.4984 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/2.648, allocations: 0.6094 kB / 0.4984 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/2.648, allocations: 1.188 kB / 0.4984 GB, free: 123.4 MB / 426.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.334e-05/2.648, allocations: 137.1 kB / 0.4985 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.704e-05/2.649, allocations: 42.7 kB / 0.4985 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/2.649, allocations: 1.156 kB / 0.4985 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.308e-05/2.649, allocations: 7.703 kB / 0.4986 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/2.649, allocations: 1.031 kB / 0.4986 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/2.649, allocations: 0 / 0.4986 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/2.649, allocations: 5.141 kB / 0.4986 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.95e-05/2.649, allocations: 134.9 kB / 0.4987 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/2.649, allocations: 0 / 0.4987 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-06/2.649, allocations: 0 / 0.4987 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/2.649, allocations: 1.125 kB / 0.4987 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/2.649, allocations: 8.625 kB / 0.4987 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.431e-05/2.649, allocations: 0 / 0.4987 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/2.649, allocations: 3.344 kB / 0.4987 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/2.649, allocations: 67.97 kB / 0.4988 GB, free: 122.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/2.649, allocations: 85.73 kB / 0.4989 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/2.649, allocations: 1.375 kB / 0.4989 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.308e-05/2.649, allocations: 0 / 0.4989 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/2.649, allocations: 5.281 kB / 0.4989 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/2.649, allocations: 1.188 kB / 0.4989 GB, free: 122.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.612e-05/2.649, allocations: 75.28 kB / 0.4989 GB, free: 122.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.649, allocations: 0 / 0.4989 GB, free: 122.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01037/2.659, allocations: 1.528 MB / 0.5004 GB, free: 122.7 MB / 426.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.01823/2.678, allocations: 2.543 MB / 0.5029 GB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/2.678, allocations: 56.72 kB / 0.503 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/2.678, allocations: 0 / 0.503 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/2.678, allocations: 62.16 kB / 0.503 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/2.678, allocations: 1.312 kB / 0.503 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/2.682, allocations: 191.1 kB / 0.5032 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/2.682, allocations: 0.669 MB / 0.5039 GB, free: 120.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.917e-06/2.682, allocations: 2.906 kB / 0.5039 GB, free: 120.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/2.682, allocations: 10.72 kB / 0.5039 GB, free: 120.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/2.682, allocations: 0 / 0.5039 GB, free: 120.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2295/2.912, allocations: 88.77 MB / 0.5906 GB, free: 36.41 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003694/2.912, allocations: 195.2 kB / 0.5907 GB, free: 36.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 12.07/14.98, allocations: 32 / 0.5907 GB, free: 36.21 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat