#define rand pan_rand #if defined(HAS_CODE) && defined(VERBOSE) cpu_printf("Pr: %d Tr: %d\n", II, t->forw); #endif switch (t->forw) { default: Uerror("bad forward move"); case 0: /* if without executable clauses */ continue; case 1: /* generic 'goto' or 'skip' */ IfNotBlocked _m = 3; goto P999; case 2: /* generic 'else' */ IfNotBlocked if (trpt->o_pm&1) continue; _m = 3; goto P999; /* CLAIM p5 */ case 3: /* STATE 1 - _spin_nvr.tmp:3 - [((!(!(invariantPrecond))&&!(!(isPsystemStep))))] (0:0:0 - 1) */ #if defined(VERI) && !defined(NP) #if NCLAIMS>1 { static int reported1 = 0; int nn = (int) ((Pclaim *)this)->_n; if (verbose && !reported1) { printf("depth %ld: Claim %s (%d), state %d (line %d)\n", depth, procname[spin_c_typ[nn]], nn, (int) ((Pclaim *)this)->_p, src_claim[ (int) ((Pclaim *)this)->_p ]); reported1 = 1; fflush(stdout); } } #else { static int reported1 = 0; if (verbose && !reported1) { printf("depth %d: Claim, state %d (line %d)\n", (int) depth, (int) ((Pclaim *)this)->_p, src_claim[ (int) ((Pclaim *)this)->_p ]); reported1 = 1; fflush(stdout); } } #endif #endif reached[5][1] = 1; if (!(( !( !(((int)now.invariantPrecond)))&& !( !(((int)now.isPsystemStep)))))) continue; _m = 3; goto P999; /* 0 */ case 4: /* STATE 7 - _spin_nvr.tmp:8 - [(!((invariantPostcond&&isPsystemStep)))] (0:0:0 - 1) */ #if defined(VERI) && !defined(NP) #if NCLAIMS>1 { static int reported7 = 0; int nn = (int) ((Pclaim *)this)->_n; if (verbose && !reported7) { printf("depth %ld: Claim %s (%d), state %d (line %d)\n", depth, procname[spin_c_typ[nn]], nn, (int) ((Pclaim *)this)->_p, src_claim[ (int) ((Pclaim *)this)->_p ]); reported7 = 1; fflush(stdout); } } #else { static int reported7 = 0; if (verbose && !reported7) { printf("depth %d: Claim, state %d (line %d)\n", (int) depth, (int) ((Pclaim *)this)->_p, src_claim[ (int) ((Pclaim *)this)->_p ]); reported7 = 1; fflush(stdout); } } #endif #endif reached[5][7] = 1; if (!( !((((int)now.invariantPostcond)&&((int)now.isPsystemStep))))) continue; _m = 3; goto P999; /* 0 */ case 5: /* STATE 9 - _spin_nvr.tmp:9 - [((!(!(isPsystemStep))&&!((invariantPostcond&&isPsystemStep))))] (0:0:0 - 1) */ #if defined(VERI) && !defined(NP) #if NCLAIMS>1 { static int reported9 = 0; int nn = (int) ((Pclaim *)this)->_n; if (verbose && !reported9) { printf("depth %ld: Claim %s (%d), state %d (line %d)\n", depth, procname[spin_c_typ[nn]], nn, (int) ((Pclaim *)this)->_p, src_claim[ (int) ((Pclaim *)this)->_p ]); reported9 = 1; fflush(stdout); } } #else { static int reported9 = 0; if (verbose && !reported9) { printf("depth %d: Claim, state %d (line %d)\n", (int) depth, (int) ((Pclaim *)this)->_p, src_claim[ (int) ((Pclaim *)this)->_p ]); reported9 = 1; fflush(stdout); } } #endif #endif reached[5][9] = 1; if (!(( !( !(((int)now.isPsystemStep)))&& !((((int)now.invariantPostcond)&&((int)now.isPsystemStep)))))) continue; _m = 3; goto P999; /* 0 */ case 6: /* STATE 14 - _spin_nvr.tmp:13 - [-end-] (0:0:0 - 1) */ #if defined(VERI) && !defined(NP) #if NCLAIMS>1 { static int reported14 = 0; int nn = (int) ((Pclaim *)this)->_n; if (verbose && !reported14) { printf("depth %ld: Claim %s (%d), state %d (line %d)\n", depth, procname[spin_c_typ[nn]], nn, (int) ((Pclaim *)this)->_p, src_claim[ (int) ((Pclaim *)this)->_p ]); reported14 = 1; fflush(stdout); } } #else { static int reported14 = 0; if (verbose && !reported14) { printf("depth %d: Claim, state %d (line %d)\n", (int) depth, (int) ((Pclaim *)this)->_p, src_claim[ (int) ((Pclaim *)this)->_p ]); reported14 = 1; fflush(stdout); } } #endif #endif reached[5][14] = 1; if (!delproc(1, II)) continue; _m = 3; goto P999; /* 0 */ /* PROC :init: */ case 7: /* STATE 1 - SubsetSum.pml:787 - [ms[0].type = 0] (0:0:1 - 1) */ IfNotBlocked reached[4][1] = 1; (trpt+1)->bup.oval = ((int)now.ms[0].type); now.ms[0].type = 0; #ifdef VAR_RANGES logval("ms[0].type", ((int)now.ms[0].type)); #endif ; _m = 3; goto P999; /* 0 */ case 8: /* STATE 2 - SubsetSum.pml:788 - [ms[0].x[3] = 5] (0:0:1 - 1) */ IfNotBlocked reached[4][2] = 1; (trpt+1)->bup.oval = now.ms[0].x[3]; now.ms[0].x[3] = 5; #ifdef VAR_RANGES logval("ms[0].x[3]", now.ms[0].x[3]); #endif ; _m = 3; goto P999; /* 0 */ case 9: /* STATE 3 - SubsetSum.pml:789 - [ms[0].x[5] = 8] (0:0:1 - 1) */ IfNotBlocked reached[4][3] = 1; (trpt+1)->bup.oval = now.ms[0].x[5]; now.ms[0].x[5] = 8; #ifdef VAR_RANGES logval("ms[0].x[5]", now.ms[0].x[5]); #endif ; _m = 3; goto P999; /* 0 */ case 10: /* STATE 4 - SubsetSum.pml:790 - [ms[0].x[6] = 2] (0:0:1 - 1) */ IfNotBlocked reached[4][4] = 1; (trpt+1)->bup.oval = now.ms[0].x[6]; now.ms[0].x[6] = 2; #ifdef VAR_RANGES logval("ms[0].x[6]", now.ms[0].x[6]); #endif ; _m = 3; goto P999; /* 0 */ case 11: /* STATE 5 - SubsetSum.pml:791 - [ms[0].x[7] = 3] (0:0:1 - 1) */ IfNotBlocked reached[4][5] = 1; (trpt+1)->bup.oval = now.ms[0].x[7]; now.ms[0].x[7] = 3; #ifdef VAR_RANGES logval("ms[0].x[7]", now.ms[0].x[7]); #endif ; _m = 3; goto P999; /* 0 */ case 12: /* STATE 6 - SubsetSum.pml:792 - [ms[0].x[9] = 11] (0:0:1 - 1) */ IfNotBlocked reached[4][6] = 1; (trpt+1)->bup.oval = now.ms[0].x[9]; now.ms[0].x[9] = 11; #ifdef VAR_RANGES logval("ms[0].x[9]", now.ms[0].x[9]); #endif ; _m = 3; goto P999; /* 0 */ case 13: /* STATE 7 - SubsetSum.pml:793 - [ms[0].x[10] = 14] (0:0:1 - 1) */ IfNotBlocked reached[4][7] = 1; (trpt+1)->bup.oval = now.ms[0].x[10]; now.ms[0].x[10] = 14; #ifdef VAR_RANGES logval("ms[0].x[10]", now.ms[0].x[10]); #endif ; _m = 3; goto P999; /* 0 */ case 14: /* STATE 8 - SubsetSum.pml:794 - [ms[0].x[13] = 9] (0:0:1 - 1) */ IfNotBlocked reached[4][8] = 1; (trpt+1)->bup.oval = now.ms[0].x[13]; now.ms[0].x[13] = 9; #ifdef VAR_RANGES logval("ms[0].x[13]", now.ms[0].x[13]); #endif ; _m = 3; goto P999; /* 0 */ case 15: /* STATE 9 - SubsetSum.pml:795 - [ms[0].x[16] = 10] (0:0:1 - 1) */ IfNotBlocked reached[4][9] = 1; (trpt+1)->bup.oval = now.ms[0].x[16]; now.ms[0].x[16] = 10; #ifdef VAR_RANGES logval("ms[0].x[16]", now.ms[0].x[16]); #endif ; _m = 3; goto P999; /* 0 */ case 16: /* STATE 10 - SubsetSum.pml:796 - [ms[0].x[32] = 1] (0:0:1 - 1) */ IfNotBlocked reached[4][10] = 1; (trpt+1)->bup.oval = now.ms[0].x[32]; now.ms[0].x[32] = 1; #ifdef VAR_RANGES logval("ms[0].x[32]", now.ms[0].x[32]); #endif ; _m = 3; goto P999; /* 0 */ case 17: /* STATE 11 - SubsetSum.pml:797 - [ms[0].x[2] = 19] (0:0:1 - 1) */ IfNotBlocked reached[4][11] = 1; (trpt+1)->bup.oval = now.ms[0].x[2]; now.ms[0].x[2] = 19; #ifdef VAR_RANGES logval("ms[0].x[2]", now.ms[0].x[2]); #endif ; _m = 3; goto P999; /* 0 */ case 18: /* STATE 12 - SubsetSum.pml:798 - [ms[0].x[36] = 25] (0:0:1 - 1) */ IfNotBlocked reached[4][12] = 1; (trpt+1)->bup.oval = now.ms[0].x[36]; now.ms[0].x[36] = 25; #ifdef VAR_RANGES logval("ms[0].x[36]", now.ms[0].x[36]); #endif ; _m = 3; goto P999; /* 0 */ case 19: /* STATE 13 - SubsetSum.pml:801 - [ms[1].type = 1] (0:0:1 - 1) */ IfNotBlocked reached[4][13] = 1; (trpt+1)->bup.oval = ((int)now.ms[1].type); now.ms[1].type = 1; #ifdef VAR_RANGES logval("ms[1].type", ((int)now.ms[1].type)); #endif ; _m = 3; goto P999; /* 0 */ case 20: /* STATE 14 - SubsetSum.pml:802 - [ms[1].x[12] = 1] (0:0:1 - 1) */ IfNotBlocked reached[4][14] = 1; (trpt+1)->bup.oval = now.ms[1].x[12]; now.ms[1].x[12] = 1; #ifdef VAR_RANGES logval("ms[1].x[12]", now.ms[1].x[12]); #endif ; _m = 3; goto P999; /* 0 */ case 21: /* STATE 15 - SubsetSum.pml:805 - [ms[2].type = 2] (0:0:1 - 1) */ IfNotBlocked reached[4][15] = 1; (trpt+1)->bup.oval = ((int)now.ms[2].type); now.ms[2].type = 2; #ifdef VAR_RANGES logval("ms[2].type", ((int)now.ms[2].type)); #endif ; _m = 3; goto P999; /* 0 */ case 22: /* STATE 16 - SubsetSum.pml:808 - [instanceCount = 3] (0:0:1 - 1) */ IfNotBlocked reached[4][16] = 1; (trpt+1)->bup.oval = now.instanceCount; now.instanceCount = 3; #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; _m = 3; goto P999; /* 0 */ case 23: /* STATE 17 - SubsetSum.pml:812 - [(run Scheduler())] (0:0:0 - 1) */ IfNotBlocked reached[4][17] = 1; if (!(addproc(II, 1, 0))) continue; _m = 3; goto P999; /* 0 */ case 24: /* STATE 18 - SubsetSum.pml:813 - [-end-] (0:0:0 - 1) */ IfNotBlocked reached[4][18] = 1; if (!delproc(1, II)) continue; _m = 3; goto P999; /* 0 */ /* PROC M1 */ case 25: /* STATE 1 - SubsetSum.pml:747 - [ms[instanceIndex].isComputing = 1] (0:0:1 - 1) */ IfNotBlocked reached[3][1] = 1; (trpt+1)->bup.oval = ((int)now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].isComputing); now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].isComputing = 1; #ifdef VAR_RANGES logval("ms[M1:instanceIndex].isComputing", ((int)now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].isComputing)); #endif ; _m = 3; goto P999; /* 0 */ case 26: /* STATE 2 - SubsetSum.pml:751 - [r1 = 0] (0:8:2 - 1) */ IfNotBlocked reached[3][2] = 1; (trpt+1)->bup.ovals = grab_ints(2); (trpt+1)->bup.ovals[0] = ((int)((P3 *)this)->_7_r1); ((P3 *)this)->_7_r1 = 0; #ifdef VAR_RANGES logval("M1:r1", ((int)((P3 *)this)->_7_r1)); #endif ; /* merge: r2 = 0(8, 3, 8) */ reached[3][3] = 1; (trpt+1)->bup.ovals[1] = ((int)((P3 *)this)->_7_r2); ((P3 *)this)->_7_r2 = 0; #ifdef VAR_RANGES logval("M1:r2", ((int)((P3 *)this)->_7_r2)); #endif ; _m = 3; goto P999; /* 1 */ case 27: /* STATE 4 - SubsetSum.pml:753 - [((ms[instanceIndex].x[4]>=1))] (0:0:0 - 1) */ IfNotBlocked reached[3][4] = 1; if (!((now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].x[4]>=1))) continue; _m = 3; goto P999; /* 0 */ case 28: /* STATE 5 - SubsetSum.pml:753 - [r1 = 1] (0:0:1 - 1) */ IfNotBlocked reached[3][5] = 1; (trpt+1)->bup.oval = ((int)((P3 *)this)->_7_r1); ((P3 *)this)->_7_r1 = 1; #ifdef VAR_RANGES logval("M1:r1", ((int)((P3 *)this)->_7_r1)); #endif ; _m = 3; goto P999; /* 0 */ case 29: /* STATE 10 - SubsetSum.pml:757 - [(((ms[instanceIndex].x[0]>=1)&&(ms[instanceIndex].x[4]<1)))] (0:0:0 - 1) */ IfNotBlocked reached[3][10] = 1; if (!(((now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].x[0]>=1)&&(now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].x[4]<1)))) continue; _m = 3; goto P999; /* 0 */ case 30: /* STATE 11 - SubsetSum.pml:757 - [r2 = 1] (0:0:1 - 1) */ IfNotBlocked reached[3][11] = 1; (trpt+1)->bup.oval = ((int)((P3 *)this)->_7_r2); ((P3 *)this)->_7_r2 = 1; #ifdef VAR_RANGES logval("M1:r2", ((int)((P3 *)this)->_7_r2)); #endif ; _m = 3; goto P999; /* 0 */ case 31: /* STATE 16 - SubsetSum.pml:764 - [((r1&&(ms[instanceIndex].x[12]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[3][16] = 1; if (!((((int)((P3 *)this)->_7_r1)&&(now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].x[12]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 32: /* STATE 37 - SubsetSum.pml:766 - [D_STEP] */ IfNotBlocked sv_save(); reached[3][37] = 1; reached[3][t->st] = 1; reached[3][tt] = 1; S_1252_0: /* 2 */ S_1251_0: /* 2 */ now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].x[12] = (now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].x[12]-1); #ifdef VAR_RANGES logval("ms[M1:instanceIndex].x[12]", now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].x[12]); #endif ; goto S_1268_0; S_1268_0: /* 2 */ S_1253_0: /* 2 */ ((P3 *)this)->_7_31_97_i = 0; #ifdef VAR_RANGES logval("M1:i", ((P3 *)this)->_7_31_97_i); #endif ; S_1266_0: /* 2 */ S_1265_0: /* 2 */ S_1254_0: /* 2 */ if (!((((P3 *)this)->_7_31_97_i<=(now.instanceCount-1)))) goto S_1265_1; S_1260_0: /* 2 */ S_1255_0: /* 2 */ if (!((((int)now.ms[ Index(((P3 *)this)->_7_31_97_i, 2050) ].type)==2))) goto S_1260_1; S_1257_0: /* 2 */ S_1256_0: /* 2 */ now.ms[ Index(((P3 *)this)->_7_31_97_i, 2050) ].x_temp[25] = (now.ms[ Index(((P3 *)this)->_7_31_97_i, 2050) ].x_temp[25]+1); #ifdef VAR_RANGES logval("ms[M1:i].x_temp[25]", now.ms[ Index(((P3 *)this)->_7_31_97_i, 2050) ].x_temp[25]); #endif ; goto S_1261_0; S_1260_1: /* 3 */ S_1258_0: /* 2 */ /* else */; S_1259_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1261_0; S_1260_2: /* 3 */ Uerror("blocking sel in d_step (nr.0, near line 305)"); S_1261_0: /* 2 */ S_1262_0: /* 2 */ ((P3 *)this)->_7_31_97_i = (((P3 *)this)->_7_31_97_i+1); #ifdef VAR_RANGES logval("M1:i", ((P3 *)this)->_7_31_97_i); #endif ; goto S_1266_0; /* ';' */ S_1265_1: /* 3 */ S_1263_0: /* 2 */ /* else */; S_1264_0: /* 2 */ goto S_1267_0; /* 'goto' */ S_1265_2: /* 3 */ Uerror("blocking sel in d_step (nr.1, near line 310)"); S_1267_0: /* 2 */ goto S_1269_0; /* 'break' */ S_1269_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1296_0; S_1296_0: /* 1 */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 33: /* STATE 38 - SubsetSum.pml:771 - [((r2&&(ms[instanceIndex].x[12]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[3][38] = 1; if (!((((int)((P3 *)this)->_7_r2)&&(now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].x[12]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 34: /* STATE 59 - SubsetSum.pml:773 - [D_STEP] */ IfNotBlocked sv_save(); reached[3][59] = 1; reached[3][t->st] = 1; reached[3][tt] = 1; S_1274_0: /* 2 */ S_1273_0: /* 2 */ now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].x[12] = (now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].x[12]-1); #ifdef VAR_RANGES logval("ms[M1:instanceIndex].x[12]", now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].x[12]); #endif ; goto S_1290_0; S_1290_0: /* 2 */ S_1275_0: /* 2 */ ((P3 *)this)->_7_32_99_i = 0; #ifdef VAR_RANGES logval("M1:i", ((P3 *)this)->_7_32_99_i); #endif ; S_1288_0: /* 2 */ S_1287_0: /* 2 */ S_1276_0: /* 2 */ if (!((((P3 *)this)->_7_32_99_i<=(now.instanceCount-1)))) goto S_1287_1; S_1282_0: /* 2 */ S_1277_0: /* 2 */ if (!((((int)now.ms[ Index(((P3 *)this)->_7_32_99_i, 2050) ].type)==2))) goto S_1282_1; S_1279_0: /* 2 */ S_1278_0: /* 2 */ now.ms[ Index(((P3 *)this)->_7_32_99_i, 2050) ].x_temp[1] = (now.ms[ Index(((P3 *)this)->_7_32_99_i, 2050) ].x_temp[1]+1); #ifdef VAR_RANGES logval("ms[M1:i].x_temp[1]", now.ms[ Index(((P3 *)this)->_7_32_99_i, 2050) ].x_temp[1]); #endif ; goto S_1283_0; S_1282_1: /* 3 */ S_1280_0: /* 2 */ /* else */; S_1281_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1283_0; S_1282_2: /* 3 */ Uerror("blocking sel in d_step (nr.2, near line 305)"); S_1283_0: /* 2 */ S_1284_0: /* 2 */ ((P3 *)this)->_7_32_99_i = (((P3 *)this)->_7_32_99_i+1); #ifdef VAR_RANGES logval("M1:i", ((P3 *)this)->_7_32_99_i); #endif ; goto S_1288_0; /* ';' */ S_1287_1: /* 3 */ S_1285_0: /* 2 */ /* else */; S_1286_0: /* 2 */ goto S_1289_0; /* 'goto' */ S_1287_2: /* 3 */ Uerror("blocking sel in d_step (nr.3, near line 310)"); S_1289_0: /* 2 */ goto S_1291_0; /* 'break' */ S_1291_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1296_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 35: /* STATE 65 - SubsetSum.pml:782 - [ms[instanceIndex].isComputing = 0] (0:0:1 - 3) */ IfNotBlocked reached[3][65] = 1; (trpt+1)->bup.oval = ((int)now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].isComputing); now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].isComputing = 0; #ifdef VAR_RANGES logval("ms[M1:instanceIndex].isComputing", ((int)now.ms[ Index(((P3 *)this)->instanceIndex, 2050) ].isComputing)); #endif ; _m = 3; goto P999; /* 0 */ case 36: /* STATE 66 - SubsetSum.pml:783 - [-end-] (0:0:0 - 1) */ IfNotBlocked reached[3][66] = 1; if (!delproc(1, II)) continue; _m = 3; goto P999; /* 0 */ /* PROC M0 */ case 37: /* STATE 1 - SubsetSum.pml:476 - [ms[instanceIndex].isComputing = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][1] = 1; (trpt+1)->bup.oval = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isComputing); now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isComputing = 1; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isComputing", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isComputing)); #endif ; _m = 3; goto P999; /* 0 */ case 38: /* STATE 2 - SubsetSum.pml:480 - [r1 = 0] (0:29:23 - 1) */ IfNotBlocked reached[2][2] = 1; (trpt+1)->bup.ovals = grab_ints(23); (trpt+1)->bup.ovals[0] = ((int)((P2 *)this)->_6_r1); ((P2 *)this)->_6_r1 = 0; #ifdef VAR_RANGES logval("M0:r1", ((int)((P2 *)this)->_6_r1)); #endif ; /* merge: r2 = 1(29, 3, 29) */ reached[2][3] = 1; (trpt+1)->bup.ovals[1] = ((int)((P2 *)this)->_6_r2); ((P2 *)this)->_6_r2 = 1; #ifdef VAR_RANGES logval("M0:r2", ((int)((P2 *)this)->_6_r2)); #endif ; /* merge: r3 = 1(29, 4, 29) */ reached[2][4] = 1; (trpt+1)->bup.ovals[2] = ((int)((P2 *)this)->_6_r3); ((P2 *)this)->_6_r3 = 1; #ifdef VAR_RANGES logval("M0:r3", ((int)((P2 *)this)->_6_r3)); #endif ; /* merge: r4 = 0(29, 5, 29) */ reached[2][5] = 1; (trpt+1)->bup.ovals[3] = ((int)((P2 *)this)->_6_r4); ((P2 *)this)->_6_r4 = 0; #ifdef VAR_RANGES logval("M0:r4", ((int)((P2 *)this)->_6_r4)); #endif ; /* merge: r5 = 0(29, 6, 29) */ reached[2][6] = 1; (trpt+1)->bup.ovals[4] = ((int)((P2 *)this)->_6_r5); ((P2 *)this)->_6_r5 = 0; #ifdef VAR_RANGES logval("M0:r5", ((int)((P2 *)this)->_6_r5)); #endif ; /* merge: r6 = 1(29, 7, 29) */ reached[2][7] = 1; (trpt+1)->bup.ovals[5] = ((int)((P2 *)this)->_6_r6); ((P2 *)this)->_6_r6 = 1; #ifdef VAR_RANGES logval("M0:r6", ((int)((P2 *)this)->_6_r6)); #endif ; /* merge: r7 = 0(29, 8, 29) */ reached[2][8] = 1; (trpt+1)->bup.ovals[6] = ((int)((P2 *)this)->_6_r7); ((P2 *)this)->_6_r7 = 0; #ifdef VAR_RANGES logval("M0:r7", ((int)((P2 *)this)->_6_r7)); #endif ; /* merge: r8 = 0(29, 9, 29) */ reached[2][9] = 1; (trpt+1)->bup.ovals[7] = ((int)((P2 *)this)->_6_r8); ((P2 *)this)->_6_r8 = 0; #ifdef VAR_RANGES logval("M0:r8", ((int)((P2 *)this)->_6_r8)); #endif ; /* merge: r9 = 0(29, 10, 29) */ reached[2][10] = 1; (trpt+1)->bup.ovals[8] = ((int)((P2 *)this)->_6_r9); ((P2 *)this)->_6_r9 = 0; #ifdef VAR_RANGES logval("M0:r9", ((int)((P2 *)this)->_6_r9)); #endif ; /* merge: r10 = 1(29, 11, 29) */ reached[2][11] = 1; (trpt+1)->bup.ovals[9] = ((int)((P2 *)this)->_6_r10); ((P2 *)this)->_6_r10 = 1; #ifdef VAR_RANGES logval("M0:r10", ((int)((P2 *)this)->_6_r10)); #endif ; /* merge: r11 = 1(29, 12, 29) */ reached[2][12] = 1; (trpt+1)->bup.ovals[10] = ((int)((P2 *)this)->_6_r11); ((P2 *)this)->_6_r11 = 1; #ifdef VAR_RANGES logval("M0:r11", ((int)((P2 *)this)->_6_r11)); #endif ; /* merge: r12 = 0(29, 13, 29) */ reached[2][13] = 1; (trpt+1)->bup.ovals[11] = ((int)((P2 *)this)->_6_r12); ((P2 *)this)->_6_r12 = 0; #ifdef VAR_RANGES logval("M0:r12", ((int)((P2 *)this)->_6_r12)); #endif ; /* merge: r13 = 1(29, 14, 29) */ reached[2][14] = 1; (trpt+1)->bup.ovals[12] = ((int)((P2 *)this)->_6_r13); ((P2 *)this)->_6_r13 = 1; #ifdef VAR_RANGES logval("M0:r13", ((int)((P2 *)this)->_6_r13)); #endif ; /* merge: r14 = 1(29, 15, 29) */ reached[2][15] = 1; (trpt+1)->bup.ovals[13] = ((int)((P2 *)this)->_6_r14); ((P2 *)this)->_6_r14 = 1; #ifdef VAR_RANGES logval("M0:r14", ((int)((P2 *)this)->_6_r14)); #endif ; /* merge: r15 = 0(29, 16, 29) */ reached[2][16] = 1; (trpt+1)->bup.ovals[14] = ((int)((P2 *)this)->_6_r15); ((P2 *)this)->_6_r15 = 0; #ifdef VAR_RANGES logval("M0:r15", ((int)((P2 *)this)->_6_r15)); #endif ; /* merge: r16 = 0(29, 17, 29) */ reached[2][17] = 1; (trpt+1)->bup.ovals[15] = ((int)((P2 *)this)->_6_r16); ((P2 *)this)->_6_r16 = 0; #ifdef VAR_RANGES logval("M0:r16", ((int)((P2 *)this)->_6_r16)); #endif ; /* merge: r17 = 1(29, 18, 29) */ reached[2][18] = 1; (trpt+1)->bup.ovals[16] = ((int)((P2 *)this)->_6_r17); ((P2 *)this)->_6_r17 = 1; #ifdef VAR_RANGES logval("M0:r17", ((int)((P2 *)this)->_6_r17)); #endif ; /* merge: r18 = 0(29, 19, 29) */ reached[2][19] = 1; (trpt+1)->bup.ovals[17] = ((int)((P2 *)this)->_6_r18); ((P2 *)this)->_6_r18 = 0; #ifdef VAR_RANGES logval("M0:r18", ((int)((P2 *)this)->_6_r18)); #endif ; /* merge: r19 = 0(29, 20, 29) */ reached[2][20] = 1; (trpt+1)->bup.ovals[18] = ((int)((P2 *)this)->_6_r19); ((P2 *)this)->_6_r19 = 0; #ifdef VAR_RANGES logval("M0:r19", ((int)((P2 *)this)->_6_r19)); #endif ; /* merge: r20 = 1(29, 21, 29) */ reached[2][21] = 1; (trpt+1)->bup.ovals[19] = ((int)((P2 *)this)->_6_r20); ((P2 *)this)->_6_r20 = 1; #ifdef VAR_RANGES logval("M0:r20", ((int)((P2 *)this)->_6_r20)); #endif ; /* merge: r21 = 1(29, 22, 29) */ reached[2][22] = 1; (trpt+1)->bup.ovals[20] = ((int)((P2 *)this)->_6_r21); ((P2 *)this)->_6_r21 = 1; #ifdef VAR_RANGES logval("M0:r21", ((int)((P2 *)this)->_6_r21)); #endif ; /* merge: r22 = 0(29, 23, 29) */ reached[2][23] = 1; (trpt+1)->bup.ovals[21] = ((int)((P2 *)this)->_6_r22); ((P2 *)this)->_6_r22 = 0; #ifdef VAR_RANGES logval("M0:r22", ((int)((P2 *)this)->_6_r22)); #endif ; /* merge: r23 = 1(29, 24, 29) */ reached[2][24] = 1; (trpt+1)->bup.ovals[22] = ((int)((P2 *)this)->_6_r23); ((P2 *)this)->_6_r23 = 1; #ifdef VAR_RANGES logval("M0:r23", ((int)((P2 *)this)->_6_r23)); #endif ; _m = 3; goto P999; /* 22 */ case 39: /* STATE 25 - SubsetSum.pml:482 - [(((ms[instanceIndex].x[14]==1)&&(ms[instanceIndex].x[23]==1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][25] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[14]==1)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]==1)))) continue; _m = 3; goto P999; /* 0 */ case 40: /* STATE 26 - SubsetSum.pml:482 - [r1 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][26] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r1); ((P2 *)this)->_6_r1 = 1; #ifdef VAR_RANGES logval("M0:r1", ((int)((P2 *)this)->_6_r1)); #endif ; _m = 3; goto P999; /* 0 */ case 41: /* STATE 31 - SubsetSum.pml:486 - [(((ms[instanceIndex].x[28]==6)==0))] (0:0:0 - 1) */ IfNotBlocked reached[2][31] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[28]==6)==0))) continue; _m = 3; goto P999; /* 0 */ case 42: /* STATE 32 - SubsetSum.pml:486 - [r4 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][32] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r4); ((P2 *)this)->_6_r4 = 1; #ifdef VAR_RANGES logval("M0:r4", ((int)((P2 *)this)->_6_r4)); #endif ; _m = 3; goto P999; /* 0 */ case 43: /* STATE 37 - SubsetSum.pml:490 - [(((ms[instanceIndex].x[19]==1)&&(ms[instanceIndex].x[23]==1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][37] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[19]==1)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]==1)))) continue; _m = 3; goto P999; /* 0 */ case 44: /* STATE 38 - SubsetSum.pml:490 - [r5 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][38] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r5); ((P2 *)this)->_6_r5 = 1; #ifdef VAR_RANGES logval("M0:r5", ((int)((P2 *)this)->_6_r5)); #endif ; _m = 3; goto P999; /* 0 */ case 45: /* STATE 43 - SubsetSum.pml:494 - [(((ms[instanceIndex].x[21]==1)&&(ms[instanceIndex].x[23]==1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][43] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[21]==1)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]==1)))) continue; _m = 3; goto P999; /* 0 */ case 46: /* STATE 44 - SubsetSum.pml:494 - [r7 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][44] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r7); ((P2 *)this)->_6_r7 = 1; #ifdef VAR_RANGES logval("M0:r7", ((int)((P2 *)this)->_6_r7)); #endif ; _m = 3; goto P999; /* 0 */ case 47: /* STATE 49 - SubsetSum.pml:498 - [(((ms[instanceIndex].x[18]==1)&&(ms[instanceIndex].x[23]==1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][49] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[18]==1)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]==1)))) continue; _m = 3; goto P999; /* 0 */ case 48: /* STATE 50 - SubsetSum.pml:498 - [r8 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][50] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r8); ((P2 *)this)->_6_r8 = 1; #ifdef VAR_RANGES logval("M0:r8", ((int)((P2 *)this)->_6_r8)); #endif ; _m = 3; goto P999; /* 0 */ case 49: /* STATE 55 - SubsetSum.pml:502 - [(((ms[instanceIndex].x[20]==1)&&(ms[instanceIndex].x[23]==1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][55] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[20]==1)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]==1)))) continue; _m = 3; goto P999; /* 0 */ case 50: /* STATE 56 - SubsetSum.pml:502 - [r9 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][56] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r9); ((P2 *)this)->_6_r9 = 1; #ifdef VAR_RANGES logval("M0:r9", ((int)((P2 *)this)->_6_r9)); #endif ; _m = 3; goto P999; /* 0 */ case 51: /* STATE 61 - SubsetSum.pml:506 - [(((ms[instanceIndex].x[15]==1)&&(ms[instanceIndex].x[23]==1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][61] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[15]==1)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]==1)))) continue; _m = 3; goto P999; /* 0 */ case 52: /* STATE 62 - SubsetSum.pml:506 - [r12 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][62] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r12); ((P2 *)this)->_6_r12 = 1; #ifdef VAR_RANGES logval("M0:r12", ((int)((P2 *)this)->_6_r12)); #endif ; _m = 3; goto P999; /* 0 */ case 53: /* STATE 67 - SubsetSum.pml:510 - [((ms[instanceIndex].x[28]==6))] (0:0:0 - 1) */ IfNotBlocked reached[2][67] = 1; if (!((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[28]==6))) continue; _m = 3; goto P999; /* 0 */ case 54: /* STATE 68 - SubsetSum.pml:510 - [r15 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][68] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r15); ((P2 *)this)->_6_r15 = 1; #ifdef VAR_RANGES logval("M0:r15", ((int)((P2 *)this)->_6_r15)); #endif ; _m = 3; goto P999; /* 0 */ case 55: /* STATE 73 - SubsetSum.pml:514 - [(((ms[instanceIndex].x[17]==1)&&(ms[instanceIndex].x[23]==1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][73] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[17]==1)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]==1)))) continue; _m = 3; goto P999; /* 0 */ case 56: /* STATE 74 - SubsetSum.pml:514 - [r16 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][74] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r16); ((P2 *)this)->_6_r16 = 1; #ifdef VAR_RANGES logval("M0:r16", ((int)((P2 *)this)->_6_r16)); #endif ; _m = 3; goto P999; /* 0 */ case 57: /* STATE 79 - SubsetSum.pml:518 - [(((ms[instanceIndex].x[11]==1)&&(ms[instanceIndex].x[23]==1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][79] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[11]==1)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]==1)))) continue; _m = 3; goto P999; /* 0 */ case 58: /* STATE 80 - SubsetSum.pml:518 - [r18 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][80] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r18); ((P2 *)this)->_6_r18 = 1; #ifdef VAR_RANGES logval("M0:r18", ((int)((P2 *)this)->_6_r18)); #endif ; _m = 3; goto P999; /* 0 */ case 59: /* STATE 85 - SubsetSum.pml:522 - [(((ms[instanceIndex].x[8]==1)&&(ms[instanceIndex].x[23]==1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][85] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[8]==1)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]==1)))) continue; _m = 3; goto P999; /* 0 */ case 60: /* STATE 86 - SubsetSum.pml:522 - [r19 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][86] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r19); ((P2 *)this)->_6_r19 = 1; #ifdef VAR_RANGES logval("M0:r19", ((int)((P2 *)this)->_6_r19)); #endif ; _m = 3; goto P999; /* 0 */ case 61: /* STATE 91 - SubsetSum.pml:526 - [(((ms[instanceIndex].x[30]==1)&&(ms[instanceIndex].x[23]==1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][91] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[30]==1)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]==1)))) continue; _m = 3; goto P999; /* 0 */ case 62: /* STATE 92 - SubsetSum.pml:526 - [r22 = 1] (0:0:1 - 1) */ IfNotBlocked reached[2][92] = 1; (trpt+1)->bup.oval = ((int)((P2 *)this)->_6_r22); ((P2 *)this)->_6_r22 = 1; #ifdef VAR_RANGES logval("M0:r22", ((int)((P2 *)this)->_6_r22)); #endif ; _m = 3; goto P999; /* 0 */ case 63: /* STATE 97 - SubsetSum.pml:533 - [((r1&&(ms[instanceIndex].x[3]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][97] = 1; if (!((((int)((P2 *)this)->_6_r1)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[3]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 64: /* STATE 104 - SubsetSum.pml:535 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][104] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_754_0: /* 2 */ S_753_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[3] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[3]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[3]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[3]); #endif ; goto S_756_0; S_756_0: /* 2 */ S_755_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]+1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x_temp[28]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]); #endif ; goto S_757_0; S_757_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; S_886_0: /* 1 */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 65: /* STATE 105 - SubsetSum.pml:540 - [((r4&&(ms[instanceIndex].x[22]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][105] = 1; if (!((((int)((P2 *)this)->_6_r4)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[22]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 66: /* STATE 126 - SubsetSum.pml:542 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][126] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_762_0: /* 2 */ S_761_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[22] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[22]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[22]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[22]); #endif ; goto S_778_0; S_778_0: /* 2 */ S_763_0: /* 2 */ ((P2 *)this)->_6_9_13_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_9_13_i); #endif ; S_776_0: /* 2 */ S_775_0: /* 2 */ S_764_0: /* 2 */ if (!((((P2 *)this)->_6_9_13_i<=(now.instanceCount-1)))) goto S_775_1; S_770_0: /* 2 */ S_765_0: /* 2 */ if (!((((int)now.ms[ Index(((P2 *)this)->_6_9_13_i, 2050) ].type)==1))) goto S_770_1; S_767_0: /* 2 */ S_766_0: /* 2 */ now.ms[ Index(((P2 *)this)->_6_9_13_i, 2050) ].x_temp[0] = (now.ms[ Index(((P2 *)this)->_6_9_13_i, 2050) ].x_temp[0]+1); #ifdef VAR_RANGES logval("ms[M0:i].x_temp[0]", now.ms[ Index(((P2 *)this)->_6_9_13_i, 2050) ].x_temp[0]); #endif ; goto S_771_0; S_770_1: /* 3 */ S_768_0: /* 2 */ /* else */; S_769_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_771_0; S_770_2: /* 3 */ Uerror("blocking sel in d_step (nr.4, near line 305)"); S_771_0: /* 2 */ S_772_0: /* 2 */ ((P2 *)this)->_6_9_13_i = (((P2 *)this)->_6_9_13_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_9_13_i); #endif ; goto S_776_0; /* ';' */ S_775_1: /* 3 */ S_773_0: /* 2 */ /* else */; S_774_0: /* 2 */ goto S_777_0; /* 'goto' */ S_775_2: /* 3 */ Uerror("blocking sel in d_step (nr.5, near line 310)"); S_777_0: /* 2 */ goto S_779_0; /* 'break' */ S_779_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 67: /* STATE 127 - SubsetSum.pml:547 - [((r5&&(ms[instanceIndex].x[9]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][127] = 1; if (!((((int)((P2 *)this)->_6_r5)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[9]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 68: /* STATE 134 - SubsetSum.pml:549 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][134] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_784_0: /* 2 */ S_783_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[9] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[9]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[9]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[9]); #endif ; goto S_786_0; S_786_0: /* 2 */ S_785_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]+1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x_temp[28]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]); #endif ; goto S_787_0; S_787_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 69: /* STATE 135 - SubsetSum.pml:554 - [((r7&&(ms[instanceIndex].x[2]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][135] = 1; if (!((((int)((P2 *)this)->_6_r7)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[2]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 70: /* STATE 142 - SubsetSum.pml:556 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][142] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_792_0: /* 2 */ S_791_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[2] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[2]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[2]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[2]); #endif ; goto S_794_0; S_794_0: /* 2 */ S_793_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]+1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x_temp[28]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]); #endif ; goto S_795_0; S_795_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 71: /* STATE 143 - SubsetSum.pml:561 - [((r8&&(ms[instanceIndex].x[16]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][143] = 1; if (!((((int)((P2 *)this)->_6_r8)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[16]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 72: /* STATE 150 - SubsetSum.pml:563 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][150] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_800_0: /* 2 */ S_799_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[16] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[16]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[16]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[16]); #endif ; goto S_802_0; S_802_0: /* 2 */ S_801_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]+1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x_temp[28]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]); #endif ; goto S_803_0; S_803_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 73: /* STATE 151 - SubsetSum.pml:568 - [((r9&&(ms[instanceIndex].x[10]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][151] = 1; if (!((((int)((P2 *)this)->_6_r9)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[10]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 74: /* STATE 158 - SubsetSum.pml:570 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][158] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_808_0: /* 2 */ S_807_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[10] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[10]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[10]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[10]); #endif ; goto S_810_0; S_810_0: /* 2 */ S_809_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]+1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x_temp[28]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]); #endif ; goto S_811_0; S_811_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 75: /* STATE 159 - SubsetSum.pml:575 - [((r12&&(ms[instanceIndex].x[5]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][159] = 1; if (!((((int)((P2 *)this)->_6_r12)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[5]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 76: /* STATE 166 - SubsetSum.pml:577 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][166] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_816_0: /* 2 */ S_815_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[5] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[5]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[5]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[5]); #endif ; goto S_818_0; S_818_0: /* 2 */ S_817_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]+1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x_temp[28]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]); #endif ; goto S_819_0; S_819_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 77: /* STATE 167 - SubsetSum.pml:582 - [((r15&&(ms[instanceIndex].x[22]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][167] = 1; if (!((((int)((P2 *)this)->_6_r15)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[22]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 78: /* STATE 188 - SubsetSum.pml:584 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][188] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_824_0: /* 2 */ S_823_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[22] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[22]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[22]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[22]); #endif ; goto S_840_0; S_840_0: /* 2 */ S_825_0: /* 2 */ ((P2 *)this)->_6_15_25_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_15_25_i); #endif ; S_838_0: /* 2 */ S_837_0: /* 2 */ S_826_0: /* 2 */ if (!((((P2 *)this)->_6_15_25_i<=(now.instanceCount-1)))) goto S_837_1; S_832_0: /* 2 */ S_827_0: /* 2 */ if (!((((int)now.ms[ Index(((P2 *)this)->_6_15_25_i, 2050) ].type)==1))) goto S_832_1; S_829_0: /* 2 */ S_828_0: /* 2 */ now.ms[ Index(((P2 *)this)->_6_15_25_i, 2050) ].x_temp[4] = (now.ms[ Index(((P2 *)this)->_6_15_25_i, 2050) ].x_temp[4]+1); #ifdef VAR_RANGES logval("ms[M0:i].x_temp[4]", now.ms[ Index(((P2 *)this)->_6_15_25_i, 2050) ].x_temp[4]); #endif ; goto S_833_0; S_832_1: /* 3 */ S_830_0: /* 2 */ /* else */; S_831_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_833_0; S_832_2: /* 3 */ Uerror("blocking sel in d_step (nr.6, near line 305)"); S_833_0: /* 2 */ S_834_0: /* 2 */ ((P2 *)this)->_6_15_25_i = (((P2 *)this)->_6_15_25_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_15_25_i); #endif ; goto S_838_0; /* ';' */ S_837_1: /* 3 */ S_835_0: /* 2 */ /* else */; S_836_0: /* 2 */ goto S_839_0; /* 'goto' */ S_837_2: /* 3 */ Uerror("blocking sel in d_step (nr.7, near line 310)"); S_839_0: /* 2 */ goto S_841_0; /* 'break' */ S_841_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 79: /* STATE 189 - SubsetSum.pml:589 - [((r16&&(ms[instanceIndex].x[13]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][189] = 1; if (!((((int)((P2 *)this)->_6_r16)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[13]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 80: /* STATE 196 - SubsetSum.pml:591 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][196] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_846_0: /* 2 */ S_845_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[13] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[13]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[13]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[13]); #endif ; goto S_848_0; S_848_0: /* 2 */ S_847_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]+1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x_temp[28]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]); #endif ; goto S_849_0; S_849_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 81: /* STATE 197 - SubsetSum.pml:596 - [((r17&&(ms[instanceIndex].x[23]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][197] = 1; if (!((((int)((P2 *)this)->_6_r17)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 82: /* STATE 204 - SubsetSum.pml:598 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][204] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_854_0: /* 2 */ S_853_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[23]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[23]); #endif ; goto S_856_0; S_856_0: /* 2 */ S_855_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[22] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[22]+1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x_temp[22]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[22]); #endif ; goto S_857_0; S_857_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 83: /* STATE 205 - SubsetSum.pml:603 - [((r18&&(ms[instanceIndex].x[7]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][205] = 1; if (!((((int)((P2 *)this)->_6_r18)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[7]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 84: /* STATE 212 - SubsetSum.pml:605 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][212] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_862_0: /* 2 */ S_861_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[7] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[7]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[7]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[7]); #endif ; goto S_864_0; S_864_0: /* 2 */ S_863_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]+1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x_temp[28]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]); #endif ; goto S_865_0; S_865_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 85: /* STATE 213 - SubsetSum.pml:610 - [((r19&&(ms[instanceIndex].x[6]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][213] = 1; if (!((((int)((P2 *)this)->_6_r19)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[6]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 86: /* STATE 220 - SubsetSum.pml:612 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][220] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_870_0: /* 2 */ S_869_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[6] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[6]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[6]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[6]); #endif ; goto S_872_0; S_872_0: /* 2 */ S_871_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]+1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x_temp[28]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]); #endif ; goto S_873_0; S_873_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 87: /* STATE 221 - SubsetSum.pml:617 - [((r22&&(ms[instanceIndex].x[36]>=1)))] (0:0:0 - 1) */ IfNotBlocked reached[2][221] = 1; if (!((((int)((P2 *)this)->_6_r22)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[36]>=1)))) continue; _m = 3; goto P999; /* 0 */ case 88: /* STATE 228 - SubsetSum.pml:619 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][228] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_878_0: /* 2 */ S_877_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[36] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[36]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[36]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[36]); #endif ; goto S_880_0; S_880_0: /* 2 */ S_879_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]+1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x_temp[28]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x_temp[28]); #endif ; goto S_881_0; S_881_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_886_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 89: /* STATE 234 - SubsetSum.pml:629 - [((r2&&(ms[instanceIndex].x[26]>=1)))] (0:0:1 - 1) */ IfNotBlocked reached[2][234] = 1; if (!((((int)((P2 *)this)->_6_r2)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[26]>=1)))) continue; /* dead 1: _6_r2 */ (trpt+1)->bup.oval = ((P2 *)this)->_6_r2; #ifdef HAS_CODE if (!readtrail) #endif ((P2 *)this)->_6_r2 = 0; _m = 3; goto P999; /* 0 */ case 90: /* STATE 267 - SubsetSum.pml:631 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][267] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_891_0: /* 2 */ S_890_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[26] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[26]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[26]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[26]); #endif ; goto S_911_0; S_911_0: /* 2 */ S_892_0: /* 2 */ ((P2 *)this)->_6_21_37_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_21_37_i); #endif ; S_909_0: /* 2 */ S_908_0: /* 2 */ S_893_0: /* 2 */ if (!((((P2 *)this)->_6_21_37_i<=(2-1)))) goto S_908_1; S_894_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].type = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].type); #ifdef VAR_RANGES logval("ms[instanceCount].type", ((int)now.ms[ Index(now.instanceCount, 2050) ].type)); #endif ; S_895_0: /* 2 */ ((P2 *)this)->_6_21_37_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_21_37_j); #endif ; S_902_0: /* 2 */ S_901_0: /* 2 */ S_896_0: /* 2 */ if (!((((P2 *)this)->_6_21_37_j<=(38-1)))) goto S_901_1; S_897_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_21_37_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_21_37_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_21_37_j, 38) ]); #endif ; S_898_0: /* 2 */ ((P2 *)this)->_6_21_37_j = (((P2 *)this)->_6_21_37_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_21_37_j); #endif ; goto S_902_0; /* ';' */ S_901_1: /* 3 */ S_899_0: /* 2 */ /* else */; S_900_0: /* 2 */ goto S_904_0; /* 'goto' */ S_901_2: /* 3 */ Uerror("blocking sel in d_step (nr.8, near line 344)"); S_903_0: /* 2 */ goto S_904_0; /* 'break' */ S_904_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_905_0: /* 2 */ ((P2 *)this)->_6_21_37_i = (((P2 *)this)->_6_21_37_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_21_37_i); #endif ; goto S_909_0; /* ';' */ S_908_1: /* 3 */ S_906_0: /* 2 */ /* else */; S_907_0: /* 2 */ goto S_913_0; /* 'goto' */ S_908_2: /* 3 */ Uerror("blocking sel in d_step (nr.9, near line 349)"); S_910_0: /* 2 */ goto S_913_0; /* 'break' */ goto S_913_0; S_913_0: /* 2 */ S_912_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[21] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[21]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[21]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[21]); #endif ; goto S_915_0; S_915_0: /* 2 */ S_914_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[24] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[24]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[24]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[24]); #endif ; goto S_917_0; S_917_0: /* 2 */ S_916_0: /* 2 */ now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[24] = (now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[24]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-1)].x_temp[24]", now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[24]); #endif ; goto S_919_0; S_919_0: /* 2 */ S_918_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved = 1; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isDissolved", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved)); #endif ; goto S_920_0; S_920_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1231_0; S_1231_0: /* 1 */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 91: /* STATE 268 - SubsetSum.pml:640 - [((r3&&(ms[instanceIndex].x[37]>=1)))] (0:0:1 - 1) */ IfNotBlocked reached[2][268] = 1; if (!((((int)((P2 *)this)->_6_r3)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[37]>=1)))) continue; /* dead 1: _6_r3 */ (trpt+1)->bup.oval = ((P2 *)this)->_6_r3; #ifdef HAS_CODE if (!readtrail) #endif ((P2 *)this)->_6_r3 = 0; _m = 3; goto P999; /* 0 */ case 92: /* STATE 301 - SubsetSum.pml:642 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][301] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_925_0: /* 2 */ S_924_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[37] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[37]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[37]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[37]); #endif ; goto S_945_0; S_945_0: /* 2 */ S_926_0: /* 2 */ ((P2 *)this)->_6_22_43_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_22_43_i); #endif ; S_943_0: /* 2 */ S_942_0: /* 2 */ S_927_0: /* 2 */ if (!((((P2 *)this)->_6_22_43_i<=(2-1)))) goto S_942_1; S_928_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].type = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].type); #ifdef VAR_RANGES logval("ms[instanceCount].type", ((int)now.ms[ Index(now.instanceCount, 2050) ].type)); #endif ; S_929_0: /* 2 */ ((P2 *)this)->_6_22_43_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_22_43_j); #endif ; S_936_0: /* 2 */ S_935_0: /* 2 */ S_930_0: /* 2 */ if (!((((P2 *)this)->_6_22_43_j<=(38-1)))) goto S_935_1; S_931_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_22_43_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_22_43_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_22_43_j, 38) ]); #endif ; S_932_0: /* 2 */ ((P2 *)this)->_6_22_43_j = (((P2 *)this)->_6_22_43_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_22_43_j); #endif ; goto S_936_0; /* ';' */ S_935_1: /* 3 */ S_933_0: /* 2 */ /* else */; S_934_0: /* 2 */ goto S_938_0; /* 'goto' */ S_935_2: /* 3 */ Uerror("blocking sel in d_step (nr.10, near line 344)"); S_937_0: /* 2 */ goto S_938_0; /* 'break' */ S_938_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_939_0: /* 2 */ ((P2 *)this)->_6_22_43_i = (((P2 *)this)->_6_22_43_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_22_43_i); #endif ; goto S_943_0; /* ';' */ S_942_1: /* 3 */ S_940_0: /* 2 */ /* else */; S_941_0: /* 2 */ goto S_947_0; /* 'goto' */ S_942_2: /* 3 */ Uerror("blocking sel in d_step (nr.11, near line 349)"); S_944_0: /* 2 */ goto S_947_0; /* 'break' */ goto S_947_0; S_947_0: /* 2 */ S_946_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[11] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[11]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[11]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[11]); #endif ; goto S_949_0; S_949_0: /* 2 */ S_948_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[35] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[35]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[35]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[35]); #endif ; goto S_951_0; S_951_0: /* 2 */ S_950_0: /* 2 */ now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[35] = (now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[35]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-1)].x_temp[35]", now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[35]); #endif ; goto S_953_0; S_953_0: /* 2 */ S_952_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved = 1; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isDissolved", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved)); #endif ; goto S_954_0; S_954_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1231_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 93: /* STATE 302 - SubsetSum.pml:651 - [((r6&&(ms[instanceIndex].x[27]>=1)))] (0:0:1 - 1) */ IfNotBlocked reached[2][302] = 1; if (!((((int)((P2 *)this)->_6_r6)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[27]>=1)))) continue; /* dead 1: _6_r6 */ (trpt+1)->bup.oval = ((P2 *)this)->_6_r6; #ifdef HAS_CODE if (!readtrail) #endif ((P2 *)this)->_6_r6 = 0; _m = 3; goto P999; /* 0 */ case 94: /* STATE 335 - SubsetSum.pml:653 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][335] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_959_0: /* 2 */ S_958_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[27] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[27]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[27]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[27]); #endif ; goto S_979_0; S_979_0: /* 2 */ S_960_0: /* 2 */ ((P2 *)this)->_6_23_49_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_23_49_i); #endif ; S_977_0: /* 2 */ S_976_0: /* 2 */ S_961_0: /* 2 */ if (!((((P2 *)this)->_6_23_49_i<=(2-1)))) goto S_976_1; S_962_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].type = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].type); #ifdef VAR_RANGES logval("ms[instanceCount].type", ((int)now.ms[ Index(now.instanceCount, 2050) ].type)); #endif ; S_963_0: /* 2 */ ((P2 *)this)->_6_23_49_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_23_49_j); #endif ; S_970_0: /* 2 */ S_969_0: /* 2 */ S_964_0: /* 2 */ if (!((((P2 *)this)->_6_23_49_j<=(38-1)))) goto S_969_1; S_965_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_23_49_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_23_49_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_23_49_j, 38) ]); #endif ; S_966_0: /* 2 */ ((P2 *)this)->_6_23_49_j = (((P2 *)this)->_6_23_49_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_23_49_j); #endif ; goto S_970_0; /* ';' */ S_969_1: /* 3 */ S_967_0: /* 2 */ /* else */; S_968_0: /* 2 */ goto S_972_0; /* 'goto' */ S_969_2: /* 3 */ Uerror("blocking sel in d_step (nr.12, near line 344)"); S_971_0: /* 2 */ goto S_972_0; /* 'break' */ S_972_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_973_0: /* 2 */ ((P2 *)this)->_6_23_49_i = (((P2 *)this)->_6_23_49_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_23_49_i); #endif ; goto S_977_0; /* ';' */ S_976_1: /* 3 */ S_974_0: /* 2 */ /* else */; S_975_0: /* 2 */ goto S_981_0; /* 'goto' */ S_976_2: /* 3 */ Uerror("blocking sel in d_step (nr.13, near line 349)"); S_978_0: /* 2 */ goto S_981_0; /* 'break' */ goto S_981_0; S_981_0: /* 2 */ S_980_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[26] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[26]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[26]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[26]); #endif ; goto S_983_0; S_983_0: /* 2 */ S_982_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[20] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[20]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[20]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[20]); #endif ; goto S_985_0; S_985_0: /* 2 */ S_984_0: /* 2 */ now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[26] = (now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[26]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-1)].x_temp[26]", now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[26]); #endif ; goto S_987_0; S_987_0: /* 2 */ S_986_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved = 1; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isDissolved", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved)); #endif ; goto S_988_0; S_988_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1231_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 95: /* STATE 336 - SubsetSum.pml:662 - [((r10&&(ms[instanceIndex].x[34]>=1)))] (0:0:1 - 1) */ IfNotBlocked reached[2][336] = 1; if (!((((int)((P2 *)this)->_6_r10)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[34]>=1)))) continue; /* dead 1: _6_r10 */ (trpt+1)->bup.oval = ((P2 *)this)->_6_r10; #ifdef HAS_CODE if (!readtrail) #endif ((P2 *)this)->_6_r10 = 0; _m = 3; goto P999; /* 0 */ case 96: /* STATE 369 - SubsetSum.pml:664 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][369] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_993_0: /* 2 */ S_992_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[34] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[34]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[34]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[34]); #endif ; goto S_1013_0; S_1013_0: /* 2 */ S_994_0: /* 2 */ ((P2 *)this)->_6_24_55_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_24_55_i); #endif ; S_1011_0: /* 2 */ S_1010_0: /* 2 */ S_995_0: /* 2 */ if (!((((P2 *)this)->_6_24_55_i<=(2-1)))) goto S_1010_1; S_996_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].type = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].type); #ifdef VAR_RANGES logval("ms[instanceCount].type", ((int)now.ms[ Index(now.instanceCount, 2050) ].type)); #endif ; S_997_0: /* 2 */ ((P2 *)this)->_6_24_55_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_24_55_j); #endif ; S_1004_0: /* 2 */ S_1003_0: /* 2 */ S_998_0: /* 2 */ if (!((((P2 *)this)->_6_24_55_j<=(38-1)))) goto S_1003_1; S_999_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_24_55_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_24_55_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_24_55_j, 38) ]); #endif ; S_1000_0: /* 2 */ ((P2 *)this)->_6_24_55_j = (((P2 *)this)->_6_24_55_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_24_55_j); #endif ; goto S_1004_0; /* ';' */ S_1003_1: /* 3 */ S_1001_0: /* 2 */ /* else */; S_1002_0: /* 2 */ goto S_1006_0; /* 'goto' */ S_1003_2: /* 3 */ Uerror("blocking sel in d_step (nr.14, near line 344)"); S_1005_0: /* 2 */ goto S_1006_0; /* 'break' */ S_1006_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1007_0: /* 2 */ ((P2 *)this)->_6_24_55_i = (((P2 *)this)->_6_24_55_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_24_55_i); #endif ; goto S_1011_0; /* ';' */ S_1010_1: /* 3 */ S_1008_0: /* 2 */ /* else */; S_1009_0: /* 2 */ goto S_1015_0; /* 'goto' */ S_1010_2: /* 3 */ Uerror("blocking sel in d_step (nr.15, near line 349)"); S_1012_0: /* 2 */ goto S_1015_0; /* 'break' */ goto S_1015_0; S_1015_0: /* 2 */ S_1014_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[15] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[15]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[15]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[15]); #endif ; goto S_1017_0; S_1017_0: /* 2 */ S_1016_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[33] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[33]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[33]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[33]); #endif ; goto S_1019_0; S_1019_0: /* 2 */ S_1018_0: /* 2 */ now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[33] = (now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[33]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-1)].x_temp[33]", now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[33]); #endif ; goto S_1021_0; S_1021_0: /* 2 */ S_1020_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved = 1; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isDissolved", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved)); #endif ; goto S_1022_0; S_1022_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1231_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 97: /* STATE 370 - SubsetSum.pml:673 - [((r11&&(ms[instanceIndex].x[35]>=1)))] (0:0:1 - 1) */ IfNotBlocked reached[2][370] = 1; if (!((((int)((P2 *)this)->_6_r11)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[35]>=1)))) continue; /* dead 1: _6_r11 */ (trpt+1)->bup.oval = ((P2 *)this)->_6_r11; #ifdef HAS_CODE if (!readtrail) #endif ((P2 *)this)->_6_r11 = 0; _m = 3; goto P999; /* 0 */ case 98: /* STATE 403 - SubsetSum.pml:675 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][403] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_1027_0: /* 2 */ S_1026_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[35] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[35]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[35]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[35]); #endif ; goto S_1047_0; S_1047_0: /* 2 */ S_1028_0: /* 2 */ ((P2 *)this)->_6_25_61_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_25_61_i); #endif ; S_1045_0: /* 2 */ S_1044_0: /* 2 */ S_1029_0: /* 2 */ if (!((((P2 *)this)->_6_25_61_i<=(2-1)))) goto S_1044_1; S_1030_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].type = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].type); #ifdef VAR_RANGES logval("ms[instanceCount].type", ((int)now.ms[ Index(now.instanceCount, 2050) ].type)); #endif ; S_1031_0: /* 2 */ ((P2 *)this)->_6_25_61_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_25_61_j); #endif ; S_1038_0: /* 2 */ S_1037_0: /* 2 */ S_1032_0: /* 2 */ if (!((((P2 *)this)->_6_25_61_j<=(38-1)))) goto S_1037_1; S_1033_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_25_61_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_25_61_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_25_61_j, 38) ]); #endif ; S_1034_0: /* 2 */ ((P2 *)this)->_6_25_61_j = (((P2 *)this)->_6_25_61_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_25_61_j); #endif ; goto S_1038_0; /* ';' */ S_1037_1: /* 3 */ S_1035_0: /* 2 */ /* else */; S_1036_0: /* 2 */ goto S_1040_0; /* 'goto' */ S_1037_2: /* 3 */ Uerror("blocking sel in d_step (nr.16, near line 344)"); S_1039_0: /* 2 */ goto S_1040_0; /* 'break' */ S_1040_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1041_0: /* 2 */ ((P2 *)this)->_6_25_61_i = (((P2 *)this)->_6_25_61_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_25_61_i); #endif ; goto S_1045_0; /* ';' */ S_1044_1: /* 3 */ S_1042_0: /* 2 */ /* else */; S_1043_0: /* 2 */ goto S_1049_0; /* 'goto' */ S_1044_2: /* 3 */ Uerror("blocking sel in d_step (nr.17, near line 349)"); S_1046_0: /* 2 */ goto S_1049_0; /* 'break' */ goto S_1049_0; S_1049_0: /* 2 */ S_1048_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[14] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[14]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[14]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[14]); #endif ; goto S_1051_0; S_1051_0: /* 2 */ S_1050_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[34] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[34]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[34]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[34]); #endif ; goto S_1053_0; S_1053_0: /* 2 */ S_1052_0: /* 2 */ now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[34] = (now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[34]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-1)].x_temp[34]", now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[34]); #endif ; goto S_1055_0; S_1055_0: /* 2 */ S_1054_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved = 1; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isDissolved", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved)); #endif ; goto S_1056_0; S_1056_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1231_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 99: /* STATE 404 - SubsetSum.pml:684 - [((r13&&(ms[instanceIndex].x[33]>=1)))] (0:0:1 - 1) */ IfNotBlocked reached[2][404] = 1; if (!((((int)((P2 *)this)->_6_r13)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[33]>=1)))) continue; /* dead 1: _6_r13 */ (trpt+1)->bup.oval = ((P2 *)this)->_6_r13; #ifdef HAS_CODE if (!readtrail) #endif ((P2 *)this)->_6_r13 = 0; _m = 3; goto P999; /* 0 */ case 100: /* STATE 437 - SubsetSum.pml:686 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][437] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_1061_0: /* 2 */ S_1060_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[33] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[33]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[33]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[33]); #endif ; goto S_1081_0; S_1081_0: /* 2 */ S_1062_0: /* 2 */ ((P2 *)this)->_6_26_67_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_26_67_i); #endif ; S_1079_0: /* 2 */ S_1078_0: /* 2 */ S_1063_0: /* 2 */ if (!((((P2 *)this)->_6_26_67_i<=(2-1)))) goto S_1078_1; S_1064_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].type = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].type); #ifdef VAR_RANGES logval("ms[instanceCount].type", ((int)now.ms[ Index(now.instanceCount, 2050) ].type)); #endif ; S_1065_0: /* 2 */ ((P2 *)this)->_6_26_67_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_26_67_j); #endif ; S_1072_0: /* 2 */ S_1071_0: /* 2 */ S_1066_0: /* 2 */ if (!((((P2 *)this)->_6_26_67_j<=(38-1)))) goto S_1071_1; S_1067_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_26_67_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_26_67_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_26_67_j, 38) ]); #endif ; S_1068_0: /* 2 */ ((P2 *)this)->_6_26_67_j = (((P2 *)this)->_6_26_67_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_26_67_j); #endif ; goto S_1072_0; /* ';' */ S_1071_1: /* 3 */ S_1069_0: /* 2 */ /* else */; S_1070_0: /* 2 */ goto S_1074_0; /* 'goto' */ S_1071_2: /* 3 */ Uerror("blocking sel in d_step (nr.18, near line 344)"); S_1073_0: /* 2 */ goto S_1074_0; /* 'break' */ S_1074_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1075_0: /* 2 */ ((P2 *)this)->_6_26_67_i = (((P2 *)this)->_6_26_67_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_26_67_i); #endif ; goto S_1079_0; /* ';' */ S_1078_1: /* 3 */ S_1076_0: /* 2 */ /* else */; S_1077_0: /* 2 */ goto S_1083_0; /* 'goto' */ S_1078_2: /* 3 */ Uerror("blocking sel in d_step (nr.19, near line 349)"); S_1080_0: /* 2 */ goto S_1083_0; /* 'break' */ goto S_1083_0; S_1083_0: /* 2 */ S_1082_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[31] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[31]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[31]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[31]); #endif ; goto S_1085_0; S_1085_0: /* 2 */ S_1084_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[17] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[17]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[17]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[17]); #endif ; goto S_1087_0; S_1087_0: /* 2 */ S_1086_0: /* 2 */ now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[31] = (now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[31]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-1)].x_temp[31]", now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[31]); #endif ; goto S_1089_0; S_1089_0: /* 2 */ S_1088_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved = 1; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isDissolved", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved)); #endif ; goto S_1090_0; S_1090_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1231_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 101: /* STATE 438 - SubsetSum.pml:695 - [((r14&&(ms[instanceIndex].x[24]>=1)))] (0:0:1 - 1) */ IfNotBlocked reached[2][438] = 1; if (!((((int)((P2 *)this)->_6_r14)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[24]>=1)))) continue; /* dead 1: _6_r14 */ (trpt+1)->bup.oval = ((P2 *)this)->_6_r14; #ifdef HAS_CODE if (!readtrail) #endif ((P2 *)this)->_6_r14 = 0; _m = 3; goto P999; /* 0 */ case 102: /* STATE 471 - SubsetSum.pml:697 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][471] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_1095_0: /* 2 */ S_1094_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[24] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[24]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[24]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[24]); #endif ; goto S_1115_0; S_1115_0: /* 2 */ S_1096_0: /* 2 */ ((P2 *)this)->_6_27_73_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_27_73_i); #endif ; S_1113_0: /* 2 */ S_1112_0: /* 2 */ S_1097_0: /* 2 */ if (!((((P2 *)this)->_6_27_73_i<=(2-1)))) goto S_1112_1; S_1098_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].type = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].type); #ifdef VAR_RANGES logval("ms[instanceCount].type", ((int)now.ms[ Index(now.instanceCount, 2050) ].type)); #endif ; S_1099_0: /* 2 */ ((P2 *)this)->_6_27_73_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_27_73_j); #endif ; S_1106_0: /* 2 */ S_1105_0: /* 2 */ S_1100_0: /* 2 */ if (!((((P2 *)this)->_6_27_73_j<=(38-1)))) goto S_1105_1; S_1101_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_27_73_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_27_73_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_27_73_j, 38) ]); #endif ; S_1102_0: /* 2 */ ((P2 *)this)->_6_27_73_j = (((P2 *)this)->_6_27_73_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_27_73_j); #endif ; goto S_1106_0; /* ';' */ S_1105_1: /* 3 */ S_1103_0: /* 2 */ /* else */; S_1104_0: /* 2 */ goto S_1108_0; /* 'goto' */ S_1105_2: /* 3 */ Uerror("blocking sel in d_step (nr.20, near line 344)"); S_1107_0: /* 2 */ goto S_1108_0; /* 'break' */ S_1108_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1109_0: /* 2 */ ((P2 *)this)->_6_27_73_i = (((P2 *)this)->_6_27_73_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_27_73_i); #endif ; goto S_1113_0; /* ';' */ S_1112_1: /* 3 */ S_1110_0: /* 2 */ /* else */; S_1111_0: /* 2 */ goto S_1117_0; /* 'goto' */ S_1112_2: /* 3 */ Uerror("blocking sel in d_step (nr.21, near line 349)"); S_1114_0: /* 2 */ goto S_1117_0; /* 'break' */ goto S_1117_0; S_1117_0: /* 2 */ S_1116_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[30] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[30]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[30]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[30]); #endif ; goto S_1119_0; S_1119_0: /* 2 */ S_1118_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[23] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[23]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[23]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[23]); #endif ; goto S_1121_0; S_1121_0: /* 2 */ S_1120_0: /* 2 */ now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[23] = (now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[23]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-1)].x_temp[23]", now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[23]); #endif ; goto S_1123_0; S_1123_0: /* 2 */ S_1122_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved = 1; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isDissolved", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved)); #endif ; goto S_1124_0; S_1124_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1231_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 103: /* STATE 472 - SubsetSum.pml:706 - [((r20&&(ms[instanceIndex].x[29]>=1)))] (0:0:1 - 1) */ IfNotBlocked reached[2][472] = 1; if (!((((int)((P2 *)this)->_6_r20)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[29]>=1)))) continue; /* dead 1: _6_r20 */ (trpt+1)->bup.oval = ((P2 *)this)->_6_r20; #ifdef HAS_CODE if (!readtrail) #endif ((P2 *)this)->_6_r20 = 0; _m = 3; goto P999; /* 0 */ case 104: /* STATE 505 - SubsetSum.pml:708 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][505] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_1129_0: /* 2 */ S_1128_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[29] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[29]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[29]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[29]); #endif ; goto S_1149_0; S_1149_0: /* 2 */ S_1130_0: /* 2 */ ((P2 *)this)->_6_28_79_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_28_79_i); #endif ; S_1147_0: /* 2 */ S_1146_0: /* 2 */ S_1131_0: /* 2 */ if (!((((P2 *)this)->_6_28_79_i<=(2-1)))) goto S_1146_1; S_1132_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].type = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].type); #ifdef VAR_RANGES logval("ms[instanceCount].type", ((int)now.ms[ Index(now.instanceCount, 2050) ].type)); #endif ; S_1133_0: /* 2 */ ((P2 *)this)->_6_28_79_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_28_79_j); #endif ; S_1140_0: /* 2 */ S_1139_0: /* 2 */ S_1134_0: /* 2 */ if (!((((P2 *)this)->_6_28_79_j<=(38-1)))) goto S_1139_1; S_1135_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_28_79_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_28_79_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_28_79_j, 38) ]); #endif ; S_1136_0: /* 2 */ ((P2 *)this)->_6_28_79_j = (((P2 *)this)->_6_28_79_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_28_79_j); #endif ; goto S_1140_0; /* ';' */ S_1139_1: /* 3 */ S_1137_0: /* 2 */ /* else */; S_1138_0: /* 2 */ goto S_1142_0; /* 'goto' */ S_1139_2: /* 3 */ Uerror("blocking sel in d_step (nr.22, near line 344)"); S_1141_0: /* 2 */ goto S_1142_0; /* 'break' */ S_1142_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1143_0: /* 2 */ ((P2 *)this)->_6_28_79_i = (((P2 *)this)->_6_28_79_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_28_79_i); #endif ; goto S_1147_0; /* ';' */ S_1146_1: /* 3 */ S_1144_0: /* 2 */ /* else */; S_1145_0: /* 2 */ goto S_1151_0; /* 'goto' */ S_1146_2: /* 3 */ Uerror("blocking sel in d_step (nr.23, near line 349)"); S_1148_0: /* 2 */ goto S_1151_0; /* 'break' */ goto S_1151_0; S_1151_0: /* 2 */ S_1150_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[27] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[27]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[27]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[27]); #endif ; goto S_1153_0; S_1153_0: /* 2 */ S_1152_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[19] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[19]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[19]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[19]); #endif ; goto S_1155_0; S_1155_0: /* 2 */ S_1154_0: /* 2 */ now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[27] = (now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[27]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-1)].x_temp[27]", now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[27]); #endif ; goto S_1157_0; S_1157_0: /* 2 */ S_1156_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved = 1; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isDissolved", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved)); #endif ; goto S_1158_0; S_1158_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1231_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 105: /* STATE 506 - SubsetSum.pml:717 - [((r21&&(ms[instanceIndex].x[32]>=1)))] (0:0:1 - 1) */ IfNotBlocked reached[2][506] = 1; if (!((((int)((P2 *)this)->_6_r21)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[32]>=1)))) continue; /* dead 1: _6_r21 */ (trpt+1)->bup.oval = ((P2 *)this)->_6_r21; #ifdef HAS_CODE if (!readtrail) #endif ((P2 *)this)->_6_r21 = 0; _m = 3; goto P999; /* 0 */ case 106: /* STATE 539 - SubsetSum.pml:719 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][539] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_1163_0: /* 2 */ S_1162_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[32] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[32]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[32]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[32]); #endif ; goto S_1183_0; S_1183_0: /* 2 */ S_1164_0: /* 2 */ ((P2 *)this)->_6_29_85_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_29_85_i); #endif ; S_1181_0: /* 2 */ S_1180_0: /* 2 */ S_1165_0: /* 2 */ if (!((((P2 *)this)->_6_29_85_i<=(2-1)))) goto S_1180_1; S_1166_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].type = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].type); #ifdef VAR_RANGES logval("ms[instanceCount].type", ((int)now.ms[ Index(now.instanceCount, 2050) ].type)); #endif ; S_1167_0: /* 2 */ ((P2 *)this)->_6_29_85_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_29_85_j); #endif ; S_1174_0: /* 2 */ S_1173_0: /* 2 */ S_1168_0: /* 2 */ if (!((((P2 *)this)->_6_29_85_j<=(38-1)))) goto S_1173_1; S_1169_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_29_85_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_29_85_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_29_85_j, 38) ]); #endif ; S_1170_0: /* 2 */ ((P2 *)this)->_6_29_85_j = (((P2 *)this)->_6_29_85_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_29_85_j); #endif ; goto S_1174_0; /* ';' */ S_1173_1: /* 3 */ S_1171_0: /* 2 */ /* else */; S_1172_0: /* 2 */ goto S_1176_0; /* 'goto' */ S_1173_2: /* 3 */ Uerror("blocking sel in d_step (nr.24, near line 344)"); S_1175_0: /* 2 */ goto S_1176_0; /* 'break' */ S_1176_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1177_0: /* 2 */ ((P2 *)this)->_6_29_85_i = (((P2 *)this)->_6_29_85_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_29_85_i); #endif ; goto S_1181_0; /* ';' */ S_1180_1: /* 3 */ S_1178_0: /* 2 */ /* else */; S_1179_0: /* 2 */ goto S_1185_0; /* 'goto' */ S_1180_2: /* 3 */ Uerror("blocking sel in d_step (nr.25, near line 349)"); S_1182_0: /* 2 */ goto S_1185_0; /* 'break' */ goto S_1185_0; S_1185_0: /* 2 */ S_1184_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[8] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[8]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[8]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[8]); #endif ; goto S_1187_0; S_1187_0: /* 2 */ S_1186_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[37] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[37]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[37]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[37]); #endif ; goto S_1189_0; S_1189_0: /* 2 */ S_1188_0: /* 2 */ now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[37] = (now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[37]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-1)].x_temp[37]", now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[37]); #endif ; goto S_1191_0; S_1191_0: /* 2 */ S_1190_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved = 1; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isDissolved", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved)); #endif ; goto S_1192_0; S_1192_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1231_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 107: /* STATE 540 - SubsetSum.pml:728 - [((r23&&(ms[instanceIndex].x[31]>=1)))] (0:0:1 - 1) */ IfNotBlocked reached[2][540] = 1; if (!((((int)((P2 *)this)->_6_r23)&&(now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[31]>=1)))) continue; /* dead 1: _6_r23 */ (trpt+1)->bup.oval = ((P2 *)this)->_6_r23; #ifdef HAS_CODE if (!readtrail) #endif ((P2 *)this)->_6_r23 = 0; _m = 3; goto P999; /* 0 */ case 108: /* STATE 573 - SubsetSum.pml:730 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][573] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_1197_0: /* 2 */ S_1196_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[31] = (now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[31]-1); #ifdef VAR_RANGES logval("ms[M0:instanceIndex].x[31]", now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[31]); #endif ; goto S_1217_0; S_1217_0: /* 2 */ S_1198_0: /* 2 */ ((P2 *)this)->_6_30_91_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_30_91_i); #endif ; S_1215_0: /* 2 */ S_1214_0: /* 2 */ S_1199_0: /* 2 */ if (!((((P2 *)this)->_6_30_91_i<=(2-1)))) goto S_1214_1; S_1200_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].type = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].type); #ifdef VAR_RANGES logval("ms[instanceCount].type", ((int)now.ms[ Index(now.instanceCount, 2050) ].type)); #endif ; S_1201_0: /* 2 */ ((P2 *)this)->_6_30_91_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_30_91_j); #endif ; S_1208_0: /* 2 */ S_1207_0: /* 2 */ S_1202_0: /* 2 */ if (!((((P2 *)this)->_6_30_91_j<=(38-1)))) goto S_1207_1; S_1203_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_30_91_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_30_91_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_30_91_j, 38) ]); #endif ; S_1204_0: /* 2 */ ((P2 *)this)->_6_30_91_j = (((P2 *)this)->_6_30_91_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_30_91_j); #endif ; goto S_1208_0; /* ';' */ S_1207_1: /* 3 */ S_1205_0: /* 2 */ /* else */; S_1206_0: /* 2 */ goto S_1210_0; /* 'goto' */ S_1207_2: /* 3 */ Uerror("blocking sel in d_step (nr.26, near line 344)"); S_1209_0: /* 2 */ goto S_1210_0; /* 'break' */ S_1210_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1211_0: /* 2 */ ((P2 *)this)->_6_30_91_i = (((P2 *)this)->_6_30_91_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_30_91_i); #endif ; goto S_1215_0; /* ';' */ S_1214_1: /* 3 */ S_1212_0: /* 2 */ /* else */; S_1213_0: /* 2 */ goto S_1219_0; /* 'goto' */ S_1214_2: /* 3 */ Uerror("blocking sel in d_step (nr.27, near line 349)"); S_1216_0: /* 2 */ goto S_1219_0; /* 'break' */ goto S_1219_0; S_1219_0: /* 2 */ S_1218_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[29] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[29]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[29]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[29]); #endif ; goto S_1221_0; S_1221_0: /* 2 */ S_1220_0: /* 2 */ now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[18] = (now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[18]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-2)].x_temp[18]", now.ms[ Index((now.instanceCount-2), 2050) ].x_temp[18]); #endif ; goto S_1223_0; S_1223_0: /* 2 */ S_1222_0: /* 2 */ now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[29] = (now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[29]+1); #ifdef VAR_RANGES logval("ms[(instanceCount-1)].x_temp[29]", now.ms[ Index((now.instanceCount-1), 2050) ].x_temp[29]); #endif ; goto S_1225_0; S_1225_0: /* 2 */ S_1224_0: /* 2 */ now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved = 1; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isDissolved", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isDissolved)); #endif ; goto S_1226_0; S_1226_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1231_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 109: /* STATE 578 - SubsetSum.pml:742 - [ms[instanceIndex].isComputing = 0] (0:0:1 - 12) */ IfNotBlocked reached[2][578] = 1; (trpt+1)->bup.oval = ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isComputing); now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isComputing = 0; #ifdef VAR_RANGES logval("ms[M0:instanceIndex].isComputing", ((int)now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].isComputing)); #endif ; _m = 3; goto P999; /* 0 */ case 110: /* STATE 579 - SubsetSum.pml:743 - [-end-] (0:0:0 - 1) */ IfNotBlocked reached[2][579] = 1; if (!delproc(1, II)) continue; _m = 3; goto P999; /* 0 */ /* PROC Scheduler */ case 111: /* STATE 1 - SubsetSum.pml:432 - [parallelComputationCount = 250] (0:0:1 - 1) */ IfNotBlocked reached[1][1] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_parallelComputationCount; ((P1 *)this)->_5_parallelComputationCount = 250; #ifdef VAR_RANGES logval("Scheduler:parallelComputationCount", ((P1 *)this)->_5_parallelComputationCount); #endif ; _m = 3; goto P999; /* 0 */ case 112: /* STATE 2 - SubsetSum.pml:435 - [((step<13))] (0:0:0 - 1) */ IfNotBlocked reached[1][2] = 1; if (!((now.step<13))) continue; _m = 3; goto P999; /* 0 */ case 113: /* STATE 3 - SubsetSum.pml:436 - [state = running] (0:0:1 - 1) */ IfNotBlocked reached[1][3] = 1; (trpt+1)->bup.oval = state; state = 2; #ifdef VAR_RANGES logval("state", state); #endif ; _m = 3; goto P999; /* 0 */ case 114: /* STATE 4 - SubsetSum.pml:438 - [instanceCountAux = (instanceCount-1)] (0:0:1 - 1) */ IfNotBlocked reached[1][4] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_instanceCountAux; ((P1 *)this)->_5_instanceCountAux = (now.instanceCount-1); #ifdef VAR_RANGES logval("Scheduler:instanceCountAux", ((P1 *)this)->_5_instanceCountAux); #endif ; _m = 3; goto P999; /* 0 */ case 115: /* STATE 5 - SubsetSum.pml:439 - [startIndex = -(1)] (0:43:2 - 1) */ IfNotBlocked reached[1][5] = 1; (trpt+1)->bup.ovals = grab_ints(2); (trpt+1)->bup.ovals[0] = ((P1 *)this)->_5_startIndex; ((P1 *)this)->_5_startIndex = -(1); #ifdef VAR_RANGES logval("Scheduler:startIndex", ((P1 *)this)->_5_startIndex); #endif ; /* merge: currentBundleIndex = 1(43, 6, 43) */ reached[1][6] = 1; (trpt+1)->bup.ovals[1] = ((P1 *)this)->_5_currentBundleIndex; ((P1 *)this)->_5_currentBundleIndex = 1; #ifdef VAR_RANGES logval("Scheduler:currentBundleIndex", ((P1 *)this)->_5_currentBundleIndex); #endif ; /* merge: .(goto)(0, 44, 43) */ reached[1][44] = 1; ; _m = 3; goto P999; /* 2 */ case 116: /* STATE 7 - SubsetSum.pml:441 - [((currentBundleIndex<=(instanceCountAux/parallelComputationCount)))] (27:0:2 - 1) */ IfNotBlocked reached[1][7] = 1; if (!((((P1 *)this)->_5_currentBundleIndex<=(((P1 *)this)->_5_instanceCountAux/((P1 *)this)->_5_parallelComputationCount)))) continue; /* merge: startInstanceIndex = (startIndex+1)(27, 8, 27) */ reached[1][8] = 1; (trpt+1)->bup.ovals = grab_ints(2); (trpt+1)->bup.ovals[0] = ((P1 *)this)->_5_startInstanceIndex; ((P1 *)this)->_5_startInstanceIndex = (((P1 *)this)->_5_startIndex+1); #ifdef VAR_RANGES logval("Scheduler:startInstanceIndex", ((P1 *)this)->_5_startInstanceIndex); #endif ; /* merge: endInstanceIndex = (currentBundleIndex*parallelComputationCount)(27, 9, 27) */ reached[1][9] = 1; (trpt+1)->bup.ovals[1] = ((P1 *)this)->_5_endInstanceIndex; ((P1 *)this)->_5_endInstanceIndex = (((P1 *)this)->_5_currentBundleIndex*((P1 *)this)->_5_parallelComputationCount); #ifdef VAR_RANGES logval("Scheduler:endInstanceIndex", ((P1 *)this)->_5_endInstanceIndex); #endif ; _m = 3; goto P999; /* 2 */ case 117: /* STATE 10 - SubsetSum.pml:367 - [instIndex = startInstanceIndex] (0:0:1 - 1) */ IfNotBlocked reached[1][10] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_2_3_instIndex; ((P1 *)this)->_5_2_3_instIndex = ((P1 *)this)->_5_startInstanceIndex; #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_2_3_instIndex); #endif ; _m = 3; goto P999; /* 0 */ case 118: /* STATE 11 - SubsetSum.pml:367 - [((instIndex<=endInstanceIndex))] (0:0:0 - 1) */ IfNotBlocked reached[1][11] = 1; if (!((((P1 *)this)->_5_2_3_instIndex<=((P1 *)this)->_5_endInstanceIndex))) continue; _m = 3; goto P999; /* 0 */ case 119: /* STATE 12 - SubsetSum.pml:369 - [(((ms[instIndex].isDissolved==0)&&(ms[instIndex].type==0)))] (0:0:0 - 1) */ IfNotBlocked reached[1][12] = 1; if (!(((((int)now.ms[ Index(((P1 *)this)->_5_2_3_instIndex, 2050) ].isDissolved)==0)&&(((int)now.ms[ Index(((P1 *)this)->_5_2_3_instIndex, 2050) ].type)==0)))) continue; _m = 3; goto P999; /* 0 */ case 120: /* STATE 13 - SubsetSum.pml:369 - [(run M0(instIndex))] (23:0:1 - 1) */ IfNotBlocked reached[1][13] = 1; if (!(addproc(II, 2, ((P1 *)this)->_5_2_3_instIndex))) continue; /* merge: .(goto)(23, 19, 23) */ reached[1][19] = 1; ; /* merge: instIndex = (instIndex+1)(23, 20, 23) */ reached[1][20] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_2_3_instIndex; ((P1 *)this)->_5_2_3_instIndex = (((P1 *)this)->_5_2_3_instIndex+1); #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_2_3_instIndex); #endif ; /* merge: .(goto)(0, 24, 23) */ reached[1][24] = 1; ; _m = 3; goto P999; /* 3 */ case 121: /* STATE 14 - SubsetSum.pml:370 - [(((ms[instIndex].isDissolved==0)&&(ms[instIndex].type==1)))] (0:0:0 - 1) */ IfNotBlocked reached[1][14] = 1; if (!(((((int)now.ms[ Index(((P1 *)this)->_5_2_3_instIndex, 2050) ].isDissolved)==0)&&(((int)now.ms[ Index(((P1 *)this)->_5_2_3_instIndex, 2050) ].type)==1)))) continue; _m = 3; goto P999; /* 0 */ case 122: /* STATE 15 - SubsetSum.pml:370 - [(run M1(instIndex))] (23:0:1 - 1) */ IfNotBlocked reached[1][15] = 1; if (!(addproc(II, 3, ((P1 *)this)->_5_2_3_instIndex))) continue; /* merge: .(goto)(23, 19, 23) */ reached[1][19] = 1; ; /* merge: instIndex = (instIndex+1)(23, 20, 23) */ reached[1][20] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_2_3_instIndex; ((P1 *)this)->_5_2_3_instIndex = (((P1 *)this)->_5_2_3_instIndex+1); #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_2_3_instIndex); #endif ; /* merge: .(goto)(0, 24, 23) */ reached[1][24] = 1; ; _m = 3; goto P999; /* 3 */ case 123: /* STATE 17 - SubsetSum.pml:371 - [(1)] (23:0:1 - 1) */ IfNotBlocked reached[1][17] = 1; if (!(1)) continue; /* merge: .(goto)(23, 19, 23) */ reached[1][19] = 1; ; /* merge: instIndex = (instIndex+1)(23, 20, 23) */ reached[1][20] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_2_3_instIndex; ((P1 *)this)->_5_2_3_instIndex = (((P1 *)this)->_5_2_3_instIndex+1); #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_2_3_instIndex); #endif ; /* merge: .(goto)(0, 24, 23) */ reached[1][24] = 1; ; _m = 3; goto P999; /* 3 */ case 124: /* STATE 20 - SubsetSum.pml:367 - [instIndex = (instIndex+1)] (0:23:1 - 4) */ IfNotBlocked reached[1][20] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_2_3_instIndex; ((P1 *)this)->_5_2_3_instIndex = (((P1 *)this)->_5_2_3_instIndex+1); #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_2_3_instIndex); #endif ; /* merge: .(goto)(0, 24, 23) */ reached[1][24] = 1; ; _m = 3; goto P999; /* 1 */ case 125: /* STATE 26 - SubsetSum.pml:374 - [instIndex = 0] (0:38:1 - 3) */ IfNotBlocked reached[1][26] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_2_3_instIndex; ((P1 *)this)->_5_2_3_instIndex = 0; #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_2_3_instIndex); #endif ; _m = 3; goto P999; /* 0 */ case 126: /* STATE 28 - SubsetSum.pml:379 - [instIndex = startInstanceIndex] (0:0:1 - 1) */ IfNotBlocked reached[1][28] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_2_4_instIndex; ((P1 *)this)->_5_2_4_instIndex = ((P1 *)this)->_5_startInstanceIndex; #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_2_4_instIndex); #endif ; _m = 3; goto P999; /* 0 */ case 127: /* STATE 29 - SubsetSum.pml:379 - [((instIndex<=endInstanceIndex))] (0:0:0 - 1) */ IfNotBlocked reached[1][29] = 1; if (!((((P1 *)this)->_5_2_4_instIndex<=((P1 *)this)->_5_endInstanceIndex))) continue; _m = 3; goto P999; /* 0 */ case 128: /* STATE 30 - SubsetSum.pml:380 - [((ms[instIndex].isComputing==0))] (0:0:0 - 1) */ IfNotBlocked reached[1][30] = 1; if (!((((int)now.ms[ Index(((P1 *)this)->_5_2_4_instIndex, 2050) ].isComputing)==0))) continue; _m = 3; goto P999; /* 0 */ case 129: /* STATE 31 - SubsetSum.pml:379 - [instIndex = (instIndex+1)] (0:0:1 - 1) */ IfNotBlocked reached[1][31] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_2_4_instIndex; ((P1 *)this)->_5_2_4_instIndex = (((P1 *)this)->_5_2_4_instIndex+1); #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_2_4_instIndex); #endif ; _m = 3; goto P999; /* 0 */ case 130: /* STATE 37 - SubsetSum.pml:382 - [instIndex = 0] (0:43:3 - 3) */ IfNotBlocked reached[1][37] = 1; (trpt+1)->bup.ovals = grab_ints(3); (trpt+1)->bup.ovals[0] = ((P1 *)this)->_5_2_4_instIndex; ((P1 *)this)->_5_2_4_instIndex = 0; #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_2_4_instIndex); #endif ; /* merge: startIndex = (currentBundleIndex*parallelComputationCount)(43, 39, 43) */ reached[1][39] = 1; (trpt+1)->bup.ovals[1] = ((P1 *)this)->_5_startIndex; ((P1 *)this)->_5_startIndex = (((P1 *)this)->_5_currentBundleIndex*((P1 *)this)->_5_parallelComputationCount); #ifdef VAR_RANGES logval("Scheduler:startIndex", ((P1 *)this)->_5_startIndex); #endif ; /* merge: currentBundleIndex = (currentBundleIndex+1)(43, 40, 43) */ reached[1][40] = 1; (trpt+1)->bup.ovals[2] = ((P1 *)this)->_5_currentBundleIndex; ((P1 *)this)->_5_currentBundleIndex = (((P1 *)this)->_5_currentBundleIndex+1); #ifdef VAR_RANGES logval("Scheduler:currentBundleIndex", ((P1 *)this)->_5_currentBundleIndex); #endif ; /* merge: .(goto)(0, 44, 43) */ reached[1][44] = 1; ; _m = 3; goto P999; /* 3 */ case 131: /* STATE 46 - SubsetSum.pml:451 - [startInstanceIndex = (startIndex+1)] (0:64:1 - 3) */ IfNotBlocked reached[1][46] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_startInstanceIndex; ((P1 *)this)->_5_startInstanceIndex = (((P1 *)this)->_5_startIndex+1); #ifdef VAR_RANGES logval("Scheduler:startInstanceIndex", ((P1 *)this)->_5_startInstanceIndex); #endif ; _m = 3; goto P999; /* 0 */ case 132: /* STATE 47 - SubsetSum.pml:367 - [instIndex = startInstanceIndex] (0:0:1 - 1) */ IfNotBlocked reached[1][47] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_3_instIndex; ((P1 *)this)->_5_3_instIndex = ((P1 *)this)->_5_startInstanceIndex; #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_3_instIndex); #endif ; _m = 3; goto P999; /* 0 */ case 133: /* STATE 48 - SubsetSum.pml:367 - [((instIndex<=instanceCountAux))] (0:0:0 - 1) */ IfNotBlocked reached[1][48] = 1; if (!((((P1 *)this)->_5_3_instIndex<=((P1 *)this)->_5_instanceCountAux))) continue; _m = 3; goto P999; /* 0 */ case 134: /* STATE 49 - SubsetSum.pml:369 - [(((ms[instIndex].isDissolved==0)&&(ms[instIndex].type==0)))] (0:0:0 - 1) */ IfNotBlocked reached[1][49] = 1; if (!(((((int)now.ms[ Index(((P1 *)this)->_5_3_instIndex, 2050) ].isDissolved)==0)&&(((int)now.ms[ Index(((P1 *)this)->_5_3_instIndex, 2050) ].type)==0)))) continue; _m = 3; goto P999; /* 0 */ case 135: /* STATE 50 - SubsetSum.pml:369 - [(run M0(instIndex))] (60:0:1 - 1) */ IfNotBlocked reached[1][50] = 1; if (!(addproc(II, 2, ((P1 *)this)->_5_3_instIndex))) continue; /* merge: .(goto)(60, 56, 60) */ reached[1][56] = 1; ; /* merge: instIndex = (instIndex+1)(60, 57, 60) */ reached[1][57] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_3_instIndex; ((P1 *)this)->_5_3_instIndex = (((P1 *)this)->_5_3_instIndex+1); #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_3_instIndex); #endif ; /* merge: .(goto)(0, 61, 60) */ reached[1][61] = 1; ; _m = 3; goto P999; /* 3 */ case 136: /* STATE 51 - SubsetSum.pml:370 - [(((ms[instIndex].isDissolved==0)&&(ms[instIndex].type==1)))] (0:0:0 - 1) */ IfNotBlocked reached[1][51] = 1; if (!(((((int)now.ms[ Index(((P1 *)this)->_5_3_instIndex, 2050) ].isDissolved)==0)&&(((int)now.ms[ Index(((P1 *)this)->_5_3_instIndex, 2050) ].type)==1)))) continue; _m = 3; goto P999; /* 0 */ case 137: /* STATE 52 - SubsetSum.pml:370 - [(run M1(instIndex))] (60:0:1 - 1) */ IfNotBlocked reached[1][52] = 1; if (!(addproc(II, 3, ((P1 *)this)->_5_3_instIndex))) continue; /* merge: .(goto)(60, 56, 60) */ reached[1][56] = 1; ; /* merge: instIndex = (instIndex+1)(60, 57, 60) */ reached[1][57] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_3_instIndex; ((P1 *)this)->_5_3_instIndex = (((P1 *)this)->_5_3_instIndex+1); #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_3_instIndex); #endif ; /* merge: .(goto)(0, 61, 60) */ reached[1][61] = 1; ; _m = 3; goto P999; /* 3 */ case 138: /* STATE 54 - SubsetSum.pml:371 - [(1)] (60:0:1 - 1) */ IfNotBlocked reached[1][54] = 1; if (!(1)) continue; /* merge: .(goto)(60, 56, 60) */ reached[1][56] = 1; ; /* merge: instIndex = (instIndex+1)(60, 57, 60) */ reached[1][57] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_3_instIndex; ((P1 *)this)->_5_3_instIndex = (((P1 *)this)->_5_3_instIndex+1); #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_3_instIndex); #endif ; /* merge: .(goto)(0, 61, 60) */ reached[1][61] = 1; ; _m = 3; goto P999; /* 3 */ case 139: /* STATE 57 - SubsetSum.pml:367 - [instIndex = (instIndex+1)] (0:60:1 - 4) */ IfNotBlocked reached[1][57] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_3_instIndex; ((P1 *)this)->_5_3_instIndex = (((P1 *)this)->_5_3_instIndex+1); #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_3_instIndex); #endif ; /* merge: .(goto)(0, 61, 60) */ reached[1][61] = 1; ; _m = 3; goto P999; /* 1 */ case 140: /* STATE 63 - SubsetSum.pml:374 - [instIndex = 0] (0:75:1 - 3) */ IfNotBlocked reached[1][63] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_3_instIndex; ((P1 *)this)->_5_3_instIndex = 0; #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_3_instIndex); #endif ; _m = 3; goto P999; /* 0 */ case 141: /* STATE 65 - SubsetSum.pml:379 - [instIndex = startInstanceIndex] (0:0:1 - 1) */ IfNotBlocked reached[1][65] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_4_instIndex; ((P1 *)this)->_5_4_instIndex = ((P1 *)this)->_5_startInstanceIndex; #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_4_instIndex); #endif ; _m = 3; goto P999; /* 0 */ case 142: /* STATE 66 - SubsetSum.pml:379 - [((instIndex<=instanceCountAux))] (0:0:0 - 1) */ IfNotBlocked reached[1][66] = 1; if (!((((P1 *)this)->_5_4_instIndex<=((P1 *)this)->_5_instanceCountAux))) continue; _m = 3; goto P999; /* 0 */ case 143: /* STATE 67 - SubsetSum.pml:380 - [((ms[instIndex].isComputing==0))] (0:0:0 - 1) */ IfNotBlocked reached[1][67] = 1; if (!((((int)now.ms[ Index(((P1 *)this)->_5_4_instIndex, 2050) ].isComputing)==0))) continue; _m = 3; goto P999; /* 0 */ case 144: /* STATE 68 - SubsetSum.pml:379 - [instIndex = (instIndex+1)] (0:0:1 - 1) */ IfNotBlocked reached[1][68] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_4_instIndex; ((P1 *)this)->_5_4_instIndex = (((P1 *)this)->_5_4_instIndex+1); #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_4_instIndex); #endif ; _m = 3; goto P999; /* 0 */ case 145: /* STATE 74 - SubsetSum.pml:382 - [instIndex = 0] (0:94:1 - 3) */ IfNotBlocked reached[1][74] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_4_instIndex; ((P1 *)this)->_5_4_instIndex = 0; #ifdef VAR_RANGES logval("Scheduler:instIndex", ((P1 *)this)->_5_4_instIndex); #endif ; _m = 3; goto P999; /* 0 */ case 146: /* STATE 76 - SubsetSum.pml:386 - [i = 0] (0:0:1 - 1) */ IfNotBlocked reached[1][76] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_i; ((P1 *)this)->_5_i = 0; #ifdef VAR_RANGES logval("Scheduler:i", ((P1 *)this)->_5_i); #endif ; _m = 3; goto P999; /* 0 */ case 147: /* STATE 77 - SubsetSum.pml:386 - [((i<=(instanceCount-1)))] (0:0:0 - 1) */ IfNotBlocked reached[1][77] = 1; if (!((((P1 *)this)->_5_i<=(now.instanceCount-1)))) continue; _m = 3; goto P999; /* 0 */ case 148: /* STATE 78 - SubsetSum.pml:387 - [j = 0] (0:0:1 - 1) */ IfNotBlocked reached[1][78] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_j; ((P1 *)this)->_5_j = 0; #ifdef VAR_RANGES logval("Scheduler:j", ((P1 *)this)->_5_j); #endif ; _m = 3; goto P999; /* 0 */ case 149: /* STATE 79 - SubsetSum.pml:387 - [((j<=(38-1)))] (0:0:0 - 1) */ IfNotBlocked reached[1][79] = 1; if (!((((P1 *)this)->_5_j<=(38-1)))) continue; _m = 3; goto P999; /* 0 */ case 150: /* STATE 80 - SubsetSum.pml:388 - [ms[i].x[j] = (ms[i].x[j]+ms[i].x_temp[j])] (0:0:1 - 1) */ IfNotBlocked reached[1][80] = 1; (trpt+1)->bup.oval = now.ms[ Index(((P1 *)this)->_5_i, 2050) ].x[ Index(((P1 *)this)->_5_j, 38) ]; now.ms[ Index(((P1 *)this)->_5_i, 2050) ].x[ Index(((P1 *)this)->_5_j, 38) ] = (now.ms[ Index(((P1 *)this)->_5_i, 2050) ].x[ Index(((P1 *)this)->_5_j, 38) ]+now.ms[ Index(((P1 *)this)->_5_i, 2050) ].x_temp[ Index(((P1 *)this)->_5_j, 38) ]); #ifdef VAR_RANGES logval("ms[Scheduler:i].x[Scheduler:j]", now.ms[ Index(((P1 *)this)->_5_i, 2050) ].x[ Index(((P1 *)this)->_5_j, 38) ]); #endif ; _m = 3; goto P999; /* 0 */ case 151: /* STATE 81 - SubsetSum.pml:389 - [ms[i].x_temp[j] = 0] (0:0:1 - 1) */ IfNotBlocked reached[1][81] = 1; (trpt+1)->bup.oval = now.ms[ Index(((P1 *)this)->_5_i, 2050) ].x_temp[ Index(((P1 *)this)->_5_j, 38) ]; now.ms[ Index(((P1 *)this)->_5_i, 2050) ].x_temp[ Index(((P1 *)this)->_5_j, 38) ] = 0; #ifdef VAR_RANGES logval("ms[Scheduler:i].x_temp[Scheduler:j]", now.ms[ Index(((P1 *)this)->_5_i, 2050) ].x_temp[ Index(((P1 *)this)->_5_j, 38) ]); #endif ; _m = 3; goto P999; /* 0 */ case 152: /* STATE 82 - SubsetSum.pml:387 - [j = (j+1)] (0:0:1 - 1) */ IfNotBlocked reached[1][82] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_j; ((P1 *)this)->_5_j = (((P1 *)this)->_5_j+1); #ifdef VAR_RANGES logval("Scheduler:j", ((P1 *)this)->_5_j); #endif ; _m = 3; goto P999; /* 0 */ case 153: /* STATE 88 - SubsetSum.pml:386 - [i = (i+1)] (0:91:1 - 3) */ IfNotBlocked reached[1][88] = 1; (trpt+1)->bup.oval = ((P1 *)this)->_5_i; ((P1 *)this)->_5_i = (((P1 *)this)->_5_i+1); #ifdef VAR_RANGES logval("Scheduler:i", ((P1 *)this)->_5_i); #endif ; /* merge: .(goto)(0, 92, 91) */ reached[1][92] = 1; ; _m = 3; goto P999; /* 1 */ case 154: /* STATE 95 - SubsetSum.pml:458 - [state = step_complete] (0:0:1 - 3) */ IfNotBlocked reached[1][95] = 1; (trpt+1)->bup.oval = state; state = 1; #ifdef VAR_RANGES logval("state", state); #endif ; _m = 3; goto P999; /* 0 */ case 155: /* STATE 112 - SubsetSum.pml:395 - [D_STEP] */ IfNotBlocked sv_save(); reached[1][112] = 1; reached[1][t->st] = 1; reached[1][tt] = 1; S_604_0: /* 2 */ now.invariantPrecond = 0; #ifdef VAR_RANGES logval("invariantPrecond", ((int)now.invariantPrecond)); #endif ; S_605_0: /* 2 */ ((P1 *)this)->_5_6_8_ind = 0; #ifdef VAR_RANGES logval("Scheduler:ind", ((P1 *)this)->_5_6_8_ind); #endif ; S_617_0: /* 2 */ S_616_0: /* 2 */ S_606_0: /* 2 */ if (!((((P1 *)this)->_5_6_8_ind<=(now.instanceCount-1)))) goto S_616_1; S_611_0: /* 2 */ S_607_0: /* 2 */ if (!(((now.ms[ Index(((P1 *)this)->_5_6_8_ind, 2050) ].x[17]>=1)&&(now.ms[ Index(((P1 *)this)->_5_6_8_ind, 2050) ].x[23]>=1)))) goto S_611_1; S_608_0: /* 2 */ now.invariantPrecond = 1; #ifdef VAR_RANGES logval("invariantPrecond", ((int)now.invariantPrecond)); #endif ; goto S_612_0; S_611_1: /* 3 */ S_609_0: /* 2 */ /* else */; S_610_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_612_0; S_611_2: /* 3 */ Uerror("blocking sel in d_step (nr.28, near line 399)"); S_612_0: /* 2 */ S_613_0: /* 2 */ ((P1 *)this)->_5_6_8_ind = (((P1 *)this)->_5_6_8_ind+1); #ifdef VAR_RANGES logval("Scheduler:ind", ((P1 *)this)->_5_6_8_ind); #endif ; goto S_617_0; /* ';' */ S_616_1: /* 3 */ S_614_0: /* 2 */ /* else */; S_615_0: /* 2 */ goto S_618_0; /* 'goto' */ S_616_2: /* 3 */ Uerror("blocking sel in d_step (nr.29, near line 404)"); S_618_0: /* 2 */ goto S_619_0; /* 'break' */ S_619_0: /* 2 */ ((P1 *)this)->_5_6_8_ind = 0; #ifdef VAR_RANGES logval("Scheduler:ind", ((P1 *)this)->_5_6_8_ind); #endif ; goto S_644_0; S_644_0: /* 1 */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 156: /* STATE 135 - SubsetSum.pml:410 - [D_STEP] */ IfNotBlocked sv_save(); reached[1][135] = 1; reached[1][t->st] = 1; reached[1][tt] = 1; S_622_0: /* 2 */ now.invariantPostcond = 1; #ifdef VAR_RANGES logval("invariantPostcond", ((int)now.invariantPostcond)); #endif ; S_623_0: /* 2 */ ((P1 *)this)->_5_7_9_ind = 0; #ifdef VAR_RANGES logval("Scheduler:ind", ((P1 *)this)->_5_7_9_ind); #endif ; S_640_0: /* 2 */ S_639_0: /* 2 */ S_624_0: /* 2 */ if (!((((P1 *)this)->_5_7_9_ind<=(now.instanceCount-1)))) goto S_639_1; S_634_0: /* 2 */ S_625_0: /* 2 */ if (!(((now.ms[ Index(((P1 *)this)->_5_7_9_ind, 2050) ].x[17]>=1)&&(now.ms[ Index(((P1 *)this)->_5_7_9_ind, 2050) ].x[23]>=1)))) goto S_634_1; S_630_0: /* 2 */ S_626_0: /* 2 */ if (!((now.ms[ Index(((P1 *)this)->_5_7_9_ind, 2050) ].x[28]<9))) goto S_630_1; S_627_0: /* 2 */ now.invariantPostcond = 0; #ifdef VAR_RANGES logval("invariantPostcond", ((int)now.invariantPostcond)); #endif ; goto S_631_0; S_630_1: /* 3 */ S_628_0: /* 2 */ /* else */; S_629_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_631_0; S_630_2: /* 3 */ Uerror("blocking sel in d_step (nr.30, near line 416)"); S_631_0: /* 2 */ goto S_635_0; S_634_1: /* 3 */ S_632_0: /* 2 */ /* else */; S_633_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_635_0; S_634_2: /* 3 */ Uerror("blocking sel in d_step (nr.31, near line 414)"); S_635_0: /* 2 */ S_636_0: /* 2 */ ((P1 *)this)->_5_7_9_ind = (((P1 *)this)->_5_7_9_ind+1); #ifdef VAR_RANGES logval("Scheduler:ind", ((P1 *)this)->_5_7_9_ind); #endif ; goto S_640_0; /* ';' */ S_639_1: /* 3 */ S_637_0: /* 2 */ /* else */; S_638_0: /* 2 */ goto S_641_0; /* 'goto' */ S_639_2: /* 3 */ Uerror("blocking sel in d_step (nr.32, near line 423)"); S_641_0: /* 2 */ goto S_642_0; /* 'break' */ S_642_0: /* 2 */ ((P1 *)this)->_5_7_9_ind = 0; #ifdef VAR_RANGES logval("Scheduler:ind", ((P1 *)this)->_5_7_9_ind); #endif ; goto S_645_0; S_645_0: /* 1 */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 157: /* STATE 137 - SubsetSum.pml:463 - [isPsystemStep = 1] (0:0:1 - 1) */ IfNotBlocked reached[1][137] = 1; (trpt+1)->bup.oval = ((int)now.isPsystemStep); now.isPsystemStep = 1; #ifdef VAR_RANGES logval("isPsystemStep", ((int)now.isPsystemStep)); #endif ; _m = 3; goto P999; /* 0 */ case 158: /* STATE 138 - SubsetSum.pml:464 - [isPsystemStep = 0] (0:0:1 - 1) */ IfNotBlocked reached[1][138] = 1; (trpt+1)->bup.oval = ((int)now.isPsystemStep); now.isPsystemStep = 0; #ifdef VAR_RANGES logval("isPsystemStep", ((int)now.isPsystemStep)); #endif ; _m = 3; goto P999; /* 0 */ case 159: /* STATE 139 - SubsetSum.pml:465 - [step = (step+1)] (0:0:1 - 1) */ IfNotBlocked reached[1][139] = 1; (trpt+1)->bup.oval = now.step; now.step = (now.step+1); #ifdef VAR_RANGES logval("step", now.step); #endif ; _m = 3; goto P999; /* 0 */ case 160: /* STATE 140 - SubsetSum.pml:467 - [(run Log(-(1)))] (0:0:0 - 1) */ IfNotBlocked reached[1][140] = 1; if (!(addproc(II, 0, -(1)))) continue; _m = 3; goto P999; /* 0 */ case 161: /* STATE 146 - SubsetSum.pml:472 - [-end-] (0:0:0 - 3) */ IfNotBlocked reached[1][146] = 1; if (!delproc(1, II)) continue; _m = 3; goto P999; /* 0 */ /* PROC Log */ case 162: /* STATE 508 - SubsetSum.pml:264 - [D_STEP] */ if (!(((boq == -1 && ((((P0 *)this)->instanceIndex>=0)&&(((P0 *)this)->instanceIndexinstanceIndex== -(1)))) || (boq == -1 /* else */))) continue; sv_save(); reached[0][508] = 1; reached[0][t->st] = 1; reached[0][tt] = 1; S_504_0: /* 2 */ S_001_0: /* 2 */ if (!(((((P0 *)this)->instanceIndex>=0)&&(((P0 *)this)->instanceIndexinstanceIndex); S_012_0: /* 2 */ S_004_0: /* 2 */ if (!((((int)now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].type)==0))) goto S_012_1; S_005_0: /* 2 */ Printf("type: 2"); goto S_013_0; S_012_1: /* 3 */ S_006_0: /* 2 */ if (!((((int)now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].type)==1))) goto S_012_2; S_007_0: /* 2 */ Printf("type: 1"); goto S_013_0; S_012_2: /* 3 */ S_008_0: /* 2 */ if (!((((int)now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].type)==2))) goto S_012_3; S_009_0: /* 2 */ Printf("type: 0"); goto S_013_0; S_012_3: /* 3 */ S_010_0: /* 2 */ /* else */; S_011_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_013_0; S_012_4: /* 3 */ Uerror("blocking sel in d_step (nr.33, near line 97)"); S_013_0: /* 2 */ S_018_0: /* 2 */ S_014_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[0]>=1))) goto S_018_1; S_015_0: /* 2 */ Printf("F:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[0]); goto S_019_0; S_018_1: /* 3 */ S_016_0: /* 2 */ /* else */; S_017_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_019_0; S_018_2: /* 3 */ Uerror("blocking sel in d_step (nr.34, near line 105)"); S_019_0: /* 2 */ S_024_0: /* 2 */ S_020_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[1]>=1))) goto S_024_1; S_021_0: /* 2 */ Printf("no:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[1]); goto S_025_0; S_024_1: /* 3 */ S_022_0: /* 2 */ /* else */; S_023_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_025_0; S_024_2: /* 3 */ Uerror("blocking sel in d_step (nr.35, near line 109)"); S_025_0: /* 2 */ S_030_0: /* 2 */ S_026_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[2]>=1))) goto S_030_1; S_027_0: /* 2 */ Printf("v_9:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[2]); goto S_031_0; S_030_1: /* 3 */ S_028_0: /* 2 */ /* else */; S_029_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_031_0; S_030_2: /* 3 */ Uerror("blocking sel in d_step (nr.36, near line 113)"); S_031_0: /* 2 */ S_036_0: /* 2 */ S_032_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[3]>=1))) goto S_036_1; S_033_0: /* 2 */ Printf("v_3:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[3]); goto S_037_0; S_036_1: /* 3 */ S_034_0: /* 2 */ /* else */; S_035_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_037_0; S_036_2: /* 3 */ Uerror("blocking sel in d_step (nr.37, near line 117)"); S_037_0: /* 2 */ S_042_0: /* 2 */ S_038_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[4]>=1))) goto S_042_1; S_039_0: /* 2 */ Printf("T:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[4]); goto S_043_0; S_042_1: /* 3 */ S_040_0: /* 2 */ /* else */; S_041_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_043_0; S_042_2: /* 3 */ Uerror("blocking sel in d_step (nr.38, near line 121)"); S_043_0: /* 2 */ S_048_0: /* 2 */ S_044_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[5]>=1))) goto S_048_1; S_045_0: /* 2 */ Printf("v_4:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[5]); goto S_049_0; S_048_1: /* 3 */ S_046_0: /* 2 */ /* else */; S_047_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_049_0; S_048_2: /* 3 */ Uerror("blocking sel in d_step (nr.39, near line 125)"); S_049_0: /* 2 */ S_054_0: /* 2 */ S_050_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[6]>=1))) goto S_054_1; S_051_0: /* 2 */ Printf("v_1:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[6]); goto S_055_0; S_054_1: /* 3 */ S_052_0: /* 2 */ /* else */; S_053_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_055_0; S_054_2: /* 3 */ Uerror("blocking sel in d_step (nr.40, near line 129)"); S_055_0: /* 2 */ S_060_0: /* 2 */ S_056_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[7]>=1))) goto S_060_1; S_057_0: /* 2 */ Printf("v_2:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[7]); goto S_061_0; S_060_1: /* 3 */ S_058_0: /* 2 */ /* else */; S_059_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_061_0; S_060_2: /* 3 */ Uerror("blocking sel in d_step (nr.41, near line 133)"); S_061_0: /* 2 */ S_066_0: /* 2 */ S_062_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[8]>=1))) goto S_066_1; S_063_0: /* 2 */ Printf("B_1:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[8]); goto S_067_0; S_066_1: /* 3 */ S_064_0: /* 2 */ /* else */; S_065_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_067_0; S_066_2: /* 3 */ Uerror("blocking sel in d_step (nr.42, near line 137)"); S_067_0: /* 2 */ S_072_0: /* 2 */ S_068_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[9]>=1))) goto S_072_1; S_069_0: /* 2 */ Printf("v_7:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[9]); goto S_073_0; S_072_1: /* 3 */ S_070_0: /* 2 */ /* else */; S_071_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_073_0; S_072_2: /* 3 */ Uerror("blocking sel in d_step (nr.43, near line 141)"); S_073_0: /* 2 */ S_078_0: /* 2 */ S_074_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[10]>=1))) goto S_078_1; S_075_0: /* 2 */ Printf("v_8:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[10]); goto S_079_0; S_078_1: /* 3 */ S_076_0: /* 2 */ /* else */; S_077_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_079_0; S_078_2: /* 3 */ Uerror("blocking sel in d_step (nr.44, near line 145)"); S_079_0: /* 2 */ S_084_0: /* 2 */ S_080_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[11]>=1))) goto S_084_1; S_081_0: /* 2 */ Printf("B_2:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[11]); goto S_085_0; S_084_1: /* 3 */ S_082_0: /* 2 */ /* else */; S_083_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_085_0; S_084_2: /* 3 */ Uerror("blocking sel in d_step (nr.45, near line 149)"); S_085_0: /* 2 */ S_090_0: /* 2 */ S_086_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[12]>=1))) goto S_090_1; S_087_0: /* 2 */ Printf("S:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[12]); goto S_091_0; S_090_1: /* 3 */ S_088_0: /* 2 */ /* else */; S_089_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_091_0; S_090_2: /* 3 */ Uerror("blocking sel in d_step (nr.46, near line 153)"); S_091_0: /* 2 */ S_096_0: /* 2 */ S_092_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[13]>=1))) goto S_096_1; S_093_0: /* 2 */ Printf("v_5:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[13]); goto S_097_0; S_096_1: /* 3 */ S_094_0: /* 2 */ /* else */; S_095_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_097_0; S_096_2: /* 3 */ Uerror("blocking sel in d_step (nr.47, near line 157)"); S_097_0: /* 2 */ S_102_0: /* 2 */ S_098_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[14]>=1))) goto S_102_1; S_099_0: /* 2 */ Printf("B_3:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[14]); goto S_103_0; S_102_1: /* 3 */ S_100_0: /* 2 */ /* else */; S_101_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_103_0; S_102_2: /* 3 */ Uerror("blocking sel in d_step (nr.48, near line 161)"); S_103_0: /* 2 */ S_108_0: /* 2 */ S_104_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[15]>=1))) goto S_108_1; S_105_0: /* 2 */ Printf("B_4:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[15]); goto S_109_0; S_108_1: /* 3 */ S_106_0: /* 2 */ /* else */; S_107_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_109_0; S_108_2: /* 3 */ Uerror("blocking sel in d_step (nr.49, near line 165)"); S_109_0: /* 2 */ S_114_0: /* 2 */ S_110_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[16]>=1))) goto S_114_1; S_111_0: /* 2 */ Printf("v_6:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[16]); goto S_115_0; S_114_1: /* 3 */ S_112_0: /* 2 */ /* else */; S_113_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_115_0; S_114_2: /* 3 */ Uerror("blocking sel in d_step (nr.50, near line 169)"); S_115_0: /* 2 */ S_120_0: /* 2 */ S_116_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[17]>=1))) goto S_120_1; S_117_0: /* 2 */ Printf("B_5:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[17]); goto S_121_0; S_120_1: /* 3 */ S_118_0: /* 2 */ /* else */; S_119_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_121_0; S_120_2: /* 3 */ Uerror("blocking sel in d_step (nr.51, near line 173)"); S_121_0: /* 2 */ S_126_0: /* 2 */ S_122_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[18]>=1))) goto S_126_1; S_123_0: /* 2 */ Printf("B_6:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[18]); goto S_127_0; S_126_1: /* 3 */ S_124_0: /* 2 */ /* else */; S_125_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_127_0; S_126_2: /* 3 */ Uerror("blocking sel in d_step (nr.52, near line 177)"); S_127_0: /* 2 */ S_132_0: /* 2 */ S_128_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[19]>=1))) goto S_132_1; S_129_0: /* 2 */ Printf("B_7:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[19]); goto S_133_0; S_132_1: /* 3 */ S_130_0: /* 2 */ /* else */; S_131_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_133_0; S_132_2: /* 3 */ Uerror("blocking sel in d_step (nr.53, near line 181)"); S_133_0: /* 2 */ S_138_0: /* 2 */ S_134_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[20]>=1))) goto S_138_1; S_135_0: /* 2 */ Printf("B_8:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[20]); goto S_139_0; S_138_1: /* 3 */ S_136_0: /* 2 */ /* else */; S_137_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_139_0; S_138_2: /* 3 */ Uerror("blocking sel in d_step (nr.54, near line 185)"); S_139_0: /* 2 */ S_144_0: /* 2 */ S_140_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[21]>=1))) goto S_144_1; S_141_0: /* 2 */ Printf("B_9:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[21]); goto S_145_0; S_144_1: /* 3 */ S_142_0: /* 2 */ /* else */; S_143_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_145_0; S_144_2: /* 3 */ Uerror("blocking sel in d_step (nr.55, near line 189)"); S_145_0: /* 2 */ S_150_0: /* 2 */ S_146_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[22]>=1))) goto S_150_1; S_147_0: /* 2 */ Printf("Y:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[22]); goto S_151_0; S_150_1: /* 3 */ S_148_0: /* 2 */ /* else */; S_149_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_151_0; S_150_2: /* 3 */ Uerror("blocking sel in d_step (nr.56, near line 193)"); S_151_0: /* 2 */ S_156_0: /* 2 */ S_152_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[23]>=1))) goto S_156_1; S_153_0: /* 2 */ Printf("X:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[23]); goto S_157_0; S_156_1: /* 3 */ S_154_0: /* 2 */ /* else */; S_155_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_157_0; S_156_2: /* 3 */ Uerror("blocking sel in d_step (nr.57, near line 197)"); S_157_0: /* 2 */ S_162_0: /* 2 */ S_158_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[24]>=1))) goto S_162_1; S_159_0: /* 2 */ Printf("A_10:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[24]); goto S_163_0; S_162_1: /* 3 */ S_160_0: /* 2 */ /* else */; S_161_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_163_0; S_162_2: /* 3 */ Uerror("blocking sel in d_step (nr.58, near line 201)"); S_163_0: /* 2 */ S_168_0: /* 2 */ S_164_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[25]>=1))) goto S_168_1; S_165_0: /* 2 */ Printf("yes:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[25]); goto S_169_0; S_168_1: /* 3 */ S_166_0: /* 2 */ /* else */; S_167_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_169_0; S_168_2: /* 3 */ Uerror("blocking sel in d_step (nr.59, near line 205)"); S_169_0: /* 2 */ S_174_0: /* 2 */ S_170_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[26]>=1))) goto S_174_1; S_171_0: /* 2 */ Printf("A_9:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[26]); goto S_175_0; S_174_1: /* 3 */ S_172_0: /* 2 */ /* else */; S_173_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_175_0; S_174_2: /* 3 */ Uerror("blocking sel in d_step (nr.60, near line 209)"); S_175_0: /* 2 */ S_180_0: /* 2 */ S_176_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[27]>=1))) goto S_180_1; S_177_0: /* 2 */ Printf("A_8:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[27]); goto S_181_0; S_180_1: /* 3 */ S_178_0: /* 2 */ /* else */; S_179_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_181_0; S_180_2: /* 3 */ Uerror("blocking sel in d_step (nr.61, near line 213)"); S_181_0: /* 2 */ S_186_0: /* 2 */ S_182_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[28]>=1))) goto S_186_1; S_183_0: /* 2 */ Printf("v:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[28]); goto S_187_0; S_186_1: /* 3 */ S_184_0: /* 2 */ /* else */; S_185_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_187_0; S_186_2: /* 3 */ Uerror("blocking sel in d_step (nr.62, near line 217)"); S_187_0: /* 2 */ S_192_0: /* 2 */ S_188_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[29]>=1))) goto S_192_1; S_189_0: /* 2 */ Printf("A_7:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[29]); goto S_193_0; S_192_1: /* 3 */ S_190_0: /* 2 */ /* else */; S_191_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_193_0; S_192_2: /* 3 */ Uerror("blocking sel in d_step (nr.63, near line 221)"); S_193_0: /* 2 */ S_198_0: /* 2 */ S_194_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[30]>=1))) goto S_198_1; S_195_0: /* 2 */ Printf("B_10:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[30]); goto S_199_0; S_198_1: /* 3 */ S_196_0: /* 2 */ /* else */; S_197_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_199_0; S_198_2: /* 3 */ Uerror("blocking sel in d_step (nr.64, near line 225)"); S_199_0: /* 2 */ S_204_0: /* 2 */ S_200_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[31]>=1))) goto S_204_1; S_201_0: /* 2 */ Printf("A_6:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[31]); goto S_205_0; S_204_1: /* 3 */ S_202_0: /* 2 */ /* else */; S_203_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_205_0; S_204_2: /* 3 */ Uerror("blocking sel in d_step (nr.65, near line 229)"); S_205_0: /* 2 */ S_210_0: /* 2 */ S_206_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[32]>=1))) goto S_210_1; S_207_0: /* 2 */ Printf("A_1:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[32]); goto S_211_0; S_210_1: /* 3 */ S_208_0: /* 2 */ /* else */; S_209_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_211_0; S_210_2: /* 3 */ Uerror("blocking sel in d_step (nr.66, near line 233)"); S_211_0: /* 2 */ S_216_0: /* 2 */ S_212_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[33]>=1))) goto S_216_1; S_213_0: /* 2 */ Printf("A_5:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[33]); goto S_217_0; S_216_1: /* 3 */ S_214_0: /* 2 */ /* else */; S_215_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_217_0; S_216_2: /* 3 */ Uerror("blocking sel in d_step (nr.67, near line 237)"); S_217_0: /* 2 */ S_222_0: /* 2 */ S_218_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[34]>=1))) goto S_222_1; S_219_0: /* 2 */ Printf("A_4:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[34]); goto S_223_0; S_222_1: /* 3 */ S_220_0: /* 2 */ /* else */; S_221_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_223_0; S_222_2: /* 3 */ Uerror("blocking sel in d_step (nr.68, near line 241)"); S_223_0: /* 2 */ S_228_0: /* 2 */ S_224_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[35]>=1))) goto S_228_1; S_225_0: /* 2 */ Printf("A_3:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[35]); goto S_229_0; S_228_1: /* 3 */ S_226_0: /* 2 */ /* else */; S_227_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_229_0; S_228_2: /* 3 */ Uerror("blocking sel in d_step (nr.69, near line 245)"); S_229_0: /* 2 */ S_234_0: /* 2 */ S_230_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[36]>=1))) goto S_234_1; S_231_0: /* 2 */ Printf("v_10:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[36]); goto S_235_0; S_234_1: /* 3 */ S_232_0: /* 2 */ /* else */; S_233_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_235_0; S_234_2: /* 3 */ Uerror("blocking sel in d_step (nr.70, near line 249)"); S_235_0: /* 2 */ S_240_0: /* 2 */ S_236_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[37]>=1))) goto S_240_1; S_237_0: /* 2 */ Printf("A_2:%d,", now.ms[ Index(((P0 *)this)->instanceIndex, 2050) ].x[37]); goto S_241_0; S_240_1: /* 3 */ S_238_0: /* 2 */ /* else */; S_239_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_241_0; S_240_2: /* 3 */ Uerror("blocking sel in d_step (nr.71, near line 253)"); S_241_0: /* 2 */ S_242_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_505_0; S_504_1: /* 3 */ S_245_0: /* 2 */ if (!((((P0 *)this)->instanceIndex== -(1)))) goto S_504_2; S_246_0: /* 2 */ ((P0 *)this)->_4_1_i = 0; #ifdef VAR_RANGES logval("Log:i", ((P0 *)this)->_4_1_i); #endif ; S_500_0: /* 2 */ S_499_0: /* 2 */ S_247_0: /* 2 */ if (!((((P0 *)this)->_4_1_i<=(now.instanceCount-1)))) goto S_499_1; S_494_0: /* 2 */ S_248_0: /* 2 */ if (!((((int)now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].isDissolved)==0))) goto S_494_1; S_491_0: /* 2 */ S_249_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); S_490_0: /* 2 */ S_250_0: /* 2 */ Printf("\nStep: %d Instance #: %d", now.step, ((P0 *)this)->_4_1_i); S_259_0: /* 2 */ S_251_0: /* 2 */ if (!((((int)now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].type)==0))) goto S_259_1; S_252_0: /* 2 */ Printf("type: 2"); goto S_260_0; S_259_1: /* 3 */ S_253_0: /* 2 */ if (!((((int)now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].type)==1))) goto S_259_2; S_254_0: /* 2 */ Printf("type: 1"); goto S_260_0; S_259_2: /* 3 */ S_255_0: /* 2 */ if (!((((int)now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].type)==2))) goto S_259_3; S_256_0: /* 2 */ Printf("type: 0"); goto S_260_0; S_259_3: /* 3 */ S_257_0: /* 2 */ /* else */; S_258_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_260_0; S_259_4: /* 3 */ Uerror("blocking sel in d_step (nr.72, near line 97)"); S_260_0: /* 2 */ S_265_0: /* 2 */ S_261_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[0]>=1))) goto S_265_1; S_262_0: /* 2 */ Printf("F:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[0]); goto S_266_0; S_265_1: /* 3 */ S_263_0: /* 2 */ /* else */; S_264_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_266_0; S_265_2: /* 3 */ Uerror("blocking sel in d_step (nr.73, near line 105)"); S_266_0: /* 2 */ S_271_0: /* 2 */ S_267_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[1]>=1))) goto S_271_1; S_268_0: /* 2 */ Printf("no:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[1]); goto S_272_0; S_271_1: /* 3 */ S_269_0: /* 2 */ /* else */; S_270_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_272_0; S_271_2: /* 3 */ Uerror("blocking sel in d_step (nr.74, near line 109)"); S_272_0: /* 2 */ S_277_0: /* 2 */ S_273_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[2]>=1))) goto S_277_1; S_274_0: /* 2 */ Printf("v_9:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[2]); goto S_278_0; S_277_1: /* 3 */ S_275_0: /* 2 */ /* else */; S_276_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_278_0; S_277_2: /* 3 */ Uerror("blocking sel in d_step (nr.75, near line 113)"); S_278_0: /* 2 */ S_283_0: /* 2 */ S_279_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[3]>=1))) goto S_283_1; S_280_0: /* 2 */ Printf("v_3:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[3]); goto S_284_0; S_283_1: /* 3 */ S_281_0: /* 2 */ /* else */; S_282_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_284_0; S_283_2: /* 3 */ Uerror("blocking sel in d_step (nr.76, near line 117)"); S_284_0: /* 2 */ S_289_0: /* 2 */ S_285_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[4]>=1))) goto S_289_1; S_286_0: /* 2 */ Printf("T:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[4]); goto S_290_0; S_289_1: /* 3 */ S_287_0: /* 2 */ /* else */; S_288_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_290_0; S_289_2: /* 3 */ Uerror("blocking sel in d_step (nr.77, near line 121)"); S_290_0: /* 2 */ S_295_0: /* 2 */ S_291_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[5]>=1))) goto S_295_1; S_292_0: /* 2 */ Printf("v_4:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[5]); goto S_296_0; S_295_1: /* 3 */ S_293_0: /* 2 */ /* else */; S_294_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_296_0; S_295_2: /* 3 */ Uerror("blocking sel in d_step (nr.78, near line 125)"); S_296_0: /* 2 */ S_301_0: /* 2 */ S_297_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[6]>=1))) goto S_301_1; S_298_0: /* 2 */ Printf("v_1:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[6]); goto S_302_0; S_301_1: /* 3 */ S_299_0: /* 2 */ /* else */; S_300_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_302_0; S_301_2: /* 3 */ Uerror("blocking sel in d_step (nr.79, near line 129)"); S_302_0: /* 2 */ S_307_0: /* 2 */ S_303_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[7]>=1))) goto S_307_1; S_304_0: /* 2 */ Printf("v_2:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[7]); goto S_308_0; S_307_1: /* 3 */ S_305_0: /* 2 */ /* else */; S_306_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_308_0; S_307_2: /* 3 */ Uerror("blocking sel in d_step (nr.80, near line 133)"); S_308_0: /* 2 */ S_313_0: /* 2 */ S_309_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[8]>=1))) goto S_313_1; S_310_0: /* 2 */ Printf("B_1:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[8]); goto S_314_0; S_313_1: /* 3 */ S_311_0: /* 2 */ /* else */; S_312_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_314_0; S_313_2: /* 3 */ Uerror("blocking sel in d_step (nr.81, near line 137)"); S_314_0: /* 2 */ S_319_0: /* 2 */ S_315_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[9]>=1))) goto S_319_1; S_316_0: /* 2 */ Printf("v_7:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[9]); goto S_320_0; S_319_1: /* 3 */ S_317_0: /* 2 */ /* else */; S_318_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_320_0; S_319_2: /* 3 */ Uerror("blocking sel in d_step (nr.82, near line 141)"); S_320_0: /* 2 */ S_325_0: /* 2 */ S_321_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[10]>=1))) goto S_325_1; S_322_0: /* 2 */ Printf("v_8:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[10]); goto S_326_0; S_325_1: /* 3 */ S_323_0: /* 2 */ /* else */; S_324_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_326_0; S_325_2: /* 3 */ Uerror("blocking sel in d_step (nr.83, near line 145)"); S_326_0: /* 2 */ S_331_0: /* 2 */ S_327_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[11]>=1))) goto S_331_1; S_328_0: /* 2 */ Printf("B_2:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[11]); goto S_332_0; S_331_1: /* 3 */ S_329_0: /* 2 */ /* else */; S_330_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_332_0; S_331_2: /* 3 */ Uerror("blocking sel in d_step (nr.84, near line 149)"); S_332_0: /* 2 */ S_337_0: /* 2 */ S_333_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[12]>=1))) goto S_337_1; S_334_0: /* 2 */ Printf("S:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[12]); goto S_338_0; S_337_1: /* 3 */ S_335_0: /* 2 */ /* else */; S_336_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_338_0; S_337_2: /* 3 */ Uerror("blocking sel in d_step (nr.85, near line 153)"); S_338_0: /* 2 */ S_343_0: /* 2 */ S_339_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[13]>=1))) goto S_343_1; S_340_0: /* 2 */ Printf("v_5:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[13]); goto S_344_0; S_343_1: /* 3 */ S_341_0: /* 2 */ /* else */; S_342_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_344_0; S_343_2: /* 3 */ Uerror("blocking sel in d_step (nr.86, near line 157)"); S_344_0: /* 2 */ S_349_0: /* 2 */ S_345_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[14]>=1))) goto S_349_1; S_346_0: /* 2 */ Printf("B_3:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[14]); goto S_350_0; S_349_1: /* 3 */ S_347_0: /* 2 */ /* else */; S_348_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_350_0; S_349_2: /* 3 */ Uerror("blocking sel in d_step (nr.87, near line 161)"); S_350_0: /* 2 */ S_355_0: /* 2 */ S_351_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[15]>=1))) goto S_355_1; S_352_0: /* 2 */ Printf("B_4:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[15]); goto S_356_0; S_355_1: /* 3 */ S_353_0: /* 2 */ /* else */; S_354_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_356_0; S_355_2: /* 3 */ Uerror("blocking sel in d_step (nr.88, near line 165)"); S_356_0: /* 2 */ S_361_0: /* 2 */ S_357_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[16]>=1))) goto S_361_1; S_358_0: /* 2 */ Printf("v_6:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[16]); goto S_362_0; S_361_1: /* 3 */ S_359_0: /* 2 */ /* else */; S_360_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_362_0; S_361_2: /* 3 */ Uerror("blocking sel in d_step (nr.89, near line 169)"); S_362_0: /* 2 */ S_367_0: /* 2 */ S_363_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[17]>=1))) goto S_367_1; S_364_0: /* 2 */ Printf("B_5:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[17]); goto S_368_0; S_367_1: /* 3 */ S_365_0: /* 2 */ /* else */; S_366_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_368_0; S_367_2: /* 3 */ Uerror("blocking sel in d_step (nr.90, near line 173)"); S_368_0: /* 2 */ S_373_0: /* 2 */ S_369_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[18]>=1))) goto S_373_1; S_370_0: /* 2 */ Printf("B_6:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[18]); goto S_374_0; S_373_1: /* 3 */ S_371_0: /* 2 */ /* else */; S_372_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_374_0; S_373_2: /* 3 */ Uerror("blocking sel in d_step (nr.91, near line 177)"); S_374_0: /* 2 */ S_379_0: /* 2 */ S_375_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[19]>=1))) goto S_379_1; S_376_0: /* 2 */ Printf("B_7:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[19]); goto S_380_0; S_379_1: /* 3 */ S_377_0: /* 2 */ /* else */; S_378_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_380_0; S_379_2: /* 3 */ Uerror("blocking sel in d_step (nr.92, near line 181)"); S_380_0: /* 2 */ S_385_0: /* 2 */ S_381_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[20]>=1))) goto S_385_1; S_382_0: /* 2 */ Printf("B_8:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[20]); goto S_386_0; S_385_1: /* 3 */ S_383_0: /* 2 */ /* else */; S_384_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_386_0; S_385_2: /* 3 */ Uerror("blocking sel in d_step (nr.93, near line 185)"); S_386_0: /* 2 */ S_391_0: /* 2 */ S_387_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[21]>=1))) goto S_391_1; S_388_0: /* 2 */ Printf("B_9:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[21]); goto S_392_0; S_391_1: /* 3 */ S_389_0: /* 2 */ /* else */; S_390_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_392_0; S_391_2: /* 3 */ Uerror("blocking sel in d_step (nr.94, near line 189)"); S_392_0: /* 2 */ S_397_0: /* 2 */ S_393_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[22]>=1))) goto S_397_1; S_394_0: /* 2 */ Printf("Y:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[22]); goto S_398_0; S_397_1: /* 3 */ S_395_0: /* 2 */ /* else */; S_396_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_398_0; S_397_2: /* 3 */ Uerror("blocking sel in d_step (nr.95, near line 193)"); S_398_0: /* 2 */ S_403_0: /* 2 */ S_399_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[23]>=1))) goto S_403_1; S_400_0: /* 2 */ Printf("X:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[23]); goto S_404_0; S_403_1: /* 3 */ S_401_0: /* 2 */ /* else */; S_402_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_404_0; S_403_2: /* 3 */ Uerror("blocking sel in d_step (nr.96, near line 197)"); S_404_0: /* 2 */ S_409_0: /* 2 */ S_405_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[24]>=1))) goto S_409_1; S_406_0: /* 2 */ Printf("A_10:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[24]); goto S_410_0; S_409_1: /* 3 */ S_407_0: /* 2 */ /* else */; S_408_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_410_0; S_409_2: /* 3 */ Uerror("blocking sel in d_step (nr.97, near line 201)"); S_410_0: /* 2 */ S_415_0: /* 2 */ S_411_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[25]>=1))) goto S_415_1; S_412_0: /* 2 */ Printf("yes:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[25]); goto S_416_0; S_415_1: /* 3 */ S_413_0: /* 2 */ /* else */; S_414_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_416_0; S_415_2: /* 3 */ Uerror("blocking sel in d_step (nr.98, near line 205)"); S_416_0: /* 2 */ S_421_0: /* 2 */ S_417_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[26]>=1))) goto S_421_1; S_418_0: /* 2 */ Printf("A_9:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[26]); goto S_422_0; S_421_1: /* 3 */ S_419_0: /* 2 */ /* else */; S_420_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_422_0; S_421_2: /* 3 */ Uerror("blocking sel in d_step (nr.99, near line 209)"); S_422_0: /* 2 */ S_427_0: /* 2 */ S_423_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[27]>=1))) goto S_427_1; S_424_0: /* 2 */ Printf("A_8:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[27]); goto S_428_0; S_427_1: /* 3 */ S_425_0: /* 2 */ /* else */; S_426_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_428_0; S_427_2: /* 3 */ Uerror("blocking sel in d_step (nr.100, near line 213)"); S_428_0: /* 2 */ S_433_0: /* 2 */ S_429_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[28]>=1))) goto S_433_1; S_430_0: /* 2 */ Printf("v:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[28]); goto S_434_0; S_433_1: /* 3 */ S_431_0: /* 2 */ /* else */; S_432_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_434_0; S_433_2: /* 3 */ Uerror("blocking sel in d_step (nr.101, near line 217)"); S_434_0: /* 2 */ S_439_0: /* 2 */ S_435_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[29]>=1))) goto S_439_1; S_436_0: /* 2 */ Printf("A_7:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[29]); goto S_440_0; S_439_1: /* 3 */ S_437_0: /* 2 */ /* else */; S_438_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_440_0; S_439_2: /* 3 */ Uerror("blocking sel in d_step (nr.102, near line 221)"); S_440_0: /* 2 */ S_445_0: /* 2 */ S_441_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[30]>=1))) goto S_445_1; S_442_0: /* 2 */ Printf("B_10:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[30]); goto S_446_0; S_445_1: /* 3 */ S_443_0: /* 2 */ /* else */; S_444_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_446_0; S_445_2: /* 3 */ Uerror("blocking sel in d_step (nr.103, near line 225)"); S_446_0: /* 2 */ S_451_0: /* 2 */ S_447_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[31]>=1))) goto S_451_1; S_448_0: /* 2 */ Printf("A_6:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[31]); goto S_452_0; S_451_1: /* 3 */ S_449_0: /* 2 */ /* else */; S_450_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_452_0; S_451_2: /* 3 */ Uerror("blocking sel in d_step (nr.104, near line 229)"); S_452_0: /* 2 */ S_457_0: /* 2 */ S_453_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[32]>=1))) goto S_457_1; S_454_0: /* 2 */ Printf("A_1:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[32]); goto S_458_0; S_457_1: /* 3 */ S_455_0: /* 2 */ /* else */; S_456_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_458_0; S_457_2: /* 3 */ Uerror("blocking sel in d_step (nr.105, near line 233)"); S_458_0: /* 2 */ S_463_0: /* 2 */ S_459_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[33]>=1))) goto S_463_1; S_460_0: /* 2 */ Printf("A_5:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[33]); goto S_464_0; S_463_1: /* 3 */ S_461_0: /* 2 */ /* else */; S_462_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_464_0; S_463_2: /* 3 */ Uerror("blocking sel in d_step (nr.106, near line 237)"); S_464_0: /* 2 */ S_469_0: /* 2 */ S_465_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[34]>=1))) goto S_469_1; S_466_0: /* 2 */ Printf("A_4:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[34]); goto S_470_0; S_469_1: /* 3 */ S_467_0: /* 2 */ /* else */; S_468_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_470_0; S_469_2: /* 3 */ Uerror("blocking sel in d_step (nr.107, near line 241)"); S_470_0: /* 2 */ S_475_0: /* 2 */ S_471_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[35]>=1))) goto S_475_1; S_472_0: /* 2 */ Printf("A_3:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[35]); goto S_476_0; S_475_1: /* 3 */ S_473_0: /* 2 */ /* else */; S_474_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_476_0; S_475_2: /* 3 */ Uerror("blocking sel in d_step (nr.108, near line 245)"); S_476_0: /* 2 */ S_481_0: /* 2 */ S_477_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[36]>=1))) goto S_481_1; S_478_0: /* 2 */ Printf("v_10:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[36]); goto S_482_0; S_481_1: /* 3 */ S_479_0: /* 2 */ /* else */; S_480_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_482_0; S_481_2: /* 3 */ Uerror("blocking sel in d_step (nr.109, near line 249)"); S_482_0: /* 2 */ S_487_0: /* 2 */ S_483_0: /* 2 */ if (!((now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[37]>=1))) goto S_487_1; S_484_0: /* 2 */ Printf("A_2:%d,", now.ms[ Index(((P0 *)this)->_4_1_i, 2050) ].x[37]); goto S_488_0; S_487_1: /* 3 */ S_485_0: /* 2 */ /* else */; S_486_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_488_0; S_487_2: /* 3 */ Uerror("blocking sel in d_step (nr.110, near line 253)"); S_488_0: /* 2 */ S_489_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_495_0; S_494_1: /* 3 */ S_492_0: /* 2 */ /* else */; S_493_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_495_0; S_494_2: /* 3 */ Uerror("blocking sel in d_step (nr.111, near line 271)"); S_495_0: /* 2 */ S_496_0: /* 2 */ ((P0 *)this)->_4_1_i = (((P0 *)this)->_4_1_i+1); #ifdef VAR_RANGES logval("Log:i", ((P0 *)this)->_4_1_i); #endif ; goto S_500_0; /* ';' */ S_499_1: /* 3 */ S_497_0: /* 2 */ /* else */; S_498_0: /* 2 */ goto S_505_0; /* 'goto' */ goto S_500_0; /* ';' */ S_499_2: /* 3 */ Uerror("blocking sel in d_step (nr.112, near line 276)"); S_501_0: /* 2 */ goto S_505_0; /* 'break' */ goto S_505_0; S_504_2: /* 3 */ S_502_0: /* 2 */ /* else */; S_503_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_505_0; S_504_3: /* 3 */ Uerror("blocking sel in d_step (nr.113, near line 267)"); S_505_0: /* 2 */ S_506_0: /* 2 */ if (!(1)) Uerror("block in d_step seq, line 264"); goto S_508_0; S_508_0: /* 1 */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 163: /* STATE 509 - SubsetSum.pml:282 - [-end-] (0:0:0 - 1) */ IfNotBlocked reached[0][509] = 1; if (!delproc(1, II)) continue; _m = 3; goto P999; /* 0 */ case _T5: /* np_ */ if (!((!(trpt->o_pm&4) && !(trpt->tau&128)))) continue; /* else fall through */ case _T2: /* true */ _m = 3; goto P999; #undef rand }