Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 270 MB / 283.6 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.812e-05, allocations: 4 kB / 348.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3204, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.4564, allocations: 88 MB / 498.3 MB, free: 2.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.4567, allocations: 63.97 kB / 498.3 MB, free: 2.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864/2.321, allocations: 97.16 MB / 0.5815 GB, free: 56.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.501e-06/2.321, allocations: 0 / 0.5815 GB, free: 56.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.98e-06/2.321, allocations: 0 / 0.5815 GB, free: 56.84 MB / 442.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.003834/2.325, allocations: 437.8 kB / 0.582 GB, free: 56.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/2.325, allocations: 8.031 kB / 0.582 GB, free: 56.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/2.325, allocations: 3.984 kB / 0.582 GB, free: 56.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.684e-05/2.325, allocations: 163 kB / 0.5821 GB, free: 56.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/2.325, allocations: 0 / 0.5821 GB, free: 56.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/2.325, allocations: 0 / 0.5821 GB, free: 56.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/2.325, allocations: 37.7 kB / 0.5822 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/2.325, allocations: 0 / 0.5822 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/2.325, allocations: 0 / 0.5822 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.756e-06/2.325, allocations: 0 / 0.5822 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.781e-05/2.325, allocations: 7.938 kB / 0.5822 GB, free: 56.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/2.325, allocations: 149.6 kB / 0.5823 GB, free: 55.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/2.326, allocations: 15.66 kB / 0.5823 GB, free: 55.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/2.326, allocations: 12.89 kB / 0.5823 GB, free: 55.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.127e-06/2.326, allocations: 4.656 kB / 0.5823 GB, free: 55.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/2.326, allocations: 56.27 kB / 0.5824 GB, free: 55.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 2.289e-06/2.326, allocations: 0 / 0.5824 GB, free: 55.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001365/2.326, allocations: 67.39 kB / 0.5825 GB, free: 55.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/2.326, allocations: 81.05 kB / 0.5825 GB, free: 55.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.473e-05/2.326, allocations: 85 kB / 0.5826 GB, free: 55.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.938e-06/2.326, allocations: 28.11 kB / 0.5826 GB, free: 55.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.273e-05/2.326, allocations: 80.14 kB / 0.5827 GB, free: 55.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/2.326, allocations: 11.94 kB / 0.5827 GB, free: 55.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/2.326, allocations: 0 / 0.5827 GB, free: 55.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/2.326, allocations: 310.8 kB / 0.583 GB, free: 55.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.856e-06/2.326, allocations: 0 / 0.583 GB, free: 55.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.141e-06/2.326, allocations: 0 / 0.583 GB, free: 55.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.33e-05/2.326, allocations: 33.7 kB / 0.5831 GB, free: 55.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-06/2.326, allocations: 0 / 0.5831 GB, free: 55.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.19e-05/2.326, allocations: 67.34 kB / 0.5831 GB, free: 55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/2.326, allocations: 33.8 kB / 0.5832 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.441e-06/2.326, allocations: 0 / 0.5832 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/2.326, allocations: 0 / 0.5832 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.777e-06/2.326, allocations: 0 / 0.5832 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.464e-06/2.326, allocations: 0 / 0.5832 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/2.326, allocations: 0 / 0.5832 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-06/2.326, allocations: 4 kB / 0.5832 GB, free: 54.96 MB / 442.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 4.936e-05/2.326, allocations: 126.7 kB / 0.5833 GB, free: 54.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/2.326, allocations: 3.953 kB / 0.5833 GB, free: 54.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/2.326, allocations: 22.98 kB / 0.5833 GB, free: 54.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-06/2.326, allocations: 0 / 0.5833 GB, free: 54.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.47e-06/2.326, allocations: 0 / 0.5833 GB, free: 54.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.61e-06/2.326, allocations: 3.5 kB / 0.5833 GB, free: 54.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.83e-05/2.327, allocations: 145.7 kB / 0.5834 GB, free: 54.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-06/2.327, allocations: 0 / 0.5834 GB, free: 54.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-06/2.327, allocations: 0 / 0.5834 GB, free: 54.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/2.327, allocations: 4 kB / 0.5835 GB, free: 54.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-06/2.327, allocations: 4.828 kB / 0.5835 GB, free: 54.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/2.327, allocations: 3.984 kB / 0.5835 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.589e-06/2.327, allocations: 0 / 0.5835 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.438e-05/2.327, allocations: 86.84 kB / 0.5835 GB, free: 54.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/2.327, allocations: 77.11 kB / 0.5836 GB, free: 54.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/2.327, allocations: 3.984 kB / 0.5836 GB, free: 54.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/2.327, allocations: 11.58 kB / 0.5836 GB, free: 54.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/2.327, allocations: 0 / 0.5836 GB, free: 54.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-06/2.327, allocations: 7.938 kB / 0.5836 GB, free: 54.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.458e-05/2.327, allocations: 75.28 kB / 0.5837 GB, free: 54.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.49e-07/2.327, allocations: 4.031 kB / 0.5837 GB, free: 54.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009317/2.336, allocations: 2.158 MB / 0.5858 GB, free: 52.15 MB / 442.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.01432/2.351, allocations: 2.256 MB / 0.588 GB, free: 49.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/2.351, allocations: 71.39 kB / 0.5881 GB, free: 49.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.9e-06/2.351, allocations: 0 / 0.5881 GB, free: 49.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/2.351, allocations: 51.41 kB / 0.5881 GB, free: 49.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/2.351, allocations: 6.812 kB / 0.5881 GB, free: 49.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001371/2.351, allocations: 48.97 kB / 0.5882 GB, free: 49.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/2.351, allocations: 0.677 MB / 0.5889 GB, free: 49.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.637e-06/2.351, allocations: 0 / 0.5889 GB, free: 49.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.158e-05/2.351, allocations: 7.438 kB / 0.5889 GB, free: 49 MB / 442.7 MB Notification: Performance of SimCode: time 1.35e-06/2.351, allocations: 4.125 kB / 0.5889 GB, free: 49 MB / 442.7 MB Notification: Performance of Templates: time 0.2185/2.57, allocations: 123.9 MB / 0.7099 GB, free: 4.93 MB / 0.5105 GB