Min_number = ( 0 ) ; Max_number = ( 5 )
In original model number_of_states = ( 23 ); number_of_transition = ( 46 ) 

Original Transition
0 --- 1  -> (x)
0 --- 4  -> ((-1)*x+(1))
1 --- 2  -> (p11)
1 --- 21  -> ((-1)*p11+(1))
2 --- 7  -> (p21)
2 --- 19  -> ((-1)*p21+(1))
3 --- 6  -> (p31)
3 --- 17  -> ((-1)*p31+(1))
4 --- 8  -> (p41)
4 --- 15  -> ((-1)*p41+(1))
5 --- 6  -> (p51)
5 --- 13  -> ((-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 --- 10  -> (p62)
11 --- 12  -> ((-1)*p62+(1))
12 --- 9  -> ((-1)*p63+(1))
12 --- 10  -> (p63)
13 --- 6  -> (p52)
13 --- 14  -> ((-1)*p52+(1))
14 --- 6  -> (p53)
14 --- 9  -> ((-1)*p53+(1))
15 --- 8  -> (p42)
15 --- 16  -> ((-1)*p42+(1))
16 --- 8  -> (p43)
16 --- 9  -> ((-1)*p43+(1))
17 --- 6  -> (p32)
17 --- 18  -> ((-1)*p32+(1))
18 --- 6  -> (p33)
18 --- 9  -> ((-1)*p33+(1))
19 --- 7  -> (p22)
19 --- 20  -> ((-1)*p22+(1))
20 --- 7  -> (p23)
20 --- 9  -> ((-1)*p23+(1))
21 --- 2  -> (p12)
21 --- 22  -> ((-1)*p12+(1))
22 --- 2  -> (p13)
22 --- 9  -> ((-1)*p13+(1))


In New Model number of states = ( 32 ); number of transition = ( 57 ) 

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


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

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

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

This is transition in Fragment (3) 

This is transition in Fragment (4) 
    [8, 8]  ( ((-1)*z1-z2+(1)) ) * ( (p41) )
    [8, 26]  (z2)
    [8, 27]  ( (z1) ) * ( (p51) )
    [8, 29]  ( ((-1)*z1-z2+(1)) ) * ( ((-1)*p41+(1)) )
    [8, 30]  ( (z1) ) * ( ((-1)*p51+(1)) )
    [26, 26]  1
    [27, 27]  1
    [29, 29]  1
    [30, 30]  1

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

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

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

This is transition in Fragment (8) 
    [17, 18]  ((-1)*p32+(1))
    [17, 31]  (p32)
    [18, 18]  1
    [31, 31]  1

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

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

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

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

This is transition for abstract model 
    [3, 6]  ( (p31) ) * ( prob_f1_s3 )
    [3, 17]  ( ((-1)*p31+(1)) ) * ( prob_f1_s3 )
    [4, 8]  ( (p41) ) * ( prob_f1_s4 )
    [4, 15]  ( ((-1)*p41+(1)) ) * ( prob_f1_s4 )
    [5, 6]  ( (p51) ) * ( prob_f1_s5 )
    [5, 13]  ( ((-1)*p51+(1)) ) * ( prob_f1_s5 )
    [9, 9]  (1)
    [10, 0]  (1)
    [11, 10]  ( (p62) ) * ( prob_f2_s11 )
    [11, 12]  ( ((-1)*p62+(1)) ) * ( prob_f2_s11 )
    [12, 9]  ((-1)*p63+(1))
    [12, 10]  (p63)
    [13, 14]  ((-1)*p52+(1))
    [14, 6]  (p53)
    [14, 9]  ((-1)*p53+(1))
    [15, 8]  (p42)
    [15, 16]  ((-1)*p42+(1))
    [16, 8]  (p43)
    [16, 9]  ((-1)*p43+(1))
    [18, 6]  ( (p33) ) * ( prob_f8_s18 )
    [18, 9]  ( ((-1)*p33+(1)) ) * ( prob_f8_s18 )
    [23, 9]  ( 1 ) * ( prob_f1_s23 )
    [24, 9]  ( 1 ) * ( prob_f1_s24 )
    [25, 10]  ( 1 ) * ( prob_f2_s25 )
    [26, 0]  ( 1 ) * ( prob_f4_s26 )
    [27, 6]  ( 1 ) * ( prob_f4_s27 )
    [13, 28]  (p52)
    [28, 6]  1
    [29, 15]  ( 1 ) * ( prob_f4_s29 )
    [30, 13]  ( 1 ) * ( prob_f4_s30 )
    [31, 6]  ( 1 ) * ( prob_f8_s31 )
****************************The expressions start from here; Copying following expressions to MATLAB; Providing values for the parameters needed; Checking the result of <Output_abstract_model> ******
P1_0_1 = ((x)); 
P1_0_2 = (((-1)*x+(1))); 
P1_1_3 = ((p11)); 
P1_1_4 = (((-1)*p11+(1))); 
P1_2_5 = ((p21)); 
P1_2_6 = (((-1)*p21+(1))); 
P1_7_7 = ((y2)); 
P1_7_8 = (((-1)*y1-y2+(1))); 
P1_7_9 = ((y1)); 
P1_19_10 = ((p22)); 
P1_19_11 = (((-1)*p22+(1))); 
P1_20_12 = ((p23)); 
P1_20_16 = (((-1)*p23+(1))); 
P1_21_13 = ((p12)); 
P1_21_14 = (((-1)*p12+(1))); 
P1_22_15 = ((p13)); 
P1_22_17 = (((-1)*p13+(1))); 

prob_f1_s3  =( (-1 * ((P1_0_1) * (P1_1_4*P1_2_6*P1_21_14*P1_7_8*P1_19_11*P1_22_15*P1_20_12+P1_1_4*P1_2_5*P1_21_13*P1_7_8+P1_1_4*P1_2_6*P1_21_13*P1_7_8*P1_19_11*P1_20_12+P1_1_4*P1_2_6*P1_21_14*P1_7_8*P1_19_10*P1_22_15+P1_1_4*P1_2_5*P1_21_14*P1_7_8*P1_22_15+P1_1_3*P1_2_6*P1_7_8*P1_19_11*P1_20_12+P1_1_3*P1_2_5*P1_7_8+P1_1_3*P1_2_6*P1_7_8*P1_19_10+P1_1_4*P1_2_6*P1_21_13*P1_7_8*P1_19_10)))/(P1_1_4*P1_2_6*P1_21_14*P1_7_7*P1_19_11*P1_22_15*P1_20_12+P1_1_3*P1_2_5*P1_7_7+P1_1_3*P1_2_6*P1_7_7*P1_19_11*P1_20_12+P1_1_4*P1_2_6*P1_21_13*P1_7_7*P1_19_10+P1_1_4*P1_2_5*P1_21_13*P1_7_7+P1_1_4*P1_2_6*P1_21_13*P1_7_7*P1_19_11*P1_20_12+P1_1_4*P1_2_6*P1_21_14*P1_7_7*P1_19_10*P1_22_15+P1_1_4*P1_2_5*P1_21_14*P1_7_7*P1_22_15+P1_1_3*P1_2_6*P1_7_7*P1_19_10+(-1))); 
prob_f1_s4  =( (P1_0_2)/(1)); 
prob_f1_s5  =( (-1 * ((P1_0_1) * (P1_1_4*P1_2_6*P1_21_14*P1_7_9*P1_19_11*P1_22_15*P1_20_12+P1_1_4*P1_2_5*P1_21_13*P1_7_9+P1_1_4*P1_2_6*P1_21_13*P1_7_9*P1_19_11*P1_20_12+P1_1_4*P1_2_6*P1_21_14*P1_7_9*P1_19_10*P1_22_15+P1_1_4*P1_2_5*P1_21_14*P1_7_9*P1_22_15+P1_1_3*P1_2_6*P1_7_9*P1_19_11*P1_20_12+P1_1_3*P1_2_5*P1_7_9+P1_1_3*P1_2_6*P1_7_9*P1_19_10+P1_1_4*P1_2_6*P1_21_13*P1_7_9*P1_19_10)))/(P1_1_4*P1_2_6*P1_21_14*P1_7_7*P1_19_11*P1_22_15*P1_20_12+P1_1_3*P1_2_5*P1_7_7+P1_1_3*P1_2_6*P1_7_7*P1_19_11*P1_20_12+P1_1_4*P1_2_6*P1_21_13*P1_7_7*P1_19_10+P1_1_4*P1_2_5*P1_21_13*P1_7_7+P1_1_4*P1_2_6*P1_21_13*P1_7_7*P1_19_11*P1_20_12+P1_1_4*P1_2_6*P1_21_14*P1_7_7*P1_19_10*P1_22_15+P1_1_4*P1_2_5*P1_21_14*P1_7_7*P1_22_15+P1_1_3*P1_2_6*P1_7_7*P1_19_10+(-1))); 
prob_f1_s23  =( (-1 * ((P1_0_1) * (P1_1_4*P1_2_6*P1_21_14*P1_19_11*P1_22_15*P1_20_16+P1_1_3*P1_2_6*P1_19_11*P1_20_16+P1_1_4*P1_2_6*P1_21_13*P1_19_11*P1_20_16)))/(P1_1_4*P1_2_6*P1_21_14*P1_7_7*P1_19_11*P1_22_15*P1_20_12+P1_1_3*P1_2_5*P1_7_7+P1_1_3*P1_2_6*P1_7_7*P1_19_11*P1_20_12+P1_1_4*P1_2_6*P1_21_13*P1_7_7*P1_19_10+P1_1_4*P1_2_5*P1_21_13*P1_7_7+P1_1_4*P1_2_6*P1_21_13*P1_7_7*P1_19_11*P1_20_12+P1_1_4*P1_2_6*P1_21_14*P1_7_7*P1_19_10*P1_22_15+P1_1_4*P1_2_5*P1_21_14*P1_7_7*P1_22_15+P1_1_3*P1_2_6*P1_7_7*P1_19_10+(-1))); 
prob_f1_s24  =( (-1 * ((P1_0_1) * (P1_1_4*P1_21_14*P1_22_17)))/(P1_1_4*P1_2_6*P1_21_14*P1_7_7*P1_19_11*P1_22_15*P1_20_12+P1_1_3*P1_2_5*P1_7_7+P1_1_3*P1_2_6*P1_7_7*P1_19_11*P1_20_12+P1_1_4*P1_2_6*P1_21_13*P1_7_7*P1_19_10+P1_1_4*P1_2_5*P1_21_13*P1_7_7+P1_1_4*P1_2_6*P1_21_13*P1_7_7*P1_19_11*P1_20_12+P1_1_4*P1_2_6*P1_21_14*P1_7_7*P1_19_10*P1_22_15+P1_1_4*P1_2_5*P1_21_14*P1_7_7*P1_22_15+P1_1_3*P1_2_6*P1_7_7*P1_19_10+(-1))); 
P2_6_1 = (((-1)*p61+(1))); 
P2_6_2 = ((p61)); 

prob_f2_s11  =( (P2_6_1)/(1)); 
prob_f2_s25  =( (P2_6_2)/(1)); 
P4_8_1 = (( ((-1)*z1-z2+(1)) ) * ( (p41) )); 
P4_8_2 = ((z2)); 
P4_8_3 = (( (z1) ) * ( (p51) )); 
P4_8_4 = (( ((-1)*z1-z2+(1)) ) * ( ((-1)*p41+(1)) )); 
P4_8_5 = (( (z1) ) * ( ((-1)*p51+(1)) )); 

prob_f4_s26  =( (-1 * (P4_8_2))/(P4_8_1+(-1))); 
prob_f4_s27  =( (-1 * (P4_8_3))/(P4_8_1+(-1))); 
prob_f4_s29  =( (-1 * (P4_8_4))/(P4_8_1+(-1))); 
prob_f4_s30  =( (-1 * (P4_8_5))/(P4_8_1+(-1))); 
P8_17_1 = (((-1)*p32+(1))); 
P8_17_2 = ((p32)); 

prob_f8_s18  =( (P8_17_1)/(1)); 
prob_f8_s31  =( (P8_17_2)/(1)); 
PX_0_1 = ( ( (p31) ) * ( prob_f1_s3 ) + ( (p51) ) * ( prob_f1_s5 ) ); 
PX_0_2 = (( ((-1)*p31+(1)) ) * ( prob_f1_s3 ));
PX_0_3 = (( (p41) ) * ( prob_f1_s4 ));
PX_0_4 = (( ((-1)*p41+(1)) ) * ( prob_f1_s4 ));
PX_0_5 = (( ((-1)*p51+(1)) ) * ( prob_f1_s5 ));
PX_0_21 = ( ( 1 ) * ( prob_f1_s23 ) + ( 1 ) * ( prob_f1_s24 ) );
PX_1_8 = ( ( (p62) ) * ( prob_f2_s11 ) + ( 1 ) * ( prob_f2_s25 ) ); 
PX_1_9 = (( ((-1)*p62+(1)) ) * ( prob_f2_s11 ));
PX_3_22 = (( 1 ) * ( prob_f4_s26 )); 
PX_3_23 = (( 1 ) * ( prob_f4_s27 ));
PX_3_26 = (( 1 ) * ( prob_f4_s29 ));
PX_3_27 = (( 1 ) * ( prob_f4_s30 ));
PX_4_10 = (((-1)*p63+(1))); 
PX_4_11 = ((p63));
PX_5_13 = ((p53)); 
PX_5_14 = (((-1)*p53+(1)));
PX_6_17 = ((p43)); 
PX_6_18 = (((-1)*p43+(1)));
PX_7_19 = ( ( (p33) ) * ( prob_f8_s18 ) + ( 1 ) * ( prob_f8_s31 ) ); 
PX_7_20 = (( ((-1)*p33+(1)) ) * ( prob_f8_s18 ));
PX_8_25 = (1); 
PX_9_6 = ((1)); 
PX_10_7 = ((1)); 
PX_11_12 = (((-1)*p52+(1))); 
PX_11_24 = ((p52));
PX_12_15 = ((p42)); 
PX_12_16 = (((-1)*p42+(1)));

Output_abstract_model =( (PX_0_5*PX_1_9*PX_3_26*PX_12_16*PX_11_12*PX_4_11*PX_6_17*PX_5_13+PX_0_2*PX_1_9*PX_7_19*PX_3_26*PX_12_16*PX_4_11*PX_6_17+(-1)*PX_0_2*PX_1_9*PX_7_19*PX_4_11+PX_0_5*PX_1_8*PX_3_26*PX_12_16*PX_11_24*PX_6_17+(-1)*PX_0_1*PX_1_9*PX_4_11+PX_0_1*PX_1_9*PX_3_26*PX_12_15*PX_4_11+(-1)*PX_0_4*PX_1_8*PX_3_27*PX_12_15*PX_11_24+PX_0_1*PX_1_9*PX_3_26*PX_12_16*PX_4_11*PX_6_17+PX_0_5*PX_1_8*PX_3_26*PX_12_15*PX_11_24+(-1)*PX_0_4*PX_1_8*PX_3_23*PX_12_15+(-1)*PX_0_5*PX_1_9*PX_11_24*PX_4_11+PX_0_5*PX_1_9*PX_3_26*PX_12_15*PX_11_24*PX_4_11+(-1)*PX_0_4*PX_1_8*PX_3_27*PX_12_15*PX_11_12*PX_5_13+PX_0_5*PX_1_9*PX_3_26*PX_12_16*PX_11_24*PX_4_11*PX_6_17+(-1)*PX_0_3*PX_1_8*PX_3_23+(-1)*PX_0_4*PX_1_9*PX_3_27*PX_12_15*PX_11_24*PX_4_11+(-1)*PX_0_5*PX_1_8*PX_11_12*PX_5_13+PX_0_5*PX_1_8*PX_3_26*PX_12_15*PX_11_12*PX_5_13+(-1)*PX_0_4*PX_1_9*PX_3_23*PX_12_15*PX_4_11+PX_0_5*PX_1_8*PX_3_26*PX_12_16*PX_11_12*PX_6_17*PX_5_13+(-1)*PX_0_3*PX_1_8*PX_3_27*PX_11_24+(-1)*PX_0_4*PX_1_9*PX_3_27*PX_12_15*PX_11_12*PX_4_11*PX_5_13+(-1)*PX_0_2*PX_1_8*PX_7_19+PX_0_2*PX_1_8*PX_7_19*PX_3_26*PX_12_15+(-1)*PX_0_4*PX_1_8*PX_3_27*PX_12_16*PX_11_24*PX_6_17+PX_0_2*PX_1_8*PX_7_19*PX_3_26*PX_12_16*PX_6_17+(-1)*PX_0_3*PX_1_9*PX_3_23*PX_4_11+(-1)*PX_0_4*PX_1_8*PX_3_23*PX_12_16*PX_6_17+(-1)*PX_0_1*PX_1_8+PX_0_1*PX_1_8*PX_3_26*PX_12_15+(-1)*PX_0_4*PX_1_8*PX_3_27*PX_12_16*PX_11_12*PX_6_17*PX_5_13+PX_0_1*PX_1_8*PX_3_26*PX_12_16*PX_6_17+(-1)*PX_0_3*PX_1_8*PX_3_27*PX_11_12*PX_5_13+(-1)*PX_0_4*PX_1_9*PX_3_27*PX_12_16*PX_11_24*PX_4_11*PX_6_17+(-1)*PX_0_5*PX_1_9*PX_11_12*PX_4_11*PX_5_13+PX_0_5*PX_1_9*PX_3_26*PX_12_15*PX_11_12*PX_4_11*PX_5_13+(-1)*PX_0_4*PX_1_9*PX_3_23*PX_12_16*PX_4_11*PX_6_17+PX_0_2*PX_1_9*PX_7_19*PX_3_26*PX_12_15*PX_4_11+(-1)*PX_0_3*PX_1_9*PX_3_27*PX_11_24*PX_4_11+(-1)*PX_0_5*PX_1_8*PX_11_24+(-1)*PX_0_3*PX_1_9*PX_3_27*PX_11_12*PX_4_11*PX_5_13+(-1)*PX_0_4*PX_1_9*PX_3_27*PX_12_16*PX_11_12*PX_4_11*PX_6_17*PX_5_13)/(PX_0_4*PX_3_22*PX_12_16*PX_6_17+PX_0_3*PX_3_22+PX_3_26*PX_12_16*PX_6_17+PX_0_4*PX_3_22*PX_12_15+PX_3_26*PX_12_15+(-1))); 
