Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.281e-05, allocations: 3.984 kB / 348.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 61.9 MB / 410.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.534, allocations: 89.42 MB / 499.7 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.5343, allocations: 63.97 kB / 499.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.154/1.688, allocations: 71.89 MB / 0.5582 GB, free: 6.746 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.177e-06/1.688, allocations: 0 / 0.5582 GB, free: 6.746 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.184e-06/1.688, allocations: 4 kB / 0.5583 GB, free: 6.742 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.003239/1.692, allocations: 467.7 kB / 0.5587 GB, free: 6.234 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.692, allocations: 8.031 kB / 0.5587 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/1.692, allocations: 0 / 0.5587 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/1.692, allocations: 167 kB / 0.5589 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/1.692, allocations: 0 / 0.5589 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/1.692, allocations: 4 kB / 0.5589 GB, free: 6.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.757e-05/1.692, allocations: 33.64 kB / 0.5589 GB, free: 5.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.692, allocations: 0 / 0.5589 GB, free: 5.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-06/1.692, allocations: 0 / 0.5589 GB, free: 5.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-06/1.692, allocations: 4 kB / 0.5589 GB, free: 5.977 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/1.692, allocations: 0 / 0.5589 GB, free: 5.977 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/1.692, allocations: 145.6 kB / 0.559 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/1.692, allocations: 26.59 kB / 0.5591 GB, free: 5.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/1.692, allocations: 8.859 kB / 0.5591 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.077e-06/1.692, allocations: 0 / 0.5591 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/1.693, allocations: 56.27 kB / 0.5591 GB, free: 5.668 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/1.693, allocations: 4 kB / 0.5591 GB, free: 5.664 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001599/1.693, allocations: 59.41 kB / 0.5592 GB, free: 5.594 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/1.693, allocations: 77.11 kB / 0.5593 GB, free: 5.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/1.693, allocations: 88.94 kB / 0.5594 GB, free: 5.406 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/1.693, allocations: 29.7 kB / 0.5594 GB, free: 5.371 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/1.693, allocations: 92.16 kB / 0.5595 GB, free: 5.277 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.868e-05/1.693, allocations: 0 / 0.5595 GB, free: 5.277 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-06/1.693, allocations: 0 / 0.5595 GB, free: 5.277 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/1.693, allocations: 310.8 kB / 0.5598 GB, free: 4.965 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/1.693, allocations: 0 / 0.5598 GB, free: 4.965 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/1.693, allocations: 4 kB / 0.5598 GB, free: 4.961 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/1.693, allocations: 25.7 kB / 0.5598 GB, free: 4.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-06/1.693, allocations: 0 / 0.5598 GB, free: 4.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001075/1.693, allocations: 71.36 kB / 0.5599 GB, free: 4.848 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/1.693, allocations: 33.69 kB / 0.5599 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.478e-06/1.693, allocations: 0 / 0.5599 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.693, allocations: 0 / 0.5599 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-06/1.693, allocations: 4 kB / 0.5599 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.828e-06/1.693, allocations: 0 / 0.5599 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/1.694, allocations: 3.938 kB / 0.5599 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.036e-06/1.694, allocations: 3.984 kB / 0.5599 GB, free: 4.797 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.0001042/1.694, allocations: 134.7 kB / 0.56 GB, free: 4.652 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/1.694, allocations: 7.984 kB / 0.56 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.63e-05/1.694, allocations: 7.078 kB / 0.56 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-06/1.694, allocations: 0 / 0.56 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.584e-06/1.694, allocations: 0 / 0.56 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.694, allocations: 0 / 0.56 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/1.694, allocations: 149.7 kB / 0.5602 GB, free: 4.438 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-06/1.694, allocations: 0 / 0.5602 GB, free: 4.438 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-06/1.694, allocations: 0 / 0.5602 GB, free: 4.438 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.503e-06/1.694, allocations: 0 / 0.5602 GB, free: 4.438 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/1.694, allocations: 7.953 kB / 0.5602 GB, free: 4.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.694, allocations: 0 / 0.5602 GB, free: 4.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.694, allocations: 4 kB / 0.5602 GB, free: 4.426 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/1.694, allocations: 94.77 kB / 0.5603 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/1.694, allocations: 77.11 kB / 0.5604 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/1.694, allocations: 4 kB / 0.5604 GB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.577e-05/1.694, allocations: 3.953 kB / 0.5604 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/1.694, allocations: 0 / 0.5604 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-06/1.694, allocations: 3.984 kB / 0.5604 GB, free: 4.203 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.098e-05/1.694, allocations: 79.31 kB / 0.5605 GB, free: 4.125 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.68e-07/1.694, allocations: 0 / 0.5605 GB, free: 4.125 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007309/1.702, allocations: 1.527 MB / 0.5619 GB, free: 2.598 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.01228/1.714, allocations: 2.031 MB / 0.5639 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/1.714, allocations: 63.34 kB / 0.564 GB, free: 500 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.803e-06/1.714, allocations: 0 / 0.564 GB, free: 500 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/1.714, allocations: 59.39 kB / 0.564 GB, free: 428 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.801e-05/1.714, allocations: 0 / 0.564 GB, free: 428 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001533/1.714, allocations: 57 kB / 0.5641 GB, free: 348 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/1.715, allocations: 0.6692 MB / 0.5648 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.109e-06/1.715, allocations: 3.984 kB / 0.5648 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/1.715, allocations: 15.56 kB / 0.5648 GB, free: 15.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.409e-06/1.715, allocations: 0 / 0.5648 GB, free: 15.62 MB / 490.7 MB Notification: Performance of Templates: time 0.4509/2.166, allocations: 87.39 MB / 0.6501 GB, free: 126.6 MB / 0.5105 GB