Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers") Notification: Performance of loadModel(ModelicaTest): time 2.486/2.486, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.202e-05/5.226e-05, allocations: 7.938 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1561, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4125/0.5686, allocations: 86.47 MB / 496.7 MB, free: 1.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.5689, allocations: 68.67 kB / 496.8 MB, free: 1.613 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0197/0.5886, allocations: 5.774 MB / 0.4908 GB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.887e-06/0.5886, allocations: 0 / 0.4908 GB, free: 11.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.5887, allocations: 4 kB / 0.4908 GB, free: 11.84 MB / 410.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.0006329/0.5893, allocations: 471 kB / 0.4912 GB, free: 11.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5894, allocations: 8.031 kB / 0.4913 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.5894, allocations: 23.72 kB / 0.4913 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.5896, allocations: 174.9 kB / 0.4914 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.5896, allocations: 16 kB / 0.4915 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.5897, allocations: 19.95 kB / 0.4915 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.5899, allocations: 136.2 kB / 0.4916 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.023e-06/0.59, allocations: 0 / 0.4916 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-06/0.59, allocations: 0 / 0.4916 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-06/0.59, allocations: 0 / 0.4916 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.5901, allocations: 96.41 kB / 0.4917 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.5904, allocations: 222.2 kB / 0.4919 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.5906, allocations: 163 kB / 0.4921 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.5908, allocations: 157.7 kB / 0.4922 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.5909, allocations: 0 / 0.4922 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.5911, allocations: 169.9 kB / 0.4924 GB, free: 10.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=54): time 2.597e-06/0.5911, allocations: 4 kB / 0.4924 GB, free: 10.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.001266/0.5924, allocations: 0.5716 MB / 0.4929 GB, free: 9.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5925, allocations: 107.8 kB / 0.493 GB, free: 9.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.5926, allocations: 116.7 kB / 0.4932 GB, free: 9.227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.941e-05/0.5928, allocations: 73.61 kB / 0.4932 GB, free: 9.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.5928, allocations: 98.25 kB / 0.4933 GB, free: 9.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.593, allocations: 126.6 kB / 0.4934 GB, free: 8.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.5931, allocations: 16 kB / 0.4935 GB, free: 8.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.5933, allocations: 346.8 kB / 0.4938 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.5937, allocations: 177.9 kB / 0.494 GB, free: 8.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006899/0.5944, allocations: 0.516 MB / 0.4945 GB, free: 7.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.595, allocations: 271.7 kB / 0.4947 GB, free: 7.441 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.595, allocations: 4 kB / 0.4947 GB, free: 7.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001513/0.5965, allocations: 0.6845 MB / 0.4954 GB, free: 6.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.5966, allocations: 10.66 kB / 0.4954 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.5966, allocations: 16.83 kB / 0.4954 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.163e-05/0.5966, allocations: 20 kB / 0.4954 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.5971, allocations: 123.7 kB / 0.4956 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.766e-05/0.5972, allocations: 31.8 kB / 0.4956 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.5975, allocations: 59.44 kB / 0.4956 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.125e-05/0.5976, allocations: 40 kB / 0.4957 GB, free: 6.453 MB / 410.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.000282/0.5979, allocations: 220.6 kB / 0.4959 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.5979, allocations: 11.72 kB / 0.4959 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.598, allocations: 9.594 kB / 0.4959 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.505e-06/0.598, allocations: 3.953 kB / 0.4959 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.421e-06/0.598, allocations: 4 kB / 0.4959 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.442e-06/0.598, allocations: 0 / 0.4959 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.5982, allocations: 193.8 kB / 0.4961 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-06/0.5983, allocations: 0 / 0.4961 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-06/0.5983, allocations: 4 kB / 0.4961 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5983, allocations: 0 / 0.4961 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5983, allocations: 4 kB / 0.4961 GB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.208e-06/0.5983, allocations: 0 / 0.4961 GB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.034e-06/0.5983, allocations: 3.953 kB / 0.4961 GB, free: 5.945 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.5996, allocations: 0.607 MB / 0.4967 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.5997, allocations: 92.86 kB / 0.4968 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.5997, allocations: 4 kB / 0.4968 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.5998, allocations: 4.031 kB / 0.4968 GB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.5998, allocations: 7.953 kB / 0.4968 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-06/0.5998, allocations: 0 / 0.4968 GB, free: 5.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.655e-05/0.5999, allocations: 75.28 kB / 0.4969 GB, free: 5.121 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.44e-07/0.5999, allocations: 0 / 0.4969 GB, free: 5.121 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007587/0.6006, allocations: 115.9 kB / 0.497 GB, free: 5.008 MB / 410.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.0007741/0.6014, allocations: 302.6 kB / 0.4973 GB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008886/0.6023, allocations: 445 kB / 0.4977 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6024, allocations: 0 / 0.4977 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.6026, allocations: 160.4 kB / 0.4979 GB, free: 4.148 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.6027, allocations: 7.938 kB / 0.4979 GB, free: 4.141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.6033, allocations: 349 kB / 0.4982 GB, free: 3.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.6038, allocations: 0.7338 MB / 0.4989 GB, free: 3.016 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.6039, allocations: 47.36 kB / 0.499 GB, free: 2.969 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.604, allocations: 19.44 kB / 0.499 GB, free: 2.953 MB / 410.7 MB Notification: Performance of SimCode: time 1.62e-06/0.604, allocations: 0 / 0.499 GB, free: 2.953 MB / 410.7 MB Notification: Performance of Templates: time 0.00927/0.6133, allocations: 3.08 MB / 0.502 GB, free: 15.87 MB / 426.7 MB