Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.889e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.000657/0.1299, allocations: 216.7 kB / 411.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004142/0.1341, allocations: 2.112 MB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.1341, allocations: 0 / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.103e-05/0.1342, allocations: 0 / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.1342, allocations: 0 / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.1358, allocations: 382.9 kB / 413.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.094e-05/0.1358, allocations: 7.984 kB / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.28e-05/0.1359, allocations: 4 kB / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.436e-05/0.1359, allocations: 0 / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 33.32/33.46, allocations: 7.99 GB / 8.394 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/33.46, allocations: 0 / 8.394 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/33.46, allocations: 0 / 8.394 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/33.46, allocations: 0 / 8.394 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/33.46, allocations: 4 kB / 8.394 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 3.89e-05/33.46, allocations: 0.5 kB / 8.394 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/33.46, allocations: 2.953 kB / 8.394 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.856e-06/33.46, allocations: 4 kB / 8.394 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.718e-05/33.46, allocations: 0 / 8.394 GB, free: 21.95 MB / 0.5105 GB 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.0002441/33.46, allocations: 345 kB / 8.394 GB, free: 21.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/33.46, allocations: 12.09 kB / 8.394 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/33.46, allocations: 0 / 8.394 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.896e-05/33.46, allocations: 160.2 kB / 8.394 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/33.46, allocations: 0 / 8.394 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/33.46, allocations: 0 / 8.394 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.954e-05/33.46, allocations: 39.39 kB / 8.394 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/33.46, allocations: 4 kB / 8.394 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/33.46, allocations: 0 / 8.394 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/33.46, allocations: 0 / 8.394 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.863e-05/33.46, allocations: 1.688 kB / 8.394 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/33.46, allocations: 149.1 kB / 8.395 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/33.46, allocations: 18.05 kB / 8.395 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/33.46, allocations: 0 / 8.395 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/33.46, allocations: 69.72 kB / 8.395 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/33.46, allocations: 3.938 kB / 8.395 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001678/33.46, allocations: 67.58 kB / 8.395 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/33.46, allocations: 77.86 kB / 8.395 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.254e-05/33.46, allocations: 85 kB / 8.395 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/33.46, allocations: 26.58 kB / 8.395 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/33.46, allocations: 150.6 kB / 8.395 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/33.46, allocations: 0 / 8.395 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/33.46, allocations: 0 / 8.395 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.152e-05/33.46, allocations: 315.8 kB / 8.395 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/33.46, allocations: 6.297 kB / 8.395 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/33.46, allocations: 4.609 kB / 8.395 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.553e-05/33.46, allocations: 25.7 kB / 8.395 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/33.46, allocations: 0 / 8.395 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.997e-05/33.46, allocations: 63.69 kB / 8.395 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/33.46, allocations: 32.52 kB / 8.395 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/33.46, allocations: 4 kB / 8.395 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/33.46, allocations: 4.094 kB / 8.395 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/33.46, allocations: 3.953 kB / 8.395 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/33.46, allocations: 0 / 8.395 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/33.46, allocations: 3.984 kB / 8.395 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/33.46, allocations: 0 / 8.395 GB, free: 20.09 MB / 0.5105 GB 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.744e-05/33.46, allocations: 137 kB / 8.396 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/33.46, allocations: 0 / 8.396 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.494e-05/33.46, allocations: 7.078 kB / 8.396 GB, free: 19.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/33.46, allocations: 0 / 8.396 GB, free: 19.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/33.46, allocations: 3.953 kB / 8.396 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/33.46, allocations: 8 kB / 8.396 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.787e-05/33.46, allocations: 150.3 kB / 8.396 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/33.46, allocations: 0 / 8.396 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-06/33.46, allocations: 0 / 8.396 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/33.46, allocations: 3.719 kB / 8.396 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/33.46, allocations: 0.875 kB / 8.396 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/33.46, allocations: 4 kB / 8.396 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/33.46, allocations: 0 / 8.396 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/33.46, allocations: 97.45 kB / 8.396 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/33.46, allocations: 77.11 kB / 8.396 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/33.46, allocations: 4 kB / 8.396 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.493e-05/33.46, allocations: 3.5 kB / 8.396 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/33.46, allocations: 0 / 8.396 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/33.46, allocations: 0 / 8.396 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.666e-05/33.46, allocations: 75.28 kB / 8.396 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/33.46, allocations: 0 / 8.396 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002148/33.46, allocations: 13.27 kB / 8.396 GB, free: 19.43 MB / 0.5105 GB 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.0001008/33.46, allocations: 99.28 kB / 8.396 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.425e-05/33.46, allocations: 63.2 kB / 8.396 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/33.46, allocations: 0 / 8.396 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/33.46, allocations: 55.97 kB / 8.396 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/33.46, allocations: 2.359 kB / 8.396 GB, free: 19.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/33.46, allocations: 103.6 kB / 8.396 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/33.46, allocations: 0.6733 MB / 8.397 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.003e-05/33.46, allocations: 7.438 kB / 8.397 GB, free: 18.35 MB / 0.5105 GB Notification: Performance of SimCode: time 6.42e-07/33.46, allocations: 0 / 8.397 GB, free: 18.35 MB / 0.5105 GB Notification: Performance of Templates: time 0.001705/33.46, allocations: 336.6 kB / 8.397 GB, free: 18.02 MB / 0.5105 GB