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.911/1.911, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.727e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2475, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.356, allocations: 70.47 MB / 364.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.3562, allocations: 63.91 kB / 364.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0122/0.3685, allocations: 2.977 MB / 367.6 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.657e-06/0.3685, allocations: 0 / 367.6 MB, free: 8.484 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3685, allocations: 4 kB / 367.6 MB, free: 8.48 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.0006535/0.3692, allocations: 0.5518 MB / 368.2 MB, free: 7.871 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3692, allocations: 12.03 kB / 368.2 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.3694, allocations: 15.81 kB / 368.2 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.3696, allocations: 178.9 kB / 368.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3696, allocations: 0 / 368.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.3697, allocations: 8 kB / 368.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002263/0.3699, allocations: 148.6 kB / 368.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.3703, allocations: 263.2 kB / 368.8 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.407e-06/0.3704, allocations: 0 / 368.8 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.3704, allocations: 4 kB / 368.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-06/0.3704, allocations: 0 / 368.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.3707, allocations: 182.8 kB / 369 MB, free: 6.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.3712, allocations: 493.1 kB / 369.4 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/0.3718, allocations: 473.5 kB / 369.9 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.876e-06/0.3718, allocations: 0 / 369.9 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006497/0.3725, allocations: 472.6 kB / 370.4 MB, free: 5.508 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.416e-06/0.3725, allocations: 4 kB / 370.4 MB, free: 5.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009669/0.3735, allocations: 409.2 kB / 370.8 MB, free: 5.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.3736, allocations: 164.4 kB / 370.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3737, allocations: 93 kB / 371 MB, free: 4.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3738, allocations: 25.7 kB / 371 MB, free: 4.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.3739, allocations: 151.3 kB / 371.2 MB, free: 4.629 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/0.374, allocations: 86.81 kB / 371.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.179e-06/0.374, allocations: 4 kB / 371.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3742, allocations: 326.9 kB / 371.6 MB, free: 4.211 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.3743, allocations: 80.36 kB / 371.7 MB, free: 4.133 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.3745, allocations: 102.4 kB / 371.8 MB, free: 4.027 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3747, allocations: 104.1 kB / 371.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-06/0.3748, allocations: 7.938 kB / 371.9 MB, free: 3.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00048/0.3752, allocations: 249.3 kB / 372.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.3754, allocations: 115.3 kB / 372.2 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.525e-06/0.3754, allocations: 0 / 372.2 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3754, allocations: 4.094 kB / 372.2 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.908e-06/0.3755, allocations: 4 kB / 372.3 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.392e-06/0.3755, allocations: 0 / 372.3 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.3756, allocations: 19.75 kB / 372.3 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.3756, allocations: 8 kB / 372.3 MB, free: 3.508 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.0003298/0.3759, allocations: 275.4 kB / 372.5 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.376, allocations: 31.77 kB / 372.6 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.3761, allocations: 9.906 kB / 372.6 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.09e-06/0.3761, allocations: 7.922 kB / 372.6 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6e-06/0.3761, allocations: 0 / 372.6 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.368e-06/0.3761, allocations: 3.938 kB / 372.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.3764, allocations: 205.9 kB / 372.8 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.3764, allocations: 3.984 kB / 372.8 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.445e-06/0.3764, allocations: 4 kB / 372.8 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.103e-06/0.3764, allocations: 4 kB / 372.8 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.3765, allocations: 19.98 kB / 372.8 MB, free: 2.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.3765, allocations: 3.953 kB / 372.8 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3765, allocations: 0 / 372.8 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.3777, allocations: 0.5786 MB / 373.4 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.3778, allocations: 100.9 kB / 373.5 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.378, allocations: 75.86 kB / 373.6 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.559e-05/0.3781, allocations: 8 kB / 373.6 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.3781, allocations: 8 kB / 373.6 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.3782, allocations: 31.97 kB / 373.6 MB, free: 2.047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.616e-05/0.3783, allocations: 79.22 kB / 373.7 MB, free: 1.969 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.3783, allocations: 4 kB / 373.7 MB, free: 1.965 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005022/0.3788, allocations: 103.9 kB / 373.8 MB, free: 1.863 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.0007725/0.3796, allocations: 321 kB / 374.1 MB, free: 1.578 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002446/0.3821, allocations: 2.1 MB / 376.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.643e-06/0.3821, allocations: 0 / 376.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002331/0.3844, allocations: 2.166 MB / 378.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.3847, allocations: 16.06 kB / 378.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006692/0.3854, allocations: 325.6 kB / 378.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.3858, allocations: 0.7283 MB / 379.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.3858, allocations: 7.438 kB / 379.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.729e-06/0.3858, allocations: 4 kB / 379.5 MB, free: 12.13 MB / 330.7 MB Notification: Performance of Templates: time 0.007177/0.393, allocations: 3.342 MB / 382.8 MB, free: 8.781 MB / 330.7 MB