Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.644/2.644, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.423e-05/6.416e-05, allocations: 11.92 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1535, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5496/0.7031, allocations: 89.42 MB / 499.8 MB, free: 14.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.7034, allocations: 64.88 kB / 499.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479/2.182, allocations: 71.9 MB / 0.5583 GB, free: 6.512 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.256e-06/2.182, allocations: 0 / 0.5583 GB, free: 6.512 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/2.183, allocations: 4 kB / 0.5583 GB, free: 6.508 MB / 474.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.006694/2.189, allocations: 463.8 kB / 0.5588 GB, free: 6.004 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.576e-05/2.189, allocations: 12.03 kB / 0.5588 GB, free: 5.992 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.97e-05/2.189, allocations: 34.5 kB / 0.5588 GB, free: 5.949 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/2.189, allocations: 0 / 0.5588 GB, free: 5.949 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/2.19, allocations: 167 kB / 0.559 GB, free: 5.746 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/2.19, allocations: 0 / 0.559 GB, free: 5.746 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/2.19, allocations: 4 kB / 0.559 GB, free: 5.742 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/2.19, allocations: 33.7 kB / 0.559 GB, free: 5.703 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/2.19, allocations: 0 / 0.559 GB, free: 5.703 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/2.19, allocations: 4 kB / 0.559 GB, free: 5.699 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/2.19, allocations: 0 / 0.559 GB, free: 5.699 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.299e-05/2.19, allocations: 4 kB / 0.559 GB, free: 5.695 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/2.19, allocations: 224.9 kB / 0.5592 GB, free: 5.426 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.404e-05/2.191, allocations: 34.53 kB / 0.5593 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/2.191, allocations: 12.92 kB / 0.5593 GB, free: 5.367 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/2.191, allocations: 0 / 0.5593 GB, free: 5.367 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.857e-05/2.191, allocations: 56.27 kB / 0.5593 GB, free: 5.297 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 3.367e-06/2.191, allocations: 0 / 0.5593 GB, free: 5.297 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003133/2.191, allocations: 71.39 kB / 0.5594 GB, free: 5.215 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/2.191, allocations: 77.11 kB / 0.5595 GB, free: 5.121 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/2.191, allocations: 88.94 kB / 0.5596 GB, free: 5.027 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/2.191, allocations: 25.7 kB / 0.5596 GB, free: 4.996 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/2.191, allocations: 84.17 kB / 0.5597 GB, free: 4.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/2.191, allocations: 7.844 kB / 0.5597 GB, free: 4.902 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/2.192, allocations: 0 / 0.5597 GB, free: 4.902 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/2.192, allocations: 322.8 kB / 0.56 GB, free: 4.578 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/2.192, allocations: 0 / 0.56 GB, free: 4.578 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/2.192, allocations: 4 kB / 0.56 GB, free: 4.574 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/2.192, allocations: 29.69 kB / 0.56 GB, free: 4.539 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/2.192, allocations: 0 / 0.56 GB, free: 4.539 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/2.192, allocations: 71.47 kB / 0.5601 GB, free: 4.457 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/2.192, allocations: 29.7 kB / 0.5601 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/2.192, allocations: 3.938 kB / 0.5601 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/2.192, allocations: 3.984 kB / 0.5601 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.362e-05/2.192, allocations: 0 / 0.5601 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/2.192, allocations: 4 kB / 0.5601 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/2.192, allocations: 0 / 0.5601 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/2.192, allocations: 0 / 0.5601 GB, free: 4.41 MB / 474.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 0.0001566/2.193, allocations: 137 kB / 0.5603 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/2.193, allocations: 4.031 kB / 0.5603 GB, free: 4.262 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/2.193, allocations: 7.078 kB / 0.5603 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/2.193, allocations: 0 / 0.5603 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/2.193, allocations: 3.938 kB / 0.5603 GB, free: 4.246 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/2.193, allocations: 0 / 0.5603 GB, free: 4.246 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/2.193, allocations: 304.3 kB / 0.5606 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/2.193, allocations: 0 / 0.5606 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-06/2.193, allocations: 0 / 0.5606 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/2.193, allocations: 4 kB / 0.5606 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/2.193, allocations: 4.031 kB / 0.5606 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/2.193, allocations: 4 kB / 0.5606 GB, free: 3.875 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/2.193, allocations: 0 / 0.5606 GB, free: 3.875 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/2.194, allocations: 173.1 kB / 0.5607 GB, free: 3.684 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/2.194, allocations: 77.11 kB / 0.5608 GB, free: 3.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/2.194, allocations: 4 kB / 0.5608 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.083e-05/2.194, allocations: 0 / 0.5608 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/2.194, allocations: 4.031 kB / 0.5608 GB, free: 3.582 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/2.194, allocations: 0 / 0.5608 GB, free: 3.582 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.294e-05/2.194, allocations: 75.28 kB / 0.5609 GB, free: 3.508 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.82e-07/2.194, allocations: 0 / 0.5609 GB, free: 3.508 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01682/2.211, allocations: 1.531 MB / 0.5624 GB, free: 1.977 MB / 474.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.02135/2.232, allocations: 2.649 MB / 0.565 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/2.233, allocations: 59.41 kB / 0.565 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/2.233, allocations: 0 / 0.565 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.981e-05/2.233, allocations: 59.41 kB / 0.5651 GB, free: 15.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/2.233, allocations: 8.062 kB / 0.5651 GB, free: 15.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/2.237, allocations: 194.3 kB / 0.5653 GB, free: 14.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/2.238, allocations: 0.677 MB / 0.5659 GB, free: 14.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.374e-05/2.238, allocations: 0 / 0.5659 GB, free: 14.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/2.238, allocations: 11.44 kB / 0.566 GB, free: 14.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.373e-06/2.238, allocations: 0 / 0.566 GB, free: 14.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6607/2.898, allocations: 88.18 MB / 0.6521 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/2.899, allocations: 202.3 kB / 0.6523 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/16.47, allocations: 0 / 0.6523 GB, free: 124.3 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat