Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.748/2.748, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.905e-05/4.913e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1353, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5534/0.6887, allocations: 89.42 MB / 499.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.689, allocations: 67.95 kB / 499.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.446/2.136, allocations: 71.9 MB / 0.5584 GB, free: 6.605 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.214e-06/2.136, allocations: 0 / 0.5584 GB, free: 6.605 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/2.136, allocations: 0 / 0.5584 GB, free: 6.605 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.004605/2.14, allocations: 471.8 kB / 0.5588 GB, free: 6.094 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/2.14, allocations: 8.031 kB / 0.5588 GB, free: 6.086 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.133e-05/2.14, allocations: 30.56 kB / 0.5588 GB, free: 6.047 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/2.14, allocations: 0 / 0.5588 GB, free: 6.047 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/2.141, allocations: 167 kB / 0.559 GB, free: 5.844 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/2.141, allocations: 4 kB / 0.559 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/2.141, allocations: 0 / 0.559 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/2.141, allocations: 37.69 kB / 0.559 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/2.141, allocations: 0 / 0.559 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/2.141, allocations: 4 kB / 0.559 GB, free: 5.793 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/2.141, allocations: 0 / 0.559 GB, free: 5.793 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/2.141, allocations: 4 kB / 0.559 GB, free: 5.789 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/2.141, allocations: 228.9 kB / 0.5593 GB, free: 5.516 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.594e-05/2.141, allocations: 26.55 kB / 0.5593 GB, free: 5.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/2.141, allocations: 8.922 kB / 0.5593 GB, free: 5.469 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/2.141, allocations: 4 kB / 0.5593 GB, free: 5.465 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/2.141, allocations: 60.27 kB / 0.5594 GB, free: 5.391 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/2.141, allocations: 0 / 0.5594 GB, free: 5.391 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002074/2.141, allocations: 71.33 kB / 0.5594 GB, free: 5.309 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/2.142, allocations: 77.11 kB / 0.5595 GB, free: 5.215 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.871e-05/2.142, allocations: 85 kB / 0.5596 GB, free: 5.125 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/2.142, allocations: 25.7 kB / 0.5596 GB, free: 5.094 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/2.142, allocations: 88.12 kB / 0.5597 GB, free: 5.004 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/2.142, allocations: 7.938 kB / 0.5597 GB, free: 4.996 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/2.142, allocations: 4 kB / 0.5597 GB, free: 4.992 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/2.142, allocations: 314.8 kB / 0.56 GB, free: 4.676 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/2.142, allocations: 3.938 kB / 0.56 GB, free: 4.672 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/2.142, allocations: 4 kB / 0.56 GB, free: 4.668 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/2.142, allocations: 25.7 kB / 0.56 GB, free: 4.637 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/2.142, allocations: 0 / 0.56 GB, free: 4.637 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000105/2.142, allocations: 71.39 kB / 0.5601 GB, free: 4.555 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/2.142, allocations: 33.8 kB / 0.5601 GB, free: 4.516 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/2.142, allocations: 0 / 0.5601 GB, free: 4.516 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/2.142, allocations: 0 / 0.5601 GB, free: 4.516 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.362e-05/2.142, allocations: 4 kB / 0.5601 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/2.142, allocations: 3.938 kB / 0.5601 GB, free: 4.508 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/2.142, allocations: 0 / 0.5601 GB, free: 4.508 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/2.142, allocations: 0 / 0.5601 GB, free: 4.508 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 9.544e-05/2.142, allocations: 138.6 kB / 0.5603 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/2.142, allocations: 0 / 0.5603 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/2.143, allocations: 15.08 kB / 0.5603 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/2.143, allocations: 0 / 0.5603 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/2.143, allocations: 4 kB / 0.5603 GB, free: 4.336 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/2.143, allocations: 0 / 0.5603 GB, free: 4.336 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/2.143, allocations: 300.2 kB / 0.5606 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/2.143, allocations: 0 / 0.5606 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-06/2.143, allocations: 0 / 0.5606 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/2.143, allocations: 0 / 0.5606 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/2.143, allocations: 3.984 kB / 0.5606 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/2.143, allocations: 4 kB / 0.5606 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/2.143, allocations: 4.031 kB / 0.5606 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/2.143, allocations: 161.2 kB / 0.5607 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/2.143, allocations: 85.03 kB / 0.5608 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/2.143, allocations: 4 kB / 0.5608 GB, free: 3.684 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/2.143, allocations: 0 / 0.5608 GB, free: 3.684 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/2.143, allocations: 3.984 kB / 0.5608 GB, free: 3.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-06/2.143, allocations: 0 / 0.5608 GB, free: 3.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.61e-05/2.143, allocations: 79.31 kB / 0.5609 GB, free: 3.602 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.1e-07/2.143, allocations: 4 kB / 0.5609 GB, free: 3.598 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0102/2.154, allocations: 1.523 MB / 0.5624 GB, free: 2.074 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.01661/2.17, allocations: 2.657 MB / 0.565 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/2.17, allocations: 63.41 kB / 0.5651 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/2.17, allocations: 0 / 0.5651 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.507e-05/2.171, allocations: 55.41 kB / 0.5651 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/2.171, allocations: 4 kB / 0.5651 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/2.175, allocations: 194.4 kB / 0.5653 GB, free: 15.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/2.175, allocations: 0.6731 MB / 0.566 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.515e-05/2.175, allocations: 0 / 0.566 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/2.175, allocations: 11.44 kB / 0.566 GB, free: 14.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/2.175, allocations: 0 / 0.566 GB, free: 14.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7424/2.918, allocations: 88.17 MB / 0.6521 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/2.918, allocations: 211.8 kB / 0.6523 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/16.13, allocations: 0 / 0.6523 GB, free: 124.6 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat