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.855/1.855, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.94e-05, allocations: 2.906 kB / 255.3 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07914/0.07919, allocations: 44.5 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3182/0.3975, allocations: 71.12 MB / 371 MB, free: 21.24 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.3978, allocations: 63.91 kB / 371 MB, free: 21.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01219/0.41, allocations: 2.98 MB / 374 MB, free: 20.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.428e-06/0.41, allocations: 0 / 374 MB, free: 20.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.849e-06/0.41, allocations: 2.312 kB / 374 MB, free: 20.78 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.0005399/0.4106, allocations: 0.5522 MB / 374.6 MB, free: 20.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4107, allocations: 8.719 kB / 374.6 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.4108, allocations: 23.75 kB / 374.6 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.411, allocations: 181.7 kB / 374.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.411, allocations: 2.125 kB / 374.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.4111, allocations: 9.344 kB / 374.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.4115, allocations: 274.2 kB / 375 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.958e-06/0.4115, allocations: 0 / 375 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.381e-05/0.4115, allocations: 6.422 kB / 375 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-06/0.4116, allocations: 3.188 kB / 375 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.4118, allocations: 141.5 kB / 375.2 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.412, allocations: 227.9 kB / 375.4 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.4124, allocations: 494.3 kB / 375.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.4128, allocations: 468 kB / 376.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.4128, allocations: 5.188 kB / 376.4 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005422/0.4134, allocations: 479.4 kB / 376.8 MB, free: 19.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 3.358e-06/0.4134, allocations: 0 / 376.8 MB, free: 19.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008759/0.4143, allocations: 0.5067 MB / 377.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.4144, allocations: 156.4 kB / 377.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.4145, allocations: 96.09 kB / 377.6 MB, free: 19.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4145, allocations: 26.7 kB / 377.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.4146, allocations: 156.1 kB / 377.8 MB, free: 19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.4146, allocations: 85.78 kB / 377.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-06/0.4146, allocations: 1.156 kB / 377.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.41e-05/0.4147, allocations: 327.6 kB / 378.2 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.4148, allocations: 81.33 kB / 378.2 MB, free: 18.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.415, allocations: 111.5 kB / 378.3 MB, free: 18.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.4152, allocations: 198.3 kB / 378.5 MB, free: 18.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.357e-06/0.4152, allocations: 3.953 kB / 378.5 MB, free: 18.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000447/0.4157, allocations: 346.2 kB / 378.9 MB, free: 18.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.4158, allocations: 116.3 kB / 379 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4158, allocations: 0 / 379 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4158, allocations: 1.062 kB / 379 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.431e-06/0.4159, allocations: 5.125 kB / 379 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.931e-06/0.4159, allocations: 0 / 379 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.416, allocations: 23.22 kB / 379 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.416, allocations: 9.688 kB / 379 MB, free: 18.35 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.0002768/0.4163, allocations: 271.5 kB / 379.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.4164, allocations: 29.73 kB / 379.3 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.4164, allocations: 8.516 kB / 379.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.492e-06/0.4164, allocations: 1 kB / 379.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4164, allocations: 1.031 kB / 379.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.334e-06/0.4165, allocations: 4 kB / 379.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.4167, allocations: 247.7 kB / 379.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.271e-06/0.4167, allocations: 4 kB / 379.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-06/0.4167, allocations: 5.359 kB / 379.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.921e-06/0.4167, allocations: 1.875 kB / 379.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.4168, allocations: 21.28 kB / 379.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4168, allocations: 1.5 kB / 379.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4168, allocations: 0 / 379.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.4184, allocations: 1.239 MB / 380.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.4185, allocations: 99.56 kB / 381 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.4187, allocations: 70.52 kB / 381 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.697e-05/0.4188, allocations: 15.05 kB / 381 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.4189, allocations: 11.88 kB / 381.1 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/0.419, allocations: 26.02 kB / 381.1 MB, free: 17.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.6e-05/0.419, allocations: 83.53 kB / 381.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.419, allocations: 0 / 381.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005673/0.4196, allocations: 110.9 kB / 381.3 MB, free: 17.57 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.0007281/0.4204, allocations: 317 kB / 381.6 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.4223, allocations: 2.122 MB / 383.7 MB, free: 17.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.4223, allocations: 0 / 383.7 MB, free: 17.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.4241, allocations: 2.184 MB / 385.9 MB, free: 17.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.4243, allocations: 21.33 kB / 385.9 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006225/0.425, allocations: 339.2 kB / 386.2 MB, free: 17.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.4252, allocations: 0.7303 MB / 387 MB, free: 16.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.4252, allocations: 7.562 kB / 387 MB, free: 16.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.619e-06/0.4252, allocations: 5.375 kB / 387 MB, free: 16.32 MB / 314.7 MB Notification: Performance of Templates: time 0.006476/0.4317, allocations: 3.325 MB / 390.3 MB, free: 15.93 MB / 314.7 MB