Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadModel(Modelica): time 2.344/2.344, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.431e-05, allocations: 7.984 kB / 269.4 MB, free: 6.422 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0856/0.08566, allocations: 47.57 MB / 316.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.4735, allocations: 75.29 MB / 392.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/0.4739, allocations: 62.09 kB / 392.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02029/0.4942, allocations: 2.956 MB / 395.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.284e-06/0.4942, allocations: 0 / 395.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.4943, allocations: 4 kB / 395.2 MB, free: 10.21 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.0008486/0.4951, allocations: 0.5432 MB / 395.8 MB, free: 9.633 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4952, allocations: 12.03 kB / 395.8 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.4954, allocations: 15.81 kB / 395.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.4956, allocations: 182.9 kB / 396 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.4956, allocations: 0 / 396 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.4956, allocations: 15.89 kB / 396 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004263/0.4961, allocations: 281 kB / 396.3 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.246e-06/0.4961, allocations: 4 kB / 396.3 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.4961, allocations: 0 / 396.3 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.105e-06/0.4961, allocations: 3.984 kB / 396.3 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.4964, allocations: 152.7 kB / 396.4 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.4966, allocations: 209.7 kB / 396.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.4971, allocations: 495.6 kB / 397.1 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004093/0.4975, allocations: 476.8 kB / 397.6 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-06/0.4976, allocations: 0 / 397.6 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006101/0.4982, allocations: 480.1 kB / 398.1 MB, free: 7.945 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.545e-06/0.4982, allocations: 0 / 398.1 MB, free: 7.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008644/0.4991, allocations: 0.502 MB / 398.6 MB, free: 7.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.4992, allocations: 159.8 kB / 398.7 MB, free: 7.336 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.4993, allocations: 96.56 kB / 398.8 MB, free: 7.238 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.4994, allocations: 25.7 kB / 398.8 MB, free: 7.207 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.4994, allocations: 84.5 kB / 398.9 MB, free: 7.125 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.839e-05/0.4995, allocations: 89.78 kB / 399 MB, free: 7.043 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-06/0.4996, allocations: 7.938 kB / 399 MB, free: 7.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4998, allocations: 334.3 kB / 399.3 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.4999, allocations: 82.11 kB / 399.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.5, allocations: 110.2 kB / 399.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.5003, allocations: 197.2 kB / 399.7 MB, free: 6.402 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.479e-06/0.5003, allocations: 0 / 399.7 MB, free: 6.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004938/0.5008, allocations: 337.7 kB / 400 MB, free: 6.117 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.501, allocations: 113.5 kB / 400.2 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.906e-06/0.501, allocations: 0 / 400.2 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.501, allocations: 8.094 kB / 400.2 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.916e-06/0.501, allocations: 0 / 400.2 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.622e-06/0.501, allocations: 4.688 kB / 400.2 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.5011, allocations: 19.84 kB / 400.2 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.5012, allocations: 11.56 kB / 400.2 MB, free: 5.961 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.001045/0.5022, allocations: 269.3 kB / 400.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.5023, allocations: 27.81 kB / 400.5 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.5024, allocations: 9.297 kB / 400.5 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.5024, allocations: 0 / 400.5 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.5024, allocations: 3.984 kB / 400.5 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.5024, allocations: 8 kB / 400.5 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.5027, allocations: 246.8 kB / 400.8 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-06/0.5027, allocations: 0 / 400.8 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-06/0.5027, allocations: 8 kB / 400.8 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.761e-06/0.5027, allocations: 0 / 400.8 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.5028, allocations: 23.3 kB / 400.8 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.085e-06/0.5028, allocations: 3.953 kB / 400.8 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.156e-06/0.5028, allocations: 4 kB / 400.8 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.5046, allocations: 1.233 MB / 402 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.5047, allocations: 108.6 kB / 402.1 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.5049, allocations: 71.88 kB / 402.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.505, allocations: 12 kB / 402.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.505, allocations: 15.59 kB / 402.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.5051, allocations: 23.05 kB / 402.3 MB, free: 4.035 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.063e-05/0.5052, allocations: 79.28 kB / 402.3 MB, free: 3.957 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.5052, allocations: 0 / 402.3 MB, free: 3.957 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000543/0.5058, allocations: 111.2 kB / 402.4 MB, free: 3.852 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.0007741/0.5065, allocations: 321.5 kB / 402.8 MB, free: 3.566 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.5086, allocations: 2.118 MB / 404.9 MB, free: 2.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.649e-06/0.5086, allocations: 0 / 404.9 MB, free: 2.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.5105, allocations: 2.182 MB / 407.1 MB, free: 1.473 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.5107, allocations: 15.94 kB / 407.1 MB, free: 1.457 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.5113, allocations: 307.1 kB / 407.4 MB, free: 1.141 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.5118, allocations: 0.7286 MB / 408.1 MB, free: 388 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.161e-05/0.5118, allocations: 0 / 408.1 MB, free: 388 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.5118, allocations: 10.62 kB / 408.1 MB, free: 380 kB / 314.7 MB Notification: Performance of SimCode: time 1.638e-06/0.5118, allocations: 0 / 408.1 MB, free: 380 kB / 314.7 MB Notification: Performance of Templates: time 0.008565/0.5204, allocations: 3.296 MB / 411.4 MB, free: 13.07 MB / 330.7 MB