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_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.634e-05, allocations: 3.188 kB / 255.4 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07705/0.0771, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3724/0.4496, allocations: 71.12 MB / 371 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.4498, allocations: 66.59 kB / 371 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01213/0.462, allocations: 2.976 MB / 374 MB, free: 20.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.29e-06/0.462, allocations: 1.125 kB / 374 MB, free: 20.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.13e-06/0.462, allocations: 1.188 kB / 374 MB, free: 20.31 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.0005196/0.4626, allocations: 0.552 MB / 374.6 MB, free: 19.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4626, allocations: 8.875 kB / 374.6 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.4628, allocations: 22.14 kB / 374.6 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.4629, allocations: 177.2 kB / 374.8 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.4629, allocations: 6.406 kB / 374.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.463, allocations: 4.5 kB / 374.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.4634, allocations: 275.2 kB / 375.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.741e-06/0.4634, allocations: 8.484 kB / 375.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.4635, allocations: 2.906 kB / 375.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-06/0.4635, allocations: 0 / 375.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.4637, allocations: 143.2 kB / 375.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.4639, allocations: 225.7 kB / 375.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.4643, allocations: 497.8 kB / 375.9 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.4647, allocations: 468 kB / 376.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.503e-06/0.4648, allocations: 0 / 376.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005099/0.4653, allocations: 478.6 kB / 376.8 MB, free: 19.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.655e-06/0.4653, allocations: 1.188 kB / 376.8 MB, free: 19.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008233/0.4661, allocations: 0.5087 MB / 377.4 MB, free: 18.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.4662, allocations: 160 kB / 377.5 MB, free: 18.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.205e-05/0.4663, allocations: 91.17 kB / 377.6 MB, free: 18.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.4663, allocations: 32.17 kB / 377.6 MB, free: 18.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.4664, allocations: 154.6 kB / 377.8 MB, free: 18.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.4664, allocations: 85.52 kB / 377.9 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-06/0.4665, allocations: 1.031 kB / 377.9 MB, free: 18.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.4665, allocations: 328.6 kB / 378.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.4667, allocations: 80.66 kB / 378.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4668, allocations: 109.1 kB / 378.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.467, allocations: 197.3 kB / 378.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.967e-06/0.467, allocations: 5.391 kB / 378.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004285/0.4675, allocations: 346.8 kB / 378.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.884e-05/0.4676, allocations: 112.5 kB / 379 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.848e-06/0.4676, allocations: 5.219 kB / 379 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4676, allocations: 1.156 kB / 379 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.928e-06/0.4676, allocations: 0 / 379 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.942e-06/0.4677, allocations: 1.375 kB / 379 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.363e-05/0.4678, allocations: 21.75 kB / 379 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.4678, allocations: 8.031 kB / 379.1 MB, free: 17.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.0002676/0.4681, allocations: 277.6 kB / 379.3 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.4682, allocations: 32.38 kB / 379.4 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.664e-05/0.4682, allocations: 5.344 kB / 379.4 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.612e-06/0.4682, allocations: 1.25 kB / 379.4 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.115e-06/0.4682, allocations: 5.688 kB / 379.4 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.539e-06/0.4682, allocations: 0 / 379.4 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.4685, allocations: 251.3 kB / 379.6 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-06/0.4685, allocations: 1.25 kB / 379.6 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-06/0.4685, allocations: 3.953 kB / 379.6 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4685, allocations: 1.344 kB / 379.6 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.4686, allocations: 24.08 kB / 379.6 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.753e-06/0.4686, allocations: 0 / 379.6 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.699e-06/0.4686, allocations: 1.469 kB / 379.6 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.4702, allocations: 1.231 MB / 380.9 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.4703, allocations: 96.14 kB / 381 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.4705, allocations: 70.48 kB / 381 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.4706, allocations: 8.188 kB / 381 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.4706, allocations: 11.25 kB / 381.1 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/0.4707, allocations: 31.5 kB / 381.1 MB, free: 17.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.4708, allocations: 85.44 kB / 381.2 MB, free: 17.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.4708, allocations: 0 / 381.2 MB, free: 17.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005413/0.4713, allocations: 105.9 kB / 381.3 MB, free: 17.12 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.0007126/0.4721, allocations: 320.2 kB / 381.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.4739, allocations: 2.116 MB / 383.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.052e-06/0.4739, allocations: 0 / 383.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.4757, allocations: 2.185 MB / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.476, allocations: 20.66 kB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.4766, allocations: 342.8 kB / 386.2 MB, free: 16.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.4772, allocations: 0.7267 MB / 387 MB, free: 31.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.4772, allocations: 7.438 kB / 387 MB, free: 31.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.542e-06/0.4773, allocations: 1.562 kB / 387 MB, free: 31.86 MB / 330.7 MB Notification: Performance of Templates: time 0.006326/0.4836, allocations: 3.337 MB / 390.3 MB, free: 31.46 MB / 330.7 MB