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.293/2.293, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.336e-05, allocations: 0.9375 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4479, allocations: 54.84 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.5712, allocations: 80.43 MB / 440.2 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.5714, allocations: 64.72 kB / 440.3 MB, free: 476 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.5885, allocations: 5.003 MB / 445.3 MB, free: 11.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.982e-06/0.5885, allocations: 0 / 445.3 MB, free: 11.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.5885, allocations: 4 kB / 445.3 MB, free: 11.48 MB / 378.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.0006031/0.5892, allocations: 478.9 kB / 445.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.5892, allocations: 8.031 kB / 445.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.5893, allocations: 23.77 kB / 445.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.5894, allocations: 170.9 kB / 445.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.5895, allocations: 20 kB / 446 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.5895, allocations: 24 kB / 446 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.5897, allocations: 124.3 kB / 446.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.821e-06/0.5898, allocations: 0 / 446.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5898, allocations: 0 / 446.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.5898, allocations: 7.891 kB / 446.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.5899, allocations: 92.41 kB / 446.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.5902, allocations: 230.2 kB / 446.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.5904, allocations: 167 kB / 446.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.5906, allocations: 153.7 kB / 446.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.959e-06/0.5907, allocations: 0 / 446.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.5909, allocations: 162.9 kB / 446.9 MB, free: 9.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 2.44e-06/0.5909, allocations: 0 / 446.9 MB, free: 9.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.001238/0.5922, allocations: 0.5754 MB / 447.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.5923, allocations: 107.8 kB / 447.6 MB, free: 8.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.5924, allocations: 116.8 kB / 447.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.002e-05/0.5925, allocations: 69.69 kB / 447.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.5926, allocations: 89.45 kB / 447.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.5927, allocations: 138.5 kB / 448 MB, free: 8.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.5928, allocations: 16 kB / 448 MB, free: 8.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.593, allocations: 346.8 kB / 448.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.5934, allocations: 170.9 kB / 448.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.5941, allocations: 0.5195 MB / 449 MB, free: 7.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.5946, allocations: 268.1 kB / 449.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.5947, allocations: 4 kB / 449.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001436/0.5961, allocations: 0.6886 MB / 450 MB, free: 6.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.5961, allocations: 12 kB / 450 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.5962, allocations: 12 kB / 450 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-05/0.5962, allocations: 20 kB / 450 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.5967, allocations: 111.7 kB / 450.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-05/0.5967, allocations: 24.45 kB / 450.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.597, allocations: 67.94 kB / 450.2 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/0.5971, allocations: 51.95 kB / 450.3 MB, free: 6.102 MB / 378.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.0002613/0.5974, allocations: 216.6 kB / 450.5 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.5974, allocations: 15.81 kB / 450.5 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.5975, allocations: 5.656 kB / 450.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.161e-06/0.5975, allocations: 0 / 450.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5975, allocations: 1.594 kB / 450.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.5975, allocations: 3.984 kB / 450.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.5977, allocations: 189.8 kB / 450.7 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5978, allocations: 9.125 kB / 450.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-06/0.5978, allocations: 0 / 450.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.969e-06/0.5978, allocations: 0 / 450.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.903e-06/0.5978, allocations: 3.984 kB / 450.7 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.16e-06/0.5978, allocations: 4 kB / 450.7 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.686e-06/0.5978, allocations: 0 / 450.7 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.5991, allocations: 0.6109 MB / 451.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.5992, allocations: 96.8 kB / 451.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.5992, allocations: 3.984 kB / 451.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.303e-05/0.5992, allocations: 3.125 kB / 451.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.5993, allocations: 0 / 451.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.5993, allocations: 4.031 kB / 451.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.445e-05/0.5993, allocations: 83.28 kB / 451.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.33e-07/0.5994, allocations: 0 / 451.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006902/0.6001, allocations: 108.9 kB / 451.6 MB, free: 4.66 MB / 378.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.0007262/0.6008, allocations: 297.1 kB / 451.9 MB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008337/0.6016, allocations: 433.8 kB / 452.3 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.84e-06/0.6017, allocations: 3.938 kB / 452.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.6019, allocations: 156.5 kB / 452.5 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.602, allocations: 9.359 kB / 452.5 MB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/0.6026, allocations: 337.6 kB / 452.8 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.6031, allocations: 0.7415 MB / 453.6 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.6032, allocations: 39.44 kB / 453.6 MB, free: 2.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.6033, allocations: 23.44 kB / 453.6 MB, free: 2.641 MB / 378.7 MB Notification: Performance of SimCode: time 1.48e-06/0.6033, allocations: 0 / 453.6 MB, free: 2.641 MB / 378.7 MB Notification: Performance of Templates: time 0.008765/0.6121, allocations: 3.029 MB / 456.7 MB, free: 15.61 MB / 394.7 MB