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.264/2.264, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.167e-05, allocations: 4 kB / 304.9 MB, free: 5.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3277, allocations: 54.86 MB / 359.8 MB, free: 2.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4528, allocations: 80.42 MB / 440.2 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.453, allocations: 63.97 kB / 440.2 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0176/0.4707, allocations: 4.993 MB / 445.2 MB, free: 11.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.117e-06/0.4707, allocations: 0 / 445.2 MB, free: 11.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.4707, allocations: 4 kB / 445.2 MB, free: 11.59 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.0006533/0.4714, allocations: 482.9 kB / 445.7 MB, free: 11.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4715, allocations: 12.03 kB / 445.7 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.4715, allocations: 21.27 kB / 445.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.4717, allocations: 174.9 kB / 445.9 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.4717, allocations: 16 kB / 445.9 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.4718, allocations: 16 kB / 445.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.472, allocations: 128.3 kB / 446.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.796e-06/0.472, allocations: 0 / 446.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.472, allocations: 7.984 kB / 446.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-06/0.4721, allocations: 0 / 446.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.4722, allocations: 104.3 kB / 446.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.4725, allocations: 226.2 kB / 446.4 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.4727, allocations: 167 kB / 446.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.4729, allocations: 149.8 kB / 446.7 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.4729, allocations: 0 / 446.7 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.4732, allocations: 162 kB / 446.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 2.448e-06/0.4732, allocations: 0 / 446.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.001281/0.4745, allocations: 0.5832 MB / 447.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.4746, allocations: 99.8 kB / 447.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.4747, allocations: 112.8 kB / 447.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.631e-05/0.4748, allocations: 69.67 kB / 447.7 MB, free: 8.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/0.4749, allocations: 163.9 kB / 447.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.4751, allocations: 134.5 kB / 448 MB, free: 8.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.4751, allocations: 20.03 kB / 448 MB, free: 8.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.4754, allocations: 350.8 kB / 448.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.4757, allocations: 177.9 kB / 448.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/0.4765, allocations: 0.5078 MB / 449.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.477, allocations: 274.7 kB / 449.3 MB, free: 7.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.4771, allocations: 4 kB / 449.3 MB, free: 7.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001532/0.4786, allocations: 0.6853 MB / 450 MB, free: 6.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.4787, allocations: 13.75 kB / 450 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.4787, allocations: 12 kB / 450 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.329e-05/0.4788, allocations: 20 kB / 450.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.4792, allocations: 120.5 kB / 450.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.77e-05/0.4793, allocations: 23.92 kB / 450.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.4796, allocations: 67.28 kB / 450.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.4797, allocations: 40 kB / 450.3 MB, free: 6.145 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.0002818/0.48, allocations: 220.5 kB / 450.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.48, allocations: 15.8 kB / 450.5 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.4801, allocations: 5.656 kB / 450.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4801, allocations: 0 / 450.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.786e-06/0.4801, allocations: 4 kB / 450.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.656e-06/0.4801, allocations: 4.625 kB / 450.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.4804, allocations: 189.8 kB / 450.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.4804, allocations: 0 / 450.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.4804, allocations: 7.938 kB / 450.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4804, allocations: 2.5 kB / 450.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.4804, allocations: 4 kB / 450.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.801e-06/0.4804, allocations: 0 / 450.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.052e-06/0.4805, allocations: 3.984 kB / 450.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.4817, allocations: 0.6109 MB / 451.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.4818, allocations: 96.8 kB / 451.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.4819, allocations: 4 kB / 451.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.497e-05/0.4819, allocations: 3.984 kB / 451.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.4819, allocations: 3.984 kB / 451.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.172e-06/0.4819, allocations: 1.031 kB / 451.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.482, allocations: 75.28 kB / 451.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.482, allocations: 0 / 451.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008018/0.4828, allocations: 111.9 kB / 451.7 MB, free: 4.695 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.0007674/0.4836, allocations: 288.3 kB / 451.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009892/0.4846, allocations: 437.1 kB / 452.4 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.57e-06/0.4846, allocations: 4 kB / 452.4 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.4849, allocations: 164.3 kB / 452.5 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.485, allocations: 8.984 kB / 452.5 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.4857, allocations: 376.1 kB / 452.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.4862, allocations: 0.7376 MB / 453.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.4862, allocations: 23.44 kB / 453.7 MB, free: 2.676 MB / 378.7 MB Notification: Performance of SimCode: time 1.792e-06/0.4862, allocations: 0 / 453.7 MB, free: 2.676 MB / 378.7 MB Notification: Performance of Templates: time 0.008342/0.4946, allocations: 3.978 MB / 457.7 MB, free: 14.7 MB / 394.7 MB