Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadModel(ModelicaTest): time 2.444/2.444, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.132e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3857, allocations: 54.86 MB / 362.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0006632/0.3864, allocations: 223.1 kB / 363.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.3908, allocations: 2.132 MB / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.429e-05/0.3908, allocations: 1.438 kB / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.187e-05/0.3909, allocations: 0 / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.949e-06/0.3909, allocations: 0 / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.3927, allocations: 384.4 kB / 365.6 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.993e-05/0.3927, allocations: 0 / 365.6 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.3928, allocations: 1.438 kB / 365.6 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.3928, allocations: 0 / 365.6 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 35.24/35.63, allocations: 7.988 GB / 8.345 GB, free: 80.59 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/35.63, allocations: 0 / 8.345 GB, free: 80.59 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/35.63, allocations: 0 / 8.345 GB, free: 80.59 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/35.63, allocations: 0 / 8.345 GB, free: 80.59 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.581e-05/35.63, allocations: 0 / 8.345 GB, free: 80.59 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 3.834e-05/35.63, allocations: 1.125 kB / 8.345 GB, free: 80.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/35.63, allocations: 4 kB / 8.345 GB, free: 80.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.574e-06/35.63, allocations: 0 / 8.345 GB, free: 80.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/35.63, allocations: 4 kB / 8.345 GB, free: 80.59 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.0002341/35.63, allocations: 334.3 kB / 8.346 GB, free: 80.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/35.63, allocations: 8.094 kB / 8.346 GB, free: 80.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/35.63, allocations: 0 / 8.346 GB, free: 80.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.536e-05/35.63, allocations: 163.8 kB / 8.346 GB, free: 80 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/35.63, allocations: 0 / 8.346 GB, free: 80 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/35.63, allocations: 0 / 8.346 GB, free: 80 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.912e-05/35.63, allocations: 35.3 kB / 8.346 GB, free: 79.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/35.63, allocations: 3.953 kB / 8.346 GB, free: 79.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/35.63, allocations: 4.5 kB / 8.346 GB, free: 79.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/35.63, allocations: 0 / 8.346 GB, free: 79.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/35.63, allocations: 7.594 kB / 8.346 GB, free: 79.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/35.63, allocations: 146.3 kB / 8.346 GB, free: 79.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/35.63, allocations: 22.17 kB / 8.346 GB, free: 79.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/35.63, allocations: 0.75 kB / 8.346 GB, free: 79.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/35.63, allocations: 61.08 kB / 8.346 GB, free: 79.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/35.63, allocations: 0 / 8.346 GB, free: 79.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001603/35.63, allocations: 72.25 kB / 8.346 GB, free: 79.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/35.63, allocations: 77.11 kB / 8.346 GB, free: 79.49 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.386e-05/35.63, allocations: 89.88 kB / 8.346 GB, free: 79.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/35.63, allocations: 25.7 kB / 8.346 GB, free: 79.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/35.63, allocations: 150.6 kB / 8.346 GB, free: 79.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/35.63, allocations: 8.031 kB / 8.346 GB, free: 79.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/35.63, allocations: 0 / 8.346 GB, free: 79.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.926e-05/35.63, allocations: 312 kB / 8.347 GB, free: 78.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/35.63, allocations: 0 / 8.347 GB, free: 78.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/35.63, allocations: 4 kB / 8.347 GB, free: 78.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.573e-05/35.63, allocations: 26.95 kB / 8.347 GB, free: 78.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/35.63, allocations: 0 / 8.347 GB, free: 78.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.635e-05/35.63, allocations: 66.42 kB / 8.347 GB, free: 78.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/35.63, allocations: 29.7 kB / 8.347 GB, free: 78.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/35.63, allocations: 4.094 kB / 8.347 GB, free: 78.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/35.63, allocations: 0 / 8.347 GB, free: 78.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/35.63, allocations: 0 / 8.347 GB, free: 78.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/35.63, allocations: 4 kB / 8.347 GB, free: 78.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/35.63, allocations: 5.453 kB / 8.347 GB, free: 78.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/35.63, allocations: 0 / 8.347 GB, free: 78.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.598e-05/35.63, allocations: 139.5 kB / 8.347 GB, free: 78.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/35.63, allocations: 2.156 kB / 8.347 GB, free: 78.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.299e-05/35.63, allocations: 4.25 kB / 8.347 GB, free: 78.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/35.63, allocations: 4 kB / 8.347 GB, free: 78.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/35.63, allocations: 0 / 8.347 GB, free: 78.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/35.63, allocations: 0 / 8.347 GB, free: 78.58 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.707e-05/35.63, allocations: 155 kB / 8.347 GB, free: 78.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/35.63, allocations: 3.719 kB / 8.347 GB, free: 78.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-07/35.63, allocations: 0 / 8.347 GB, free: 78.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/35.63, allocations: 0.8906 kB / 8.347 GB, free: 78.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/35.63, allocations: 0 / 8.347 GB, free: 78.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/35.63, allocations: 0 / 8.347 GB, free: 78.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/35.63, allocations: 0 / 8.347 GB, free: 78.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.303e-05/35.63, allocations: 97.42 kB / 8.347 GB, free: 78.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/35.63, allocations: 85.03 kB / 8.347 GB, free: 78.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/35.63, allocations: 4 kB / 8.347 GB, free: 78.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/35.63, allocations: 4 kB / 8.347 GB, free: 78.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/35.63, allocations: 0.5 kB / 8.347 GB, free: 78.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/35.63, allocations: 0 / 8.347 GB, free: 78.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.472e-05/35.63, allocations: 75.78 kB / 8.347 GB, free: 78.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.2e-07/35.63, allocations: 32 / 8.347 GB, free: 78.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002102/35.63, allocations: 8 kB / 8.347 GB, free: 78.08 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.81e-05/35.63, allocations: 94.14 kB / 8.348 GB, free: 77.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.524e-05/35.63, allocations: 63.28 kB / 8.348 GB, free: 77.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/35.63, allocations: 0 / 8.348 GB, free: 77.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.682e-05/35.63, allocations: 56.14 kB / 8.348 GB, free: 77.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/35.63, allocations: 10 kB / 8.348 GB, free: 77.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001633/35.63, allocations: 104.4 kB / 8.348 GB, free: 77.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/35.63, allocations: 0.677 MB / 8.348 GB, free: 77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.929e-06/35.63, allocations: 7.438 kB / 8.348 GB, free: 76.99 MB / 458.7 MB Notification: Performance of SimCode: time 2.906e-06/35.63, allocations: 0 / 8.348 GB, free: 76.99 MB / 458.7 MB Notification: Performance of Templates: time 0.001664/35.64, allocations: 344.4 kB / 8.349 GB, free: 76.66 MB / 458.7 MB