Min_number = ( 0 ) ; Max_number = ( 5 )
In original model number_of_states = ( 17 ); number_of_transition = ( 34 ) 

Original Transition
0 --- 1  -> (x)
0 --- 4  -> ((-1)*x+(1))
1 --- 2  -> (p11)
1 --- 16  -> ((-1)*p11+(1))
2 --- 7  -> (p21)
2 --- 15  -> ((-1)*p21+(1))
3 --- 6  -> (p31)
3 --- 14  -> ((-1)*p31+(1))
4 --- 8  -> (p41)
4 --- 13  -> ((-1)*p41+(1))
5 --- 6  -> (p51)
5 --- 12  -> ((-1)*p51+(1))
6 --- 10  -> (p61)
6 --- 11  -> ((-1)*p61+(1))
7 --- 1  -> (y2)
7 --- 3  -> ((-1)*y1-y2+(1))
7 --- 5  -> (y1)
8 --- 0  -> (z2)
8 --- 4  -> ((-1)*z1-z2+(1))
8 --- 5  -> (z1)
9 --- 9  -> (1)
10 --- 0  -> (1)
11 --- 9  -> ((-1)*p62+(1))
11 --- 10  -> (p62)
12 --- 6  -> (p52)
12 --- 9  -> ((-1)*p52+(1))
13 --- 8  -> (p42)
13 --- 9  -> ((-1)*p42+(1))
14 --- 6  -> (p32)
14 --- 9  -> ((-1)*p32+(1))
15 --- 7  -> (p22)
15 --- 9  -> ((-1)*p22+(1))
16 --- 2  -> (p12)
16 --- 9  -> ((-1)*p12+(1))


In New Model number of states = ( 26 ); number of transition = ( 43 ) 

New transition
0 --- 1  -> (x)
1 --- 2  -> (p11)
1 --- 16  -> ((-1)*p11+(1))
2 --- 7  -> (p21)
2 --- 15  -> ((-1)*p21+(1))
24 --- 6  -> (p31)
24 --- 14  -> ((-1)*p31+(1))
4 --- 8  -> (p41)
4 --- 13  -> ((-1)*p41+(1))
5 --- 6  -> (p51)
5 --- 12  -> ((-1)*p51+(1))
6 --- 11  -> ((-1)*p61+(1))
7 --- 1  -> (y2)
7 --- 3  -> ((-1)*y1-y2+(1))
8 --- 0  -> (z2)
8 --- 4  -> ((-1)*z1-z2+(1))
8 --- 5  -> (z1)
9 --- 9  -> (1)
10 --- 0  -> (1)
25 --- 9  -> ((-1)*p62+(1))
25 --- 10  -> (p62)
12 --- 6  -> (p52)
12 --- 9  -> ((-1)*p52+(1))
13 --- 8  -> (p42)
13 --- 9  -> ((-1)*p42+(1))
14 --- 6  -> (p32)
14 --- 9  -> ((-1)*p32+(1))
15 --- 7  -> (p22)
16 --- 2  -> (p12)
17 --- 9  -> 1
18 --- 9  -> 1
0 --- 19  -> ((-1)*x+(1))
19 --- 4  -> 1
7 --- 20  -> (y1)
20 --- 5  -> 1
16 --- 21  -> ((-1)*p12+(1))
21 --- 17  -> 1
15 --- 22  -> ((-1)*p22+(1))
22 --- 18  -> 1
6 --- 23  -> (p61)
23 --- 10  -> 1
3 --- 24  -> 1
11 --- 25  -> 1


State--Fragment Number--visited--startingPoint--endingPoint
   0          2          true        true          false
   1          2          true        false          false
   2          2          true        false          false
   3          2          true        false          false
   4          10          true        true          true
   5          11          true        true          true
   6          3          true        true          false
   7          2          true        false          false
   8          4          true        true          true
   9          12          true        true          true
   10          13          true        true          true
   11          3          true        false          false
   12          5          true        true          true
   13          6          true        true          true
   14          7          true        true          true
   15          2          true        false          false
   16          2          true        false          false
   17          8          true        true          true
   18          9          true        true          true
   19          2          true        false          true
   20          2          true        false          true
   21          2          true        false          true
   22          2          true        false          true
   23          3          true        false          true
   24          2          true        false          true
   25          3          true        false          true

