Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.662e-05, allocations: 8 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07833/0.07838, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3767/0.4551, allocations: 71.13 MB / 371 MB, free: 21.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004277/0.4556, allocations: 64.3 kB / 371.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01267/0.4683, allocations: 2.984 MB / 374.1 MB, free: 21.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.486e-06/0.4683, allocations: 1.219 kB / 374.1 MB, free: 21.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.454e-06/0.4684, allocations: 1 kB / 374.1 MB, free: 21.24 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005201/0.4689, allocations: 0.5502 MB / 374.6 MB, free: 20.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.469, allocations: 9.688 kB / 374.6 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.4691, allocations: 20.8 kB / 374.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.4693, allocations: 182.4 kB / 374.8 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.4693, allocations: 3.625 kB / 374.8 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.4693, allocations: 4.219 kB / 374.8 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.4698, allocations: 277.5 kB / 375.1 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4698, allocations: 0 / 375.1 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.4698, allocations: 2.25 kB / 375.1 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4698, allocations: 4.969 kB / 375.1 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.4701, allocations: 141.1 kB / 375.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.4703, allocations: 223.3 kB / 375.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.4707, allocations: 489.8 kB / 375.9 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.4711, allocations: 476.9 kB / 376.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.4711, allocations: 0.9688 kB / 376.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/0.4716, allocations: 478.8 kB / 376.9 MB, free: 20 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.787e-06/0.4717, allocations: 1.094 kB / 376.9 MB, free: 20 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008269/0.4725, allocations: 0.5091 MB / 377.4 MB, free: 19.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.4726, allocations: 157.3 kB / 377.5 MB, free: 19.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.4727, allocations: 95.92 kB / 377.6 MB, free: 19.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.4727, allocations: 27.77 kB / 377.7 MB, free: 19.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.4727, allocations: 83.78 kB / 377.7 MB, free: 19.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.4728, allocations: 85.06 kB / 377.8 MB, free: 19.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-06/0.4728, allocations: 1 kB / 377.8 MB, free: 19.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.4729, allocations: 329.9 kB / 378.1 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.473, allocations: 79.3 kB / 378.2 MB, free: 19.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.4732, allocations: 110.5 kB / 378.3 MB, free: 19.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.4734, allocations: 201.9 kB / 378.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.394e-06/0.4734, allocations: 3.953 kB / 378.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004568/0.4739, allocations: 347 kB / 378.9 MB, free: 18.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.474, allocations: 117.8 kB / 379 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.474, allocations: 1.031 kB / 379 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4741, allocations: 1 kB / 379 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.757e-06/0.4741, allocations: 1.844 kB / 379 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.696e-06/0.4741, allocations: 0 / 379 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.675e-05/0.4742, allocations: 22.12 kB / 379 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.4742, allocations: 9.188 kB / 379 MB, free: 18.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002642/0.4745, allocations: 276.9 kB / 379.3 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.4746, allocations: 29.97 kB / 379.3 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.4746, allocations: 6.656 kB / 379.3 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.4746, allocations: 1.375 kB / 379.3 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.992e-06/0.4746, allocations: 0 / 379.3 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-06/0.4747, allocations: 6.5 kB / 379.3 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.4749, allocations: 245.8 kB / 379.6 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-06/0.4749, allocations: 5.438 kB / 379.6 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.4749, allocations: 3.953 kB / 379.6 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.4749, allocations: 1.438 kB / 379.6 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.475, allocations: 21.61 kB / 379.6 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.796e-06/0.475, allocations: 5.406 kB / 379.6 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.475, allocations: 0 / 379.6 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.4767, allocations: 1.234 MB / 380.8 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.4768, allocations: 95.89 kB / 380.9 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.477, allocations: 74.88 kB / 381 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.4771, allocations: 8.594 kB / 381 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.4772, allocations: 15.33 kB / 381 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/0.4772, allocations: 23.69 kB / 381.1 MB, free: 18.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.879e-05/0.4773, allocations: 83.78 kB / 381.1 MB, free: 18.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.4773, allocations: 0 / 381.1 MB, free: 18.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005671/0.4779, allocations: 110.5 kB / 381.2 MB, free: 18.11 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0007487/0.4786, allocations: 314.9 kB / 381.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.4805, allocations: 2.122 MB / 383.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.939e-06/0.4806, allocations: 0 / 383.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.4823, allocations: 2.185 MB / 385.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.4825, allocations: 18.89 kB / 385.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.4831, allocations: 308.8 kB / 386.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.4833, allocations: 0.7332 MB / 386.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.202e-05/0.4834, allocations: 0 / 386.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.4834, allocations: 17.53 kB / 386.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.734e-06/0.4834, allocations: 0 / 386.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of Templates: time 0.007734/0.4911, allocations: 3.292 MB / 390.2 MB, free: 16.48 MB / 314.7 MB