Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 270 MB / 283.6 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.162e-05/6.187e-05, allocations: 7.984 kB / 348.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.38, allocations: 61.86 MB / 410.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.513, allocations: 86.48 MB / 496.7 MB, free: 4.145 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.5132, allocations: 59.97 kB / 496.8 MB, free: 4.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0204/0.5336, allocations: 5.781 MB / 0.4908 GB, free: 14.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.279e-06/0.5337, allocations: 0 / 0.4908 GB, free: 14.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.5337, allocations: 4 kB / 0.4908 GB, free: 14.3 MB / 426.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.0006223/0.5344, allocations: 471 kB / 0.4913 GB, free: 13.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5344, allocations: 16.03 kB / 0.4913 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.5345, allocations: 19.72 kB / 0.4913 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.5346, allocations: 178.9 kB / 0.4915 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.5347, allocations: 8 kB / 0.4915 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.5347, allocations: 27.95 kB / 0.4915 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.5349, allocations: 128.3 kB / 0.4916 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.588e-06/0.535, allocations: 0 / 0.4916 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-06/0.535, allocations: 0 / 0.4916 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-06/0.535, allocations: 0 / 0.4916 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.5351, allocations: 96.34 kB / 0.4917 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.5354, allocations: 230.2 kB / 0.4919 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.5356, allocations: 163 kB / 0.4921 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.5358, allocations: 149.7 kB / 0.4922 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.388e-06/0.5359, allocations: 4 kB / 0.4922 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.5361, allocations: 161.9 kB / 0.4924 GB, free: 12.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=54): time 2.735e-06/0.5361, allocations: 4 kB / 0.4924 GB, free: 12.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=54): time 0.001247/0.5374, allocations: 0.5754 MB / 0.493 GB, free: 11.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.5375, allocations: 111.7 kB / 0.4931 GB, free: 11.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.5376, allocations: 113.6 kB / 0.4932 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.702e-05/0.5377, allocations: 73.67 kB / 0.4932 GB, free: 11.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.5378, allocations: 89.45 kB / 0.4933 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.538, allocations: 126.6 kB / 0.4934 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.538, allocations: 16 kB / 0.4935 GB, free: 11.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.5382, allocations: 346.8 kB / 0.4938 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.5386, allocations: 178 kB / 0.494 GB, free: 10.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006869/0.5393, allocations: 0.516 MB / 0.4945 GB, free: 10.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.5399, allocations: 267.6 kB / 0.4947 GB, free: 9.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.5399, allocations: 4 kB / 0.4947 GB, free: 9.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001513/0.5414, allocations: 0.6892 MB / 0.4954 GB, free: 9.211 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.5415, allocations: 11.98 kB / 0.4954 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.5415, allocations: 19.95 kB / 0.4954 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-05/0.5416, allocations: 27.97 kB / 0.4955 GB, free: 9.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.542, allocations: 115.7 kB / 0.4956 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.669e-05/0.5421, allocations: 23.94 kB / 0.4956 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.5424, allocations: 63.42 kB / 0.4957 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/0.5425, allocations: 40 kB / 0.4957 GB, free: 8.914 MB / 426.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.0002722/0.5428, allocations: 216.6 kB / 0.4959 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.5428, allocations: 19.7 kB / 0.4959 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.5429, allocations: 5.656 kB / 0.4959 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.428e-06/0.5429, allocations: 3.953 kB / 0.4959 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.304e-06/0.5429, allocations: 0 / 0.4959 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.723e-06/0.5429, allocations: 3.938 kB / 0.4959 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.5431, allocations: 197.8 kB / 0.4961 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5431, allocations: 4 kB / 0.4961 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.088e-06/0.5432, allocations: 3.938 kB / 0.4961 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.782e-06/0.5432, allocations: 0 / 0.4961 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-06/0.5432, allocations: 0 / 0.4961 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.901e-06/0.5432, allocations: 4 kB / 0.4961 GB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.974e-06/0.5432, allocations: 3.953 kB / 0.4961 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.5445, allocations: 0.607 MB / 0.4967 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.5446, allocations: 92.86 kB / 0.4968 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.5446, allocations: 4.031 kB / 0.4968 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.51e-05/0.5446, allocations: 4 kB / 0.4968 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.5447, allocations: 3.953 kB / 0.4968 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.39e-06/0.5447, allocations: 0 / 0.4968 GB, free: 7.648 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.258e-05/0.5447, allocations: 75.28 kB / 0.4969 GB, free: 7.574 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.59e-07/0.5447, allocations: 0 / 0.4969 GB, free: 7.574 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007471/0.5455, allocations: 115.9 kB / 0.497 GB, free: 7.461 MB / 426.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.0007873/0.5463, allocations: 305.9 kB / 0.4973 GB, free: 7.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008541/0.5472, allocations: 440.8 kB / 0.4977 GB, free: 6.777 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.814e-06/0.5472, allocations: 0 / 0.4977 GB, free: 6.777 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.5474, allocations: 161.4 kB / 0.4979 GB, free: 6.621 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.5475, allocations: 0 / 0.4979 GB, free: 6.621 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.5482, allocations: 344.5 kB / 0.4982 GB, free: 6.262 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.5486, allocations: 0.7376 MB / 0.4989 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.5488, allocations: 43.36 kB / 0.499 GB, free: 5.453 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.5488, allocations: 23.44 kB / 0.499 GB, free: 5.434 MB / 426.7 MB Notification: Performance of SimCode: time 1.447e-06/0.5488, allocations: 0 / 0.499 GB, free: 5.434 MB / 426.7 MB Notification: Performance of Templates: time 0.008989/0.5578, allocations: 3.09 MB / 0.502 GB, free: 2.344 MB / 426.7 MB