This is transition in Fragment (1) 

This is transition in Fragment (2) 
    [0, 1]  (x)
    [1, 2]  (p11)
    [1, 16]  ((-1)*p11+(1))
    [2, 7]  (p21)
    [2, 15]  ((-1)*p21+(1))
    [7, 1]  (y2)
    [7, 3]  ((-1)*y1-y2+(1))
    [15, 7]  (p22)
    [16, 2]  (p12)
    [0, 19]  ((-1)*x+(1))
    [7, 20]  (y1)
    [16, 21]  ((-1)*p12+(1))
    [15, 22]  ((-1)*p22+(1))
    [3, 24]  1
    [19, 19]  1
    [20, 20]  1
    [21, 21]  1
    [22, 22]  1
    [24, 24]  1

This is transition in Fragment (3) 
    [6, 11]  ((-1)*p61+(1))
    [6, 23]  (p61)
    [11, 25]  1
    [23, 23]  1
    [25, 25]  1

This is transition in Fragment (4) 
    [8, 8]  1

This is transition in Fragment (5) 
    [12, 12]  1

This is transition in Fragment (6) 
    [13, 13]  1

This is transition in Fragment (7) 
    [14, 14]  1

This is transition in Fragment (8) 
    [17, 17]  1

This is transition in Fragment (9) 
    [18, 18]  1

This is transition in Fragment (10) 
    [4, 4]  1

This is transition in Fragment (11) 
    [5, 5]  1

This is transition in Fragment (12) 
    [9, 9]  1

This is transition for abstract model 
    [24, 6]  ( (p31) ) * ( prob_f2_s24 )
    [24, 14]  ( ((-1)*p31+(1)) ) * ( prob_f2_s24 )
    [4, 8]  (p41)
    [4, 13]  ((-1)*p41+(1))
    [5, 6]  (p51)
    [5, 12]  ((-1)*p51+(1))
    [8, 0]  (z2)
    [8, 4]  ((-1)*z1-z2+(1))
    [8, 5]  (z1)
    [9, 9]  (1)
    [10, 0]  (1)
    [25, 9]  ( ((-1)*p62+(1)) ) * ( prob_f3_s25 )
    [25, 10]  ( (p62) ) * ( prob_f3_s25 )
    [12, 6]  (p52)
    [12, 9]  ((-1)*p52+(1))
    [13, 8]  (p42)
    [13, 9]  ((-1)*p42+(1))
    [14, 6]  (p32)
    [14, 9]  ((-1)*p32+(1))
    [17, 9]  1
    [18, 9]  1
    [19, 4]  ( 1 ) * ( prob_f2_s19 )
    [20, 5]  ( 1 ) * ( prob_f2_s20 )
    [21, 17]  ( 1 ) * ( prob_f2_s21 )
    [22, 18]  ( 1 ) * ( prob_f2_s22 )
    [23, 10]  ( 1 ) * ( prob_f3_s23 )
****************************The expressions start from here; Copying following expressions to MATLAB; Providing values for the parameters needed; Checking the result of <Output_abstract_model> ******
P2_0_1 = ((x)); 
P2_0_10 = (((-1)*x+(1))); 
P2_1_2 = ((p11)); 
P2_1_3 = (((-1)*p11+(1))); 
P2_2_4 = ((p21)); 
P2_2_5 = (((-1)*p21+(1))); 
P2_3_14 = (1); 
P2_7_6 = ((y2)); 
P2_7_7 = (((-1)*y1-y2+(1))); 
P2_7_11 = ((y1)); 
P2_15_8 = ((p22)); 
P2_15_13 = (((-1)*p22+(1))); 
P2_16_9 = ((p12)); 
P2_16_12 = (((-1)*p12+(1))); 

