Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.139e-05, allocations: 6.031 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09165/0.0917, allocations: 50.41 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3632/0.455, allocations: 76.53 MB / 419.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.4552, allocations: 63.02 kB / 419.7 MB, free: 1.582 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01191/0.4672, allocations: 2.976 MB / 422.7 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.639e-06/0.4672, allocations: 0 / 422.7 MB, free: 15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.763e-06/0.4672, allocations: 0 / 422.7 MB, free: 15 MB / 346.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.0006283/0.4679, allocations: 0.552 MB / 423.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4679, allocations: 12.03 kB / 423.2 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.4681, allocations: 23.77 kB / 423.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.4683, allocations: 178.4 kB / 423.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.4683, allocations: 4 kB / 423.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.4684, allocations: 4 kB / 423.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.4688, allocations: 271.9 kB / 423.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.4688, allocations: 0 / 423.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.4689, allocations: 4 kB / 423.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.061e-06/0.4689, allocations: 4.828 kB / 423.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.4691, allocations: 147.1 kB / 423.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.4694, allocations: 215 kB / 424 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.4698, allocations: 490.2 kB / 424.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/0.4703, allocations: 469.1 kB / 425 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.889e-06/0.4703, allocations: 0 / 425 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000589/0.4709, allocations: 484.6 kB / 425.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.362e-06/0.4709, allocations: 0 / 425.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.000858/0.4718, allocations: 0.5023 MB / 426 MB, free: 12.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.4719, allocations: 167.8 kB / 426.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.472, allocations: 95.98 kB / 426.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.4721, allocations: 29.64 kB / 426.2 MB, free: 11.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.4721, allocations: 92.23 kB / 426.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.4722, allocations: 88.12 kB / 426.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.4723, allocations: 0 / 426.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4724, allocations: 329.5 kB / 426.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.4726, allocations: 79.55 kB / 426.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.4727, allocations: 109 kB / 426.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.473, allocations: 201.5 kB / 427.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.641e-06/0.473, allocations: 4.031 kB / 427.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004898/0.4735, allocations: 342.6 kB / 427.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.4736, allocations: 110 kB / 427.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.216e-06/0.4737, allocations: 0 / 427.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4737, allocations: 0 / 427.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-06/0.4737, allocations: 4 kB / 427.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4737, allocations: 0 / 427.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.938e-05/0.4738, allocations: 27.7 kB / 427.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.4738, allocations: 11.62 kB / 427.6 MB, free: 10.75 MB / 346.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.0003221/0.4742, allocations: 274.1 kB / 427.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.4743, allocations: 23.81 kB / 427.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.4743, allocations: 9.328 kB / 427.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.564e-06/0.4743, allocations: 4 kB / 427.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.486e-06/0.4743, allocations: 4 kB / 427.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.1e-06/0.4743, allocations: 0 / 427.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.4746, allocations: 255.6 kB / 428.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-06/0.4746, allocations: 0 / 428.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-06/0.4747, allocations: 0 / 428.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.167e-06/0.4747, allocations: 0 / 428.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.4747, allocations: 22.48 kB / 428.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.38e-06/0.4747, allocations: 0 / 428.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.604e-06/0.4748, allocations: 3.938 kB / 428.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.4765, allocations: 1.24 MB / 429.4 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.4766, allocations: 96.86 kB / 429.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.4768, allocations: 67.92 kB / 429.6 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.4769, allocations: 11.98 kB / 429.6 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.477, allocations: 7.875 kB / 429.6 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.477, allocations: 27.48 kB / 429.6 MB, free: 8.836 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.595e-05/0.4771, allocations: 87.22 kB / 429.7 MB, free: 8.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.4771, allocations: 4.031 kB / 429.7 MB, free: 8.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.4777, allocations: 111.4 kB / 429.8 MB, free: 8.641 MB / 346.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.0008046/0.4785, allocations: 335.5 kB / 430.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.4805, allocations: 2.118 MB / 432.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.522e-06/0.4805, allocations: 0 / 432.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.4824, allocations: 2.182 MB / 434.5 MB, free: 6.254 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.4826, allocations: 10.97 kB / 434.5 MB, free: 6.246 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.4833, allocations: 314.2 kB / 434.8 MB, free: 5.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.4837, allocations: 0.7247 MB / 435.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.136e-05/0.4837, allocations: 0 / 435.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.4837, allocations: 7.438 kB / 435.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.997e-06/0.4838, allocations: 0 / 435.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of Templates: time 0.008339/0.4921, allocations: 3.295 MB / 438.8 MB, free: 1.871 MB / 346.7 MB