Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.209e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.571, allocations: 89.42 MB / 499.7 MB, free: 14.69 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5713, allocations: 63.97 kB / 499.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162/1.733, allocations: 71.89 MB / 0.5583 GB, free: 6.645 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.021e-06/1.733, allocations: 3.938 kB / 0.5583 GB, free: 6.641 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.897e-06/1.733, allocations: 0 / 0.5583 GB, free: 6.641 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.005766/1.739, allocations: 471.8 kB / 0.5587 GB, free: 6.129 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.739, allocations: 8.031 kB / 0.5587 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/1.739, allocations: 0 / 0.5587 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/1.739, allocations: 167 kB / 0.5589 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/1.739, allocations: 0 / 0.5589 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/1.739, allocations: 0 / 0.5589 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/1.74, allocations: 37.62 kB / 0.5589 GB, free: 5.875 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.74, allocations: 0 / 0.5589 GB, free: 5.875 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/1.74, allocations: 0 / 0.5589 GB, free: 5.875 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-06/1.74, allocations: 0 / 0.5589 GB, free: 5.875 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.646e-05/1.74, allocations: 4 kB / 0.5589 GB, free: 5.871 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/1.74, allocations: 149.6 kB / 0.5591 GB, free: 5.676 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.077e-05/1.74, allocations: 22.61 kB / 0.5591 GB, free: 5.645 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/1.74, allocations: 4.859 kB / 0.5591 GB, free: 5.637 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/1.74, allocations: 3.984 kB / 0.5591 GB, free: 5.633 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.082e-05/1.74, allocations: 60.33 kB / 0.5592 GB, free: 5.559 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.869e-06/1.74, allocations: 0 / 0.5592 GB, free: 5.559 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002072/1.74, allocations: 63.34 kB / 0.5592 GB, free: 5.484 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/1.741, allocations: 81.11 kB / 0.5593 GB, free: 5.387 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.774e-05/1.741, allocations: 85 kB / 0.5594 GB, free: 5.297 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.741, allocations: 25.7 kB / 0.5594 GB, free: 5.266 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/1.741, allocations: 80.14 kB / 0.5595 GB, free: 5.184 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/1.741, allocations: 4 kB / 0.5595 GB, free: 5.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-06/1.741, allocations: 3.938 kB / 0.5595 GB, free: 5.176 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/1.741, allocations: 314.8 kB / 0.5598 GB, free: 4.859 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/1.741, allocations: 8.031 kB / 0.5598 GB, free: 4.852 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.094e-05/1.741, allocations: 0 / 0.5598 GB, free: 4.852 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/1.741, allocations: 25.7 kB / 0.5598 GB, free: 4.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.162e-06/1.741, allocations: 0 / 0.5598 GB, free: 4.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001511/1.741, allocations: 67.3 kB / 0.5599 GB, free: 4.742 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/1.741, allocations: 29.7 kB / 0.5599 GB, free: 4.707 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.652e-06/1.741, allocations: 11.92 kB / 0.5599 GB, free: 4.695 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.741, allocations: 0 / 0.5599 GB, free: 4.695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.299e-06/1.741, allocations: 0 / 0.5599 GB, free: 4.695 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.189e-06/1.741, allocations: 4.094 kB / 0.5599 GB, free: 4.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/1.742, allocations: 0 / 0.5599 GB, free: 4.691 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-06/1.742, allocations: 0 / 0.5599 GB, free: 4.691 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: 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 0.0001383/1.742, allocations: 134.7 kB / 0.56 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/1.742, allocations: 3.953 kB / 0.5601 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/1.742, allocations: 7.078 kB / 0.5601 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.561e-06/1.742, allocations: 0 / 0.5601 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.398e-06/1.742, allocations: 0 / 0.5601 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.312e-06/1.742, allocations: 0 / 0.5601 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/1.742, allocations: 149.7 kB / 0.5602 GB, free: 4.336 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-06/1.742, allocations: 4 kB / 0.5602 GB, free: 4.332 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-06/1.742, allocations: 0 / 0.5602 GB, free: 4.332 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.943e-06/1.742, allocations: 0 / 0.5602 GB, free: 4.332 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/1.742, allocations: 11.92 kB / 0.5602 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.803e-06/1.742, allocations: 4 kB / 0.5602 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.054e-06/1.742, allocations: 0 / 0.5602 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/1.742, allocations: 86.83 kB / 0.5603 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/1.742, allocations: 85.14 kB / 0.5604 GB, free: 4.105 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/1.742, allocations: 3.938 kB / 0.5604 GB, free: 4.102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.584e-05/1.743, allocations: 3.953 kB / 0.5604 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/1.743, allocations: 0 / 0.5604 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/1.743, allocations: 0 / 0.5604 GB, free: 4.098 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.368e-05/1.743, allocations: 75.28 kB / 0.5605 GB, free: 4.023 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.41e-07/1.743, allocations: 4 kB / 0.5605 GB, free: 4.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01424/1.757, allocations: 1.527 MB / 0.562 GB, free: 2.492 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: 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.02326/1.78, allocations: 2.039 MB / 0.5639 GB, free: 460 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/1.78, allocations: 63.34 kB / 0.564 GB, free: 384 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.162e-06/1.78, allocations: 7.938 kB / 0.564 GB, free: 376 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.439e-05/1.781, allocations: 51.41 kB / 0.5641 GB, free: 312 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/1.781, allocations: 12.06 kB / 0.5641 GB, free: 300 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/1.781, allocations: 49.05 kB / 0.5641 GB, free: 228 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/1.781, allocations: 0.6731 MB / 0.5648 GB, free: 15.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.28e-06/1.782, allocations: 0 / 0.5648 GB, free: 15.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/1.782, allocations: 7.438 kB / 0.5648 GB, free: 15.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.836e-06/1.782, allocations: 0 / 0.5648 GB, free: 15.52 MB / 490.7 MB Notification: Performance of Templates: time 0.4558/2.237, allocations: 87.39 MB / 0.6501 GB, free: 126.5 MB / 0.5105 GB