prob_f2_s19  =( (P2_0_10)/(1)); 
prob_f2_s20  =( (-1 * ((P2_0_1) * (P2_1_3*P2_2_5*P2_16_9*P2_7_11*P2_15_8+P2_1_2*P2_2_5*P2_7_11*P2_15_8+P2_1_2*P2_2_4*P2_7_11+P2_1_3*P2_2_4*P2_16_9*P2_7_11)))/(P2_1_3*P2_2_5*P2_16_9*P2_7_6*P2_15_8+P2_1_2*P2_2_5*P2_7_6*P2_15_8+P2_1_3*P2_2_4*P2_16_9*P2_7_6+P2_1_2*P2_2_4*P2_7_6+(-1))); 
prob_f2_s21  =( (-1 * ((P2_0_1) * (P2_1_3*P2_16_12)))/(P2_1_3*P2_2_5*P2_16_9*P2_7_6*P2_15_8+P2_1_2*P2_2_5*P2_7_6*P2_15_8+P2_1_3*P2_2_4*P2_16_9*P2_7_6+P2_1_2*P2_2_4*P2_7_6+(-1))); 
prob_f2_s22  =( (-1 * ((P2_0_1) * (P2_1_3*P2_2_5*P2_16_9*P2_15_13+P2_1_2*P2_2_5*P2_15_13)))/(P2_1_3*P2_2_5*P2_16_9*P2_7_6*P2_15_8+P2_1_2*P2_2_5*P2_7_6*P2_15_8+P2_1_3*P2_2_4*P2_16_9*P2_7_6+P2_1_2*P2_2_4*P2_7_6+(-1))); 
prob_f2_s24  =( (-1 * ((P2_0_1) * (P2_1_3*P2_2_5*P2_16_9*P2_7_7*P2_15_8+P2_1_2*P2_2_5*P2_7_7*P2_15_8+P2_1_2*P2_2_4*P2_7_7+P2_1_3*P2_2_4*P2_16_9*P2_7_7)))/(P2_1_3*P2_2_5*P2_16_9*P2_7_6*P2_15_8+P2_1_2*P2_2_5*P2_7_6*P2_15_8+P2_1_3*P2_2_4*P2_16_9*P2_7_6+P2_1_2*P2_2_4*P2_7_6+(-1))); 
P2_0_1 = ((x)); 
P2_0_10 = (((-1)*x+(1))); 
P2_1_2 = ((p11)); 
P2_1_3 = (((-1)*p11+(1))); 
P2_2_4 = ((p21)); 
P2_2_5 = (((-1)*p21+(1))); 
P2_3_14 = (1); 
P2_7_6 = ((y2)); 
P2_7_7 = (((-1)*y1-y2+(1))); 
P2_7_11 = ((y1)); 
P2_15_8 = ((p22)); 
P2_15_13 = (((-1)*p22+(1))); 
P2_16_9 = ((p12)); 
P2_16_12 = (((-1)*p12+(1))); 

ab1 =( (-1 * ((P2_0_1) * (P2_1_3*P2_2_5*P2_16_9*P2_7_7*P2_15_8*t31+P2_1_2*P2_2_5*t22+P2_1_2*P2_2_4*P2_7_7*t31+P2_1_3*t21*P2_16_9+P2_1_2*P2_2_5*P2_7_7*P2_15_8*t31+P2_1_3*P2_2_5*P2_16_9*t22+P2_1_3*P2_2_4*P2_16_9*P2_7_7*t31+t11+P2_1_2*t21+P2_1_3*t12)))/(P2_1_3*P2_2_5*P2_16_9*P2_7_6*P2_15_8+P2_1_2*P2_2_5*P2_7_6*P2_15_8+P2_1_3*P2_2_4*P2_16_9*P2_7_6+P2_1_2*P2_2_4*P2_7_6+(-1))); 
P3_6_1 = (((-1)*p61+(1))); 
P3_6_2 = ((p61)); 
P3_11_3 = (1); 

prob_f3_s23  =( (P3_6_2)/(1)); 
prob_f3_s25  =( (P3_6_1)/(1)); 
P3_6_1 = (((-1)*p61+(1))); 
P3_6_2 = ((p61)); 
P3_11_3 = (1); 

