Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.63/2.63, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 6.441e-05/6.457e-05, allocations: 0 / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4401, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1652/0.6054, allocations: 88.4 MB / 470.7 MB, free: 4.004 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.6058, allocations: 71.95 kB / 470.8 MB, free: 3.934 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.672/2.277, allocations: 71.83 MB / 0.5299 GB, free: 136.7 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.724e-06/2.277, allocations: 0 / 0.5299 GB, free: 136.7 MB / 458.8 MB Notification: Performance of Transformations before backend: time 5.42e-06/2.277, allocations: 0 / 0.5299 GB, free: 136.7 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.004535/2.282, allocations: 464.5 kB / 0.5303 GB, free: 136.3 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/2.282, allocations: 9.5 kB / 0.5303 GB, free: 136.3 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/2.282, allocations: 33.61 kB / 0.5304 GB, free: 136.2 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/2.282, allocations: 1.828 kB / 0.5304 GB, free: 136.2 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.715e-05/2.282, allocations: 167.7 kB / 0.5305 GB, free: 136 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/2.282, allocations: 3.625 kB / 0.5305 GB, free: 136 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/2.282, allocations: 1.312 kB / 0.5305 GB, free: 136 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.103e-05/2.282, allocations: 35.58 kB / 0.5306 GB, free: 136 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/2.282, allocations: 0 / 0.5306 GB, free: 136 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/2.282, allocations: 2.859 kB / 0.5306 GB, free: 136 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/2.282, allocations: 1.875 kB / 0.5306 GB, free: 136 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/2.283, allocations: 4.531 kB / 0.5306 GB, free: 136 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/2.283, allocations: 234 kB / 0.5308 GB, free: 135.7 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.366e-05/2.283, allocations: 24.45 kB / 0.5308 GB, free: 135.7 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/2.283, allocations: 9.484 kB / 0.5308 GB, free: 135.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/2.283, allocations: 5.125 kB / 0.5308 GB, free: 135.7 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/2.283, allocations: 63.17 kB / 0.5309 GB, free: 135.6 MB / 458.8 MB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/2.283, allocations: 0 / 0.5309 GB, free: 135.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001793/2.283, allocations: 65.06 kB / 0.531 GB, free: 135.6 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/2.283, allocations: 77.11 kB / 0.531 GB, free: 135.5 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.002e-05/2.283, allocations: 88.19 kB / 0.5311 GB, free: 135.4 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/2.283, allocations: 25.7 kB / 0.5311 GB, free: 135.4 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.643e-05/2.283, allocations: 83.7 kB / 0.5312 GB, free: 135.3 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/2.283, allocations: 12.98 kB / 0.5312 GB, free: 135.3 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/2.283, allocations: 5.219 kB / 0.5312 GB, free: 135.3 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 5.626e-05/2.283, allocations: 317 kB / 0.5315 GB, free: 135 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/2.283, allocations: 2.469 kB / 0.5315 GB, free: 135 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.017e-05/2.283, allocations: 1.438 kB / 0.5315 GB, free: 135 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.792e-05/2.283, allocations: 28.39 kB / 0.5316 GB, free: 134.9 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/2.283, allocations: 3.125 kB / 0.5316 GB, free: 134.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.11e-05/2.284, allocations: 72.47 kB / 0.5316 GB, free: 134.9 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/2.284, allocations: 30.86 kB / 0.5317 GB, free: 134.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/2.284, allocations: 1.281 kB / 0.5317 GB, free: 134.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/2.284, allocations: 0 / 0.5317 GB, free: 134.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-05/2.284, allocations: 1.656 kB / 0.5317 GB, free: 134.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/2.284, allocations: 0 / 0.5317 GB, free: 134.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/2.284, allocations: 5.938 kB / 0.5317 GB, free: 134.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/2.284, allocations: 1.344 kB / 0.5317 GB, free: 134.8 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 5.917e-05/2.284, allocations: 132.9 kB / 0.5318 GB, free: 134.7 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/2.284, allocations: 4.703 kB / 0.5318 GB, free: 134.7 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.691e-05/2.284, allocations: 5.156 kB / 0.5318 GB, free: 134.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/2.284, allocations: 1.125 kB / 0.5318 GB, free: 134.7 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/2.284, allocations: 0 / 0.5318 GB, free: 134.7 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/2.284, allocations: 4.938 kB / 0.5318 GB, free: 134.7 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/2.284, allocations: 304.1 kB / 0.5321 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/2.284, allocations: 0 / 0.5321 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-06/2.284, allocations: 0 / 0.5321 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/2.284, allocations: 0.75 kB / 0.5321 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/2.284, allocations: 5.062 kB / 0.5321 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/2.284, allocations: 2 kB / 0.5321 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/2.284, allocations: 1.406 kB / 0.5321 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/2.284, allocations: 166.5 kB / 0.5323 GB, free: 134.2 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/2.284, allocations: 79.14 kB / 0.5324 GB, free: 134.1 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/2.284, allocations: 4.281 kB / 0.5324 GB, free: 134.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/2.284, allocations: 1.125 kB / 0.5324 GB, free: 134.1 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/2.284, allocations: 1.188 kB / 0.5324 GB, free: 134.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/2.284, allocations: 3.094 kB / 0.5324 GB, free: 134.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 1.681e-05/2.285, allocations: 75.28 kB / 0.5324 GB, free: 134 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.443e-06/2.285, allocations: 3.5 kB / 0.5324 GB, free: 134 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01023/2.295, allocations: 1.53 MB / 0.5339 GB, free: 134 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.01735/2.312, allocations: 2.639 MB / 0.5365 GB, free: 133.2 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001479/2.312, allocations: 67.59 kB / 0.5366 GB, free: 133.2 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/2.312, allocations: 0 / 0.5366 GB, free: 133.2 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/2.312, allocations: 63 kB / 0.5366 GB, free: 133.1 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/2.313, allocations: 0 / 0.5366 GB, free: 133.1 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/2.317, allocations: 196.4 kB / 0.5368 GB, free: 132.9 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/2.317, allocations: 0.6731 MB / 0.5375 GB, free: 132.2 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 1.363e-05/2.317, allocations: 0 / 0.5375 GB, free: 132.2 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/2.317, allocations: 7.438 kB / 0.5375 GB, free: 132.2 MB / 458.8 MB Notification: Performance of SimCode: time 1.172e-06/2.317, allocations: 2.031 kB / 0.5375 GB, free: 132.2 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2034/2.521, allocations: 88.2 MB / 0.6236 GB, free: 50.81 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/2.521, allocations: 198.5 kB / 0.6238 GB, free: 50.58 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/15.59, allocations: 0 / 0.6238 GB, free: 50.58 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat