Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadModel(ModelicaTest): time 2.506/2.506, allocations: 234.9 MB / 250 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.053e-05, allocations: 0 / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4196, allocations: 54.85 MB / 362.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0008504/0.4205, allocations: 255.1 kB / 363.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.4223, allocations: 0.5347 MB / 363.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.4223, allocations: 4 kB / 363.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.4225, allocations: 4 kB / 363.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.4225, allocations: 0 / 363.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/0.4234, allocations: 145.5 kB / 363.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.4235, allocations: 9.75 kB / 363.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.4236, allocations: 0 / 363.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.4236, allocations: 13.89 kB / 363.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.424, allocations: 78.48 kB / 363.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.4244, allocations: 115.6 kB / 364 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.121e-05/0.4245, allocations: 8.094 kB / 364 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.4247, allocations: 67.3 kB / 364.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.4248, allocations: 14.12 kB / 364.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.4252, allocations: 138.6 kB / 364.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4252, allocations: 4 kB / 364.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4252, allocations: 0 / 364.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.4252, allocations: 1.531 kB / 364.2 MB, free: 11.01 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008822/0.4261, allocations: 463.4 kB / 364.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/0.4262, allocations: 7.969 kB / 364.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.4264, allocations: 16.72 kB / 364.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.4266, allocations: 187.1 kB / 364.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.4267, allocations: 14.78 kB / 364.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.4268, allocations: 26.12 kB / 364.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.4272, allocations: 134.6 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4273, allocations: 0 / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.4273, allocations: 3.953 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4273, allocations: 0 / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.4276, allocations: 92.78 kB / 365.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.4281, allocations: 228.7 kB / 365.4 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.4285, allocations: 170.8 kB / 365.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.4285, allocations: 1.469 kB / 365.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004418/0.429, allocations: 159 kB / 365.7 MB, free: 9.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 4.389e-06/0.429, allocations: 0 / 365.7 MB, free: 9.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.003209/0.4323, allocations: 0.8665 MB / 366.6 MB, free: 9.402 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/0.4325, allocations: 112 kB / 366.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.4327, allocations: 117.6 kB / 366.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002151/0.4329, allocations: 70.25 kB / 366.9 MB, free: 9.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.4331, allocations: 159.9 kB / 367 MB, free: 8.984 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/0.4335, allocations: 136 kB / 367.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.4336, allocations: 16.44 kB / 367.2 MB, free: 8.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003122/0.4339, allocations: 348.5 kB / 367.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008858/0.4348, allocations: 181.3 kB / 367.7 MB, free: 8.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.436, allocations: 0.5277 MB / 368.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.437, allocations: 273.1 kB / 368.5 MB, free: 7.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.4371, allocations: 4 kB / 368.5 MB, free: 7.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002556/0.4396, allocations: 0.7312 MB / 369.2 MB, free: 6.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.4397, allocations: 12 kB / 369.2 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/0.4398, allocations: 12 kB / 369.2 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.602e-05/0.4398, allocations: 20.81 kB / 369.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009238/0.4408, allocations: 115.7 kB / 369.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.655e-05/0.4408, allocations: 31.92 kB / 369.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.4414, allocations: 71.23 kB / 369.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.4416, allocations: 40 kB / 369.5 MB, free: 6.691 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 ($PRE.state33[33],state33[33],$PRE.state33[32],state33[32],$PRE.state33[31],state33[31],$PRE.state33[30],state33[30],$PRE.state33[29],state33[29],$PRE.state33[28],state33[28],$PRE.state33[27],state33[27],$PRE.state33[26],state33[26],$PRE.state33[25],state33[25],$PRE.state33[24],state33[24],$PRE.state33[23],state33[23],$PRE.state33[22],state33[22],$PRE.state33[21],state33[21],$PRE.state33[20],state33[20],$PRE.state33[19],state33[19],$PRE.state33[18],state33[18],$PRE.state33[17],state33[17],$PRE.state33[16],state33[16],$PRE.state33[15],state33[15],$PRE.state33[14],state33[14],$PRE.state33[13],state33[13],$PRE.state33[12],state33[12],$PRE.state33[11],state33[11],$PRE.state33[10],state33[10],$PRE.state33[9],state33[9],$PRE.state33[8],state33[8],$PRE.state33[7],state33[7],$PRE.state33[6],state33[6],$PRE.state33[5],state33[5],$PRE.state33[4],state33[4],$PRE.state33[3],state33[3],$PRE.state33[2],state33[2],$PRE.state33[1],state33[1],$PRE.state4c[4],state4c[4],$PRE.state4c[3],state4c[3],$PRE.state4c[2],state4c[2],$PRE.state4c[1],state4c[1],$PRE.state4b[4],state4b[4],$PRE.state4b[3],state4b[3],$PRE.state4b[2],state4b[2],$PRE.state4b[1],state4b[1],$PRE.state4a[4],state4a[4],$PRE.state4a[3],state4a[3],$PRE.state4a[2],state4a[2],$PRE.state4a[1],state4a[1],$PRE.state2[2],state2[2],$PRE.state2[1],state2[1],$PRE.r33,r33,$PRE.r4c,r4c,$PRE.r4b,r4b,$PRE.r4a,r4a,$PRE.r2,r2,$PRE.result,result,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * 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.0005111/0.4421, allocations: 241.4 kB / 369.7 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.4422, allocations: 11.81 kB / 369.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.4422, allocations: 5.875 kB / 369.8 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4422, allocations: 0 / 369.8 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4423, allocations: 0 / 369.8 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.4423, allocations: 0 / 369.8 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.4426, allocations: 201.7 kB / 370 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4426, allocations: 0 / 370 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.4426, allocations: 0 / 370 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.4426, allocations: 4 kB / 370 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.4427, allocations: 7.984 kB / 370 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.4427, allocations: 7.938 kB / 370 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4427, allocations: 3.984 kB / 370 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.4446, allocations: 0.6147 MB / 370.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.264e-05/0.4447, allocations: 100.8 kB / 370.7 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.4448, allocations: 0 / 370.7 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/0.4448, allocations: 0 / 370.7 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.4449, allocations: 8.031 kB / 370.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.4449, allocations: 0 / 370.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.137e-05/0.445, allocations: 75.28 kB / 370.8 MB, free: 5.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.445, allocations: 0 / 370.8 MB, free: 5.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001265/0.4463, allocations: 95.98 kB / 370.9 MB, free: 5.227 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 54 ($whenCondition1,result,r2,r4a,r4b,r4c,r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001121/0.4474, allocations: 257.7 kB / 371.1 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.4492, allocations: 468.5 kB / 371.6 MB, free: 4.547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.4492, allocations: 0 / 371.6 MB, free: 4.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.4496, allocations: 156.4 kB / 371.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.4499, allocations: 7.953 kB / 371.7 MB, free: 4.387 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.4511, allocations: 489.6 kB / 372.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.4518, allocations: 0.7414 MB / 373 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.4519, allocations: 23.44 kB / 373 MB, free: 3.082 MB / 298.7 MB Notification: Performance of SimCode: time 1.392e-06/0.4519, allocations: 0 / 373 MB, free: 3.082 MB / 298.7 MB Notification: Performance of Templates: time 0.01291/0.4648, allocations: 3.62 MB / 376.6 MB, free: 15.46 MB / 314.7 MB