ab2 =( (P3_6_1*t62+t61)/(1)); 
PX_1_1 = (( (p31) ) * ( prob_f2_s24 )); 
PX_1_2 = (( ((-1)*p31+(1)) ) * ( prob_f2_s24 ));
PX_1_22 = (( 1 ) * ( prob_f2_s19 ));
PX_1_23 = (( 1 ) * ( prob_f2_s20 ));
PX_1_24 = (( 1 ) * ( prob_f2_s21 ));
PX_1_25 = (( 1 ) * ( prob_f2_s22 ));
PX_2_12 = (( ((-1)*p62+(1)) ) * ( prob_f3_s25 )); 
PX_2_13 = ( ( (p62) ) * ( prob_f3_s25 ) + ( 1 ) * ( prob_f3_s23 ) );
PX_3_7 = ((z2)); 
PX_3_8 = (((-1)*z1-z2+(1)));
PX_3_9 = ((z1));
PX_4_14 = ((p52)); 
PX_4_15 = (((-1)*p52+(1)));
PX_5_16 = ((p42)); 
PX_5_17 = (((-1)*p42+(1)));
PX_6_18 = ((p32)); 
PX_6_19 = (((-1)*p32+(1)));
PX_7_20 = (1); 
PX_8_21 = (1); 
PX_9_3 = ((p41)); 
PX_9_4 = (((-1)*p41+(1)));
PX_10_5 = ((p51)); 
PX_10_6 = (((-1)*p51+(1)));
PX_11_10 = ((1)); 
PX_12_11 = ((1)); 

Output_abstract_model =( (PX_1_23*ab2*PX_9_4*PX_10_6*PX_3_8*PX_5_16*PX_4_14+PX_1_23*PX_9_3*t51*PX_3_8+PX_1_2*t32*PX_9_3*PX_3_8+ab1*PX_9_3*PX_3_8+PX_1_1*ab2*PX_9_3*PX_3_8+PX_1_2*ab2*PX_6_18*PX_9_3*PX_3_8+PX_1_23*PX_9_3*PX_10_6*PX_3_8*t52+PX_1_23*ab2*PX_9_3*PX_10_5*PX_3_8+PX_1_23*ab2*PX_9_3*PX_10_6*PX_3_8*PX_4_14+(-1)*PX_1_23*ab2*PX_10_5+(-1)*PX_1_23*PX_10_6*t52+(-1)*PX_1_2*ab2*PX_6_18+(-1)*PX_1_1*ab2+(-1)*ab1+(-1)*PX_1_2*t32+(-1)*PX_1_22*PX_9_4*PX_10_6*PX_3_9*PX_5_16*t52+(-1)*PX_1_22*ab2*PX_9_4*PX_10_5*PX_3_9*PX_5_16+PX_1_23*PX_9_4*t51*PX_3_8*PX_5_16+PX_1_2*t32*PX_9_4*PX_3_8*PX_5_16+ab1*PX_9_4*PX_3_8*PX_5_16+PX_1_1*ab2*PX_9_4*PX_3_8*PX_5_16+PX_1_2*ab2*PX_6_18*PX_9_4*PX_3_8*PX_5_16+PX_1_23*PX_9_4*PX_10_6*PX_3_8*PX_5_16*t52+PX_1_23*ab2*PX_9_4*PX_10_5*PX_3_8*PX_5_16+(-1)*PX_1_23*ab2*PX_10_6*PX_4_14+(-1)*PX_1_22*PX_9_4*t51*PX_3_9*PX_5_16+(-1)*PX_1_22*ab2*PX_9_4*PX_10_6*PX_3_9*PX_5_16*PX_4_14+(-1)*PX_1_22*ab2*PX_9_3*PX_10_6*PX_3_9*PX_4_14+(-1)*PX_1_22*PX_9_4*t42+(-1)*PX_1_22*PX_9_3*t51*PX_3_9+(-1)*PX_1_22*ab2*PX_9_3*PX_10_5*PX_3_9+(-1)*PX_1_22*PX_9_3*PX_10_6*PX_3_9*t52+(-1)*PX_1_23*t51+(-1)*PX_1_22*t41)/(PX_1_22*PX_9_4*PX_3_7*PX_5_16+PX_9_4*PX_3_8*PX_5_16+PX_1_22*PX_9_3*PX_3_7+PX_9_3*PX_3_8+(-1))); 
