Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.235e-05, allocations: 8 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4735, allocations: 54.85 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0006654/0.4742, allocations: 222.6 kB / 363.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.4786, allocations: 2.144 MB / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.4786, allocations: 0 / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.4787, allocations: 0 / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.865e-06/0.4787, allocations: 0 / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.4804, allocations: 380.6 kB / 365.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.345e-05/0.4804, allocations: 5 kB / 365.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.4805, allocations: 0 / 365.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.507e-05/0.4805, allocations: 1.094 kB / 365.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 34.51/34.99, allocations: 7.991 GB / 8.348 GB, free: 75.54 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/34.99, allocations: 4 kB / 8.348 GB, free: 75.54 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/34.99, allocations: 0 / 8.348 GB, free: 75.54 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/34.99, allocations: 4.703 kB / 8.348 GB, free: 75.53 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/34.99, allocations: 0 / 8.348 GB, free: 75.53 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 4.104e-05/34.99, allocations: 3.984 kB / 8.348 GB, free: 75.53 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/34.99, allocations: 0 / 8.348 GB, free: 75.53 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.346e-06/34.99, allocations: 0 / 8.348 GB, free: 75.53 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/34.99, allocations: 1.125 kB / 8.348 GB, free: 75.53 MB / 458.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.0002621/34.99, allocations: 335 kB / 8.348 GB, free: 75.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/34.99, allocations: 8.031 kB / 8.348 GB, free: 75.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/34.99, allocations: 4 kB / 8.348 GB, free: 75.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.873e-05/34.99, allocations: 159.1 kB / 8.348 GB, free: 74.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/34.99, allocations: 0.625 kB / 8.348 GB, free: 74.94 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/34.99, allocations: 4 kB / 8.348 GB, free: 74.94 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.941e-05/34.99, allocations: 33.03 kB / 8.348 GB, free: 74.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/34.99, allocations: 3.953 kB / 8.348 GB, free: 74.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/34.99, allocations: 0.6875 kB / 8.348 GB, free: 74.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/34.99, allocations: 3.719 kB / 8.348 GB, free: 74.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/34.99, allocations: 4 kB / 8.348 GB, free: 74.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/34.99, allocations: 153.6 kB / 8.348 GB, free: 74.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.118e-05/34.99, allocations: 15.73 kB / 8.348 GB, free: 74.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/34.99, allocations: 4 kB / 8.348 GB, free: 74.67 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/34.99, allocations: 60.75 kB / 8.348 GB, free: 74.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/35, allocations: 2.438 kB / 8.348 GB, free: 74.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001654/35, allocations: 64.92 kB / 8.348 GB, free: 74.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/35, allocations: 82.36 kB / 8.349 GB, free: 74.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.323e-05/35, allocations: 85 kB / 8.349 GB, free: 74.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/35, allocations: 25.7 kB / 8.349 GB, free: 74.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.636e-05/35, allocations: 83.05 kB / 8.349 GB, free: 74.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/35, allocations: 4.406 kB / 8.349 GB, free: 74.22 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/35, allocations: 4 kB / 8.349 GB, free: 74.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.197e-05/35, allocations: 315.9 kB / 8.349 GB, free: 73.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-06/35, allocations: 0 / 8.349 GB, free: 73.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/35, allocations: 4 kB / 8.349 GB, free: 73.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.548e-05/35, allocations: 30.27 kB / 8.349 GB, free: 73.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/35, allocations: 0 / 8.349 GB, free: 73.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.328e-05/35, allocations: 57.03 kB / 8.349 GB, free: 73.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/35, allocations: 33.7 kB / 8.349 GB, free: 73.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/35, allocations: 3.188 kB / 8.349 GB, free: 73.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/35, allocations: 0 / 8.349 GB, free: 73.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-06/35, allocations: 3.984 kB / 8.349 GB, free: 73.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/35, allocations: 0 / 8.349 GB, free: 73.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/35, allocations: 3.953 kB / 8.349 GB, free: 73.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/35, allocations: 8.969 kB / 8.349 GB, free: 73.74 MB / 458.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 6.391e-05/35, allocations: 134.3 kB / 8.349 GB, free: 73.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/35, allocations: 0 / 8.349 GB, free: 73.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.25e-05/35, allocations: 3.875 kB / 8.349 GB, free: 73.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/35, allocations: 5.078 kB / 8.349 GB, free: 73.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/35, allocations: 0 / 8.349 GB, free: 73.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/35, allocations: 0 / 8.349 GB, free: 73.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.952e-05/35, allocations: 152.8 kB / 8.349 GB, free: 73.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/35, allocations: 1.859 kB / 8.349 GB, free: 73.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/35, allocations: 5.812 kB / 8.349 GB, free: 73.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/35, allocations: 0 / 8.349 GB, free: 73.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/35, allocations: 4 kB / 8.349 GB, free: 73.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/35, allocations: 0 / 8.349 GB, free: 73.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/35, allocations: 0 / 8.349 GB, free: 73.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/35, allocations: 93.97 kB / 8.35 GB, free: 73.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/35, allocations: 81.11 kB / 8.35 GB, free: 73.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/35, allocations: 0 / 8.35 GB, free: 73.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/35, allocations: 4.031 kB / 8.35 GB, free: 73.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/35, allocations: 7.922 kB / 8.35 GB, free: 73.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/35, allocations: 4 kB / 8.35 GB, free: 73.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.711e-05/35, allocations: 76.09 kB / 8.35 GB, free: 73.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/35, allocations: 0 / 8.35 GB, free: 73.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002093/35, allocations: 0 / 8.35 GB, free: 73.09 MB / 458.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 8.767e-05/35, allocations: 99.23 kB / 8.35 GB, free: 72.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.452e-05/35, allocations: 64.66 kB / 8.35 GB, free: 72.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/35, allocations: 1.422 kB / 8.35 GB, free: 72.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/35, allocations: 55.91 kB / 8.35 GB, free: 72.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/35, allocations: 3.953 kB / 8.35 GB, free: 72.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001646/35, allocations: 82.12 kB / 8.35 GB, free: 72.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/35, allocations: 0.6692 MB / 8.351 GB, free: 72.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.071e-06/35, allocations: 0 / 8.351 GB, free: 72.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.888e-06/35, allocations: 11.44 kB / 8.351 GB, free: 72.03 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/35, allocations: 0 / 8.351 GB, free: 72.03 MB / 458.7 MB Notification: Performance of Templates: time 0.00219/35, allocations: 194.6 kB / 8.351 GB, free: 71.86 MB / 458.7 MB