Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.358e-05/4.349e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4314, allocations: 54.86 MB / 362.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.0008343/0.4323, allocations: 254.2 kB / 363.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.4341, allocations: 0.5336 MB / 363.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.4341, allocations: 0 / 363.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.225e-05/0.4342, allocations: 9.391 kB / 363.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.992e-06/0.4343, allocations: 0 / 363.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.4351, allocations: 145.2 kB / 363.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.857e-05/0.4352, allocations: 13.36 kB / 363.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.4353, allocations: 0 / 363.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.4353, allocations: 13.34 kB / 363.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.4356, allocations: 75.48 kB / 363.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.4361, allocations: 118.5 kB / 364 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.872e-05/0.4362, allocations: 11.84 kB / 364 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.4363, allocations: 60.02 kB / 364.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.4364, allocations: 11.31 kB / 364.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.4367, allocations: 137.3 kB / 364.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4368, allocations: 0 / 364.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.608e-06/0.4368, allocations: 1.531 kB / 364.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4368, allocations: 0 / 364.2 MB, free: 11.39 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.0007785/0.4376, allocations: 466.9 kB / 364.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.4377, allocations: 13.09 kB / 364.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.4378, allocations: 21.28 kB / 364.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.4379, allocations: 182.1 kB / 364.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.438, allocations: 15.41 kB / 364.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.4381, allocations: 25.72 kB / 365 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.4384, allocations: 123.1 kB / 365.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.4384, allocations: 0 / 365.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.4384, allocations: 3.953 kB / 365.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4385, allocations: 0 / 365.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.4387, allocations: 95.25 kB / 365.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.4391, allocations: 237.8 kB / 365.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.4394, allocations: 163 kB / 365.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.4394, allocations: 1.156 kB / 365.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000345/0.4398, allocations: 164 kB / 365.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 2.776e-06/0.4398, allocations: 0 / 365.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.00234/0.4421, allocations: 0.8702 MB / 366.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.4423, allocations: 115.3 kB / 366.7 MB, free: 9.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.4425, allocations: 110.4 kB / 366.8 MB, free: 9.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.4426, allocations: 69.67 kB / 366.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.4427, allocations: 92.67 kB / 367 MB, free: 9.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.443, allocations: 138.3 kB / 367.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.4431, allocations: 15.56 kB / 367.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002572/0.4433, allocations: 344.8 kB / 367.5 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006963/0.4441, allocations: 183.2 kB / 367.6 MB, free: 8.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.4452, allocations: 0.5253 MB / 368.2 MB, free: 8.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008284/0.4461, allocations: 271.7 kB / 368.4 MB, free: 7.836 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.4461, allocations: 4 kB / 368.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001843/0.4479, allocations: 0.7311 MB / 369.2 MB, free: 7.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.448, allocations: 12 kB / 369.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.448, allocations: 12.91 kB / 369.2 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.417e-05/0.4481, allocations: 16 kB / 369.2 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.4488, allocations: 123.7 kB / 369.3 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.425e-05/0.4488, allocations: 23.92 kB / 369.3 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.4491, allocations: 71.23 kB / 369.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.4492, allocations: 44 kB / 369.5 MB, free: 6.797 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.000372/0.4496, allocations: 241.4 kB / 369.7 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.4497, allocations: 11.8 kB / 369.7 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.4497, allocations: 9.875 kB / 369.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4497, allocations: 0 / 369.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4497, allocations: 0 / 369.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4497, allocations: 3.938 kB / 369.7 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.45, allocations: 197.7 kB / 369.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.45, allocations: 3.938 kB / 369.9 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.211e-05/0.45, allocations: 8 kB / 369.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.45, allocations: 0 / 369.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.45, allocations: 0 / 369.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.45, allocations: 7.938 kB / 369.9 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.45, allocations: 0 / 369.9 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.4513, allocations: 0.6148 MB / 370.5 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.4514, allocations: 100.8 kB / 370.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.4514, allocations: 0 / 370.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.4514, allocations: 4.031 kB / 370.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.4515, allocations: 0 / 370.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.4515, allocations: 4 kB / 370.7 MB, free: 5.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.367e-05/0.4515, allocations: 75.28 kB / 370.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4515, allocations: 0 / 370.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000683/0.4522, allocations: 91.98 kB / 370.8 MB, free: 5.336 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.0007185/0.453, allocations: 262.3 kB / 371.1 MB, free: 5.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.454, allocations: 460.2 kB / 371.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.454, allocations: 3.938 kB / 371.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.4543, allocations: 160.4 kB / 371.7 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.4544, allocations: 9.453 kB / 371.7 MB, free: 4.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007941/0.4552, allocations: 452.2 kB / 372.1 MB, free: 4.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.4556, allocations: 0.7453 MB / 372.9 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.4558, allocations: 43.58 kB / 372.9 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.4559, allocations: 23.44 kB / 372.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.4559, allocations: 0 / 372.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of Templates: time 0.009915/0.4658, allocations: 2.781 MB / 375.7 MB, free: 412 kB / 298.7 MB