Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 270.1 MB / 283.6 MB, free: 3.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.248e-05/4.258e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 61.9 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5677, allocations: 87.99 MB / 498.3 MB, free: 0 / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.568, allocations: 64.05 kB / 498.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.646/2.214, allocations: 97.17 MB / 0.5816 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.561e-06/2.214, allocations: 0 / 0.5816 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.072e-06/2.214, allocations: 0 / 0.5816 GB, free: 14.64 MB / 0.4948 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.003726/2.217, allocations: 432 kB / 0.582 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/2.217, allocations: 12.03 kB / 0.582 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/2.217, allocations: 0 / 0.582 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/2.218, allocations: 171 kB / 0.5821 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/2.218, allocations: 0 / 0.5821 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/2.218, allocations: 0 / 0.5821 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.039e-05/2.218, allocations: 29.7 kB / 0.5822 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.857e-06/2.218, allocations: 0 / 0.5822 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/2.218, allocations: 4 kB / 0.5822 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/2.218, allocations: 0 / 0.5822 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/2.218, allocations: 0 / 0.5822 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/2.218, allocations: 157.6 kB / 0.5823 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/2.218, allocations: 22.52 kB / 0.5823 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/2.218, allocations: 8.953 kB / 0.5824 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-06/2.218, allocations: 0 / 0.5824 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/2.218, allocations: 60.25 kB / 0.5824 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.982e-06/2.218, allocations: 0 / 0.5824 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001574/2.218, allocations: 63.39 kB / 0.5825 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/2.218, allocations: 77.11 kB / 0.5825 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/2.218, allocations: 93.03 kB / 0.5826 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/2.219, allocations: 25.7 kB / 0.5827 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/2.219, allocations: 80.14 kB / 0.5827 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/2.219, allocations: 7.844 kB / 0.5827 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-06/2.219, allocations: 3.938 kB / 0.5827 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001541/2.219, allocations: 314.8 kB / 0.583 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/2.219, allocations: 0 / 0.583 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-06/2.219, allocations: 0 / 0.583 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/2.219, allocations: 37.7 kB / 0.5831 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.58e-06/2.219, allocations: 0 / 0.5831 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.741e-05/2.219, allocations: 63.34 kB / 0.5831 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/2.219, allocations: 33.7 kB / 0.5832 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/2.219, allocations: 0 / 0.5832 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/2.219, allocations: 0 / 0.5832 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.912e-06/2.219, allocations: 0 / 0.5832 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.056e-06/2.219, allocations: 0 / 0.5832 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/2.219, allocations: 0 / 0.5832 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.159e-06/2.219, allocations: 0 / 0.5832 GB, free: 12.73 MB / 0.4948 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 9.888e-05/2.219, allocations: 138.7 kB / 0.5833 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/2.219, allocations: 7.938 kB / 0.5833 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/2.219, allocations: 7.078 kB / 0.5833 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-06/2.219, allocations: 0 / 0.5833 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.641e-06/2.219, allocations: 4 kB / 0.5833 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-06/2.219, allocations: 0 / 0.5833 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/2.219, allocations: 141.7 kB / 0.5835 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/2.22, allocations: 0 / 0.5835 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-06/2.22, allocations: 0 / 0.5835 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/2.22, allocations: 7.984 kB / 0.5835 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/2.22, allocations: 7.953 kB / 0.5835 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.881e-06/2.22, allocations: 0 / 0.5835 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.22, allocations: 0 / 0.5835 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/2.22, allocations: 86.78 kB / 0.5836 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/2.22, allocations: 85.09 kB / 0.5836 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/2.22, allocations: 0 / 0.5836 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/2.22, allocations: 3.953 kB / 0.5836 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/2.22, allocations: 4.031 kB / 0.5836 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-06/2.22, allocations: 4 kB / 0.5837 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.853e-05/2.22, allocations: 75.28 kB / 0.5837 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.023e-06/2.22, allocations: 0 / 0.5837 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009666/2.23, allocations: 2.164 MB / 0.5858 GB, free: 9.891 MB / 0.4948 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.01512/2.245, allocations: 2.273 MB / 0.5881 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001237/2.245, allocations: 55.41 kB / 0.5881 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.009e-06/2.245, allocations: 0 / 0.5881 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/2.245, allocations: 55.41 kB / 0.5882 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001027/2.245, allocations: 7.938 kB / 0.5882 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001583/2.245, allocations: 57.12 kB / 0.5882 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/2.246, allocations: 0.6731 MB / 0.5889 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.598e-06/2.246, allocations: 4 kB / 0.5889 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.284e-05/2.246, allocations: 7.438 kB / 0.5889 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of SimCode: time 1.462e-06/2.246, allocations: 0 / 0.5889 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of Templates: time 0.5894/2.835, allocations: 123.9 MB / 0.7099 GB, free: 86.4 MB / 0.5105 GB