Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.18e-05, allocations: 4 kB / 292.1 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09321, allocations: 50.42 MB / 342.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4507, allocations: 76.53 MB / 419.1 MB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.451, allocations: 67.2 kB / 419.2 MB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01193/0.4629, allocations: 2.974 MB / 422.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.07e-06/0.463, allocations: 0 / 422.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.407e-06/0.463, allocations: 0 / 422.1 MB, free: 14.99 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.0006934/0.4637, allocations: 0.5528 MB / 422.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4637, allocations: 8.031 kB / 422.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.4639, allocations: 23.77 kB / 422.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.4641, allocations: 178.9 kB / 422.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.4642, allocations: 8 kB / 422.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.4642, allocations: 4 kB / 422.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.4646, allocations: 272.5 kB / 423.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-06/0.4647, allocations: 0 / 423.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.4647, allocations: 4 kB / 423.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-06/0.4647, allocations: 3.953 kB / 423.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.4649, allocations: 152.2 kB / 423.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.4652, allocations: 212.9 kB / 423.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.4657, allocations: 491 kB / 424 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.4661, allocations: 471.1 kB / 424.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.4662, allocations: 0 / 424.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005971/0.4668, allocations: 482.7 kB / 424.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.494e-06/0.4668, allocations: 0 / 424.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008741/0.4677, allocations: 0.503 MB / 425.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.4678, allocations: 168.2 kB / 425.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.4679, allocations: 92.31 kB / 425.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.468, allocations: 29.64 kB / 425.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.468, allocations: 84.92 kB / 425.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/0.4681, allocations: 88.38 kB / 425.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-06/0.4682, allocations: 4.062 kB / 425.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4683, allocations: 332 kB / 426.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.4684, allocations: 75.23 kB / 426.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.4686, allocations: 108.5 kB / 426.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.4688, allocations: 197.6 kB / 426.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-06/0.4689, allocations: 0 / 426.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005151/0.4694, allocations: 349.4 kB / 426.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.4695, allocations: 113.7 kB / 427 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.08e-06/0.4695, allocations: 4.094 kB / 427 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4696, allocations: 0 / 427 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.34e-06/0.4696, allocations: 0 / 427 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.318e-06/0.4696, allocations: 0 / 427 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.4697, allocations: 27.7 kB / 427.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.4697, allocations: 8 kB / 427.1 MB, free: 10.74 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.0003298/0.4701, allocations: 274.2 kB / 427.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.162e-05/0.4702, allocations: 23.81 kB / 427.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.4702, allocations: 8.969 kB / 427.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.873e-06/0.4702, allocations: 7.984 kB / 427.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.664e-06/0.4702, allocations: 0 / 427.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.618e-06/0.4703, allocations: 0 / 427.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.4706, allocations: 250.9 kB / 427.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-06/0.4706, allocations: 4 kB / 427.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-06/0.4706, allocations: 0 / 427.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.184e-06/0.4706, allocations: 0 / 427.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/0.4707, allocations: 28.09 kB / 427.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.393e-06/0.4707, allocations: 4.812 kB / 427.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-06/0.4707, allocations: 0 / 427.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.4725, allocations: 1.235 MB / 428.9 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.4726, allocations: 100.8 kB / 429 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.4728, allocations: 67.92 kB / 429.1 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4729, allocations: 8 kB / 429.1 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.4729, allocations: 11.55 kB / 429.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.473, allocations: 34.23 kB / 429.1 MB, free: 8.828 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.324e-05/0.4731, allocations: 83.23 kB / 429.2 MB, free: 8.746 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.4731, allocations: 0 / 429.2 MB, free: 8.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005821/0.4737, allocations: 115.3 kB / 429.3 MB, free: 8.637 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.000793/0.4745, allocations: 329.8 kB / 429.6 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.4766, allocations: 2.124 MB / 431.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.946e-06/0.4766, allocations: 0 / 431.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.4785, allocations: 2.182 MB / 433.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.4788, allocations: 8 kB / 434 MB, free: 6.238 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006784/0.4795, allocations: 308.8 kB / 434.3 MB, free: 5.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.4799, allocations: 0.7327 MB / 435 MB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.692e-05/0.48, allocations: 0 / 435 MB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.48, allocations: 7.438 kB / 435 MB, free: 5.152 MB / 346.7 MB Notification: Performance of SimCode: time 1.878e-06/0.48, allocations: 0 / 435 MB, free: 5.152 MB / 346.7 MB Notification: Performance of Templates: time 0.008632/0.4886, allocations: 3.299 MB / 438.3 MB, free: 1.863 MB / 346.7 MB