#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 p1 */ case 3: /* STATE 1 - _spin_nvr.tmp:4 - [(!((((ms[2].x[25]==1)&&(ms[2].x[1]==0))&&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 (!( !((((now.ms[2].x[25]==1)&&(now.ms[2].x[1]==0))&&((int)now.isPsystemStep))))) continue; _m = 3; goto P999; /* 0 */ case 4: /* STATE 3 - _spin_nvr.tmp:5 - [((!((((ms[2].x[25]==0)&&(ms[2].x[1]==0))||!(isPsystemStep)))&&!((((ms[2].x[25]==1)&&(ms[2].x[1]==0))&&isPsystemStep))))] (0:0:0 - 1) */ #if defined(VERI) && !defined(NP) #if NCLAIMS>1 { static int reported3 = 0; int nn = (int) ((Pclaim *)this)->_n; if (verbose && !reported3) { 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 ]); reported3 = 1; fflush(stdout); } } #else { static int reported3 = 0; if (verbose && !reported3) { printf("depth %d: Claim, state %d (line %d)\n", (int) depth, (int) ((Pclaim *)this)->_p, src_claim[ (int) ((Pclaim *)this)->_p ]); reported3 = 1; fflush(stdout); } } #endif #endif reached[5][3] = 1; if (!(( !((((now.ms[2].x[25]==0)&&(now.ms[2].x[1]==0))|| !(((int)now.isPsystemStep))))&& !((((now.ms[2].x[25]==1)&&(now.ms[2].x[1]==0))&&((int)now.isPsystemStep)))))) continue; _m = 3; goto P999; /* 0 */ case 5: /* STATE 8 - _spin_nvr.tmp:9 - [-end-] (0:0:0 - 1) */ #if defined(VERI) && !defined(NP) #if NCLAIMS>1 { static int reported8 = 0; int nn = (int) ((Pclaim *)this)->_n; if (verbose && !reported8) { 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 ]); reported8 = 1; fflush(stdout); } } #else { static int reported8 = 0; if (verbose && !reported8) { printf("depth %d: Claim, state %d (line %d)\n", (int) depth, (int) ((Pclaim *)this)->_p, src_claim[ (int) ((Pclaim *)this)->_p ]); reported8 = 1; fflush(stdout); } } #endif #endif reached[5][8] = 1; if (!delproc(1, II)) continue; _m = 3; goto P999; /* 0 */ /* PROC :init: */ case 6: /* STATE 1 - SubsetSum.pml:748 - [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 7: /* STATE 2 - SubsetSum.pml:749 - [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 8: /* STATE 3 - SubsetSum.pml:750 - [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 9: /* STATE 4 - SubsetSum.pml:751 - [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 10: /* STATE 5 - SubsetSum.pml:752 - [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 11: /* STATE 6 - SubsetSum.pml:753 - [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 12: /* STATE 7 - SubsetSum.pml:754 - [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 13: /* STATE 8 - SubsetSum.pml:755 - [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 14: /* STATE 9 - SubsetSum.pml:756 - [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 15: /* STATE 10 - SubsetSum.pml:757 - [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 16: /* STATE 11 - SubsetSum.pml:758 - [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 17: /* STATE 12 - SubsetSum.pml:759 - [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 18: /* STATE 13 - SubsetSum.pml:762 - [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 19: /* STATE 14 - SubsetSum.pml:763 - [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 20: /* STATE 15 - SubsetSum.pml:766 - [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 21: /* STATE 16 - SubsetSum.pml:769 - [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 22: /* STATE 17 - SubsetSum.pml:773 - [(run Scheduler())] (0:0:0 - 1) */ IfNotBlocked reached[4][17] = 1; if (!(addproc(II, 1, 0))) continue; _m = 3; goto P999; /* 0 */ case 23: /* STATE 18 - SubsetSum.pml:774 - [-end-] (0:0:0 - 1) */ IfNotBlocked reached[4][18] = 1; if (!delproc(1, II)) continue; _m = 3; goto P999; /* 0 */ /* PROC M1 */ case 24: /* STATE 1 - SubsetSum.pml:708 - [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 25: /* STATE 2 - SubsetSum.pml:712 - [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 26: /* STATE 4 - SubsetSum.pml:714 - [((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 27: /* STATE 5 - SubsetSum.pml:714 - [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 28: /* STATE 10 - SubsetSum.pml:718 - [(((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 29: /* STATE 11 - SubsetSum.pml:718 - [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 30: /* STATE 16 - SubsetSum.pml:725 - [((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 31: /* STATE 37 - SubsetSum.pml:727 - [D_STEP] */ IfNotBlocked sv_save(); reached[3][37] = 1; reached[3][t->st] = 1; reached[3][tt] = 1; S_1210_0: /* 2 */ S_1209_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_1226_0; S_1226_0: /* 2 */ S_1211_0: /* 2 */ ((P3 *)this)->_7_29_95_i = 0; #ifdef VAR_RANGES logval("M1:i", ((P3 *)this)->_7_29_95_i); #endif ; S_1224_0: /* 2 */ S_1223_0: /* 2 */ S_1212_0: /* 2 */ if (!((((P3 *)this)->_7_29_95_i<=(now.instanceCount-1)))) goto S_1223_1; S_1218_0: /* 2 */ S_1213_0: /* 2 */ if (!((((int)now.ms[ Index(((P3 *)this)->_7_29_95_i, 2050) ].type)==2))) goto S_1218_1; S_1215_0: /* 2 */ S_1214_0: /* 2 */ now.ms[ Index(((P3 *)this)->_7_29_95_i, 2050) ].x_temp[25] = (now.ms[ Index(((P3 *)this)->_7_29_95_i, 2050) ].x_temp[25]+1); #ifdef VAR_RANGES logval("ms[M1:i].x_temp[25]", now.ms[ Index(((P3 *)this)->_7_29_95_i, 2050) ].x_temp[25]); #endif ; goto S_1219_0; S_1218_1: /* 3 */ S_1216_0: /* 2 */ /* else */; S_1217_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1219_0; S_1218_2: /* 3 */ Uerror("blocking sel in d_step (nr.0, near line 304)"); S_1219_0: /* 2 */ S_1220_0: /* 2 */ ((P3 *)this)->_7_29_95_i = (((P3 *)this)->_7_29_95_i+1); #ifdef VAR_RANGES logval("M1:i", ((P3 *)this)->_7_29_95_i); #endif ; goto S_1224_0; /* ';' */ S_1223_1: /* 3 */ S_1221_0: /* 2 */ /* else */; S_1222_0: /* 2 */ goto S_1225_0; /* 'goto' */ S_1223_2: /* 3 */ Uerror("blocking sel in d_step (nr.1, near line 309)"); S_1225_0: /* 2 */ goto S_1227_0; /* 'break' */ S_1227_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1254_0; S_1254_0: /* 1 */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 32: /* STATE 38 - SubsetSum.pml:732 - [((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 33: /* STATE 59 - SubsetSum.pml:734 - [D_STEP] */ IfNotBlocked sv_save(); reached[3][59] = 1; reached[3][t->st] = 1; reached[3][tt] = 1; S_1232_0: /* 2 */ S_1231_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_1248_0; S_1248_0: /* 2 */ S_1233_0: /* 2 */ ((P3 *)this)->_7_30_97_i = 0; #ifdef VAR_RANGES logval("M1:i", ((P3 *)this)->_7_30_97_i); #endif ; S_1246_0: /* 2 */ S_1245_0: /* 2 */ S_1234_0: /* 2 */ if (!((((P3 *)this)->_7_30_97_i<=(now.instanceCount-1)))) goto S_1245_1; S_1240_0: /* 2 */ S_1235_0: /* 2 */ if (!((((int)now.ms[ Index(((P3 *)this)->_7_30_97_i, 2050) ].type)==2))) goto S_1240_1; S_1237_0: /* 2 */ S_1236_0: /* 2 */ now.ms[ Index(((P3 *)this)->_7_30_97_i, 2050) ].x_temp[1] = (now.ms[ Index(((P3 *)this)->_7_30_97_i, 2050) ].x_temp[1]+1); #ifdef VAR_RANGES logval("ms[M1:i].x_temp[1]", now.ms[ Index(((P3 *)this)->_7_30_97_i, 2050) ].x_temp[1]); #endif ; goto S_1241_0; S_1240_1: /* 3 */ S_1238_0: /* 2 */ /* else */; S_1239_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1241_0; S_1240_2: /* 3 */ Uerror("blocking sel in d_step (nr.2, near line 304)"); S_1241_0: /* 2 */ S_1242_0: /* 2 */ ((P3 *)this)->_7_30_97_i = (((P3 *)this)->_7_30_97_i+1); #ifdef VAR_RANGES logval("M1:i", ((P3 *)this)->_7_30_97_i); #endif ; goto S_1246_0; /* ';' */ S_1245_1: /* 3 */ S_1243_0: /* 2 */ /* else */; S_1244_0: /* 2 */ goto S_1247_0; /* 'goto' */ S_1245_2: /* 3 */ Uerror("blocking sel in d_step (nr.3, near line 309)"); S_1247_0: /* 2 */ goto S_1249_0; /* 'break' */ S_1249_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1254_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 34: /* STATE 65 - SubsetSum.pml:743 - [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 35: /* STATE 66 - SubsetSum.pml:744 - [-end-] (0:0:0 - 1) */ IfNotBlocked reached[3][66] = 1; if (!delproc(1, II)) continue; _m = 3; goto P999; /* 0 */ /* PROC M0 */ case 36: /* STATE 1 - SubsetSum.pml:437 - [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 37: /* STATE 2 - SubsetSum.pml:441 - [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 38: /* STATE 25 - SubsetSum.pml:443 - [(((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 39: /* STATE 26 - SubsetSum.pml:443 - [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 40: /* STATE 31 - SubsetSum.pml:447 - [(((ms[instanceIndex].x[28]==101)==0))] (0:0:0 - 1) */ IfNotBlocked reached[2][31] = 1; if (!(((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[28]==101)==0))) continue; _m = 3; goto P999; /* 0 */ case 41: /* STATE 32 - SubsetSum.pml:447 - [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 42: /* STATE 37 - SubsetSum.pml:451 - [(((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 43: /* STATE 38 - SubsetSum.pml:451 - [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 44: /* STATE 43 - SubsetSum.pml:455 - [(((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 45: /* STATE 44 - SubsetSum.pml:455 - [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 46: /* STATE 49 - SubsetSum.pml:459 - [(((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 47: /* STATE 50 - SubsetSum.pml:459 - [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 48: /* STATE 55 - SubsetSum.pml:463 - [(((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 49: /* STATE 56 - SubsetSum.pml:463 - [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 50: /* STATE 61 - SubsetSum.pml:467 - [(((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 51: /* STATE 62 - SubsetSum.pml:467 - [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 52: /* STATE 67 - SubsetSum.pml:471 - [((ms[instanceIndex].x[28]==101))] (0:0:0 - 1) */ IfNotBlocked reached[2][67] = 1; if (!((now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[28]==101))) continue; _m = 3; goto P999; /* 0 */ case 53: /* STATE 68 - SubsetSum.pml:471 - [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 54: /* STATE 73 - SubsetSum.pml:475 - [(((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 55: /* STATE 74 - SubsetSum.pml:475 - [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 56: /* STATE 79 - SubsetSum.pml:479 - [(((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 57: /* STATE 80 - SubsetSum.pml:479 - [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 58: /* STATE 85 - SubsetSum.pml:483 - [(((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 59: /* STATE 86 - SubsetSum.pml:483 - [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 60: /* STATE 91 - SubsetSum.pml:487 - [(((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 61: /* STATE 92 - SubsetSum.pml:487 - [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 62: /* STATE 97 - SubsetSum.pml:494 - [((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 63: /* STATE 104 - SubsetSum.pml:496 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][104] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_712_0: /* 2 */ S_711_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_714_0; S_714_0: /* 2 */ S_713_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_715_0; S_715_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; S_844_0: /* 1 */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 64: /* STATE 105 - SubsetSum.pml:501 - [((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 65: /* STATE 126 - SubsetSum.pml:503 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][126] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_720_0: /* 2 */ S_719_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_736_0; S_736_0: /* 2 */ S_721_0: /* 2 */ ((P2 *)this)->_6_7_11_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_7_11_i); #endif ; S_734_0: /* 2 */ S_733_0: /* 2 */ S_722_0: /* 2 */ if (!((((P2 *)this)->_6_7_11_i<=(now.instanceCount-1)))) goto S_733_1; S_728_0: /* 2 */ S_723_0: /* 2 */ if (!((((int)now.ms[ Index(((P2 *)this)->_6_7_11_i, 2050) ].type)==1))) goto S_728_1; S_725_0: /* 2 */ S_724_0: /* 2 */ now.ms[ Index(((P2 *)this)->_6_7_11_i, 2050) ].x_temp[0] = (now.ms[ Index(((P2 *)this)->_6_7_11_i, 2050) ].x_temp[0]+1); #ifdef VAR_RANGES logval("ms[M0:i].x_temp[0]", now.ms[ Index(((P2 *)this)->_6_7_11_i, 2050) ].x_temp[0]); #endif ; goto S_729_0; S_728_1: /* 3 */ S_726_0: /* 2 */ /* else */; S_727_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_729_0; S_728_2: /* 3 */ Uerror("blocking sel in d_step (nr.4, near line 304)"); S_729_0: /* 2 */ S_730_0: /* 2 */ ((P2 *)this)->_6_7_11_i = (((P2 *)this)->_6_7_11_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_7_11_i); #endif ; goto S_734_0; /* ';' */ S_733_1: /* 3 */ S_731_0: /* 2 */ /* else */; S_732_0: /* 2 */ goto S_735_0; /* 'goto' */ S_733_2: /* 3 */ Uerror("blocking sel in d_step (nr.5, near line 309)"); S_735_0: /* 2 */ goto S_737_0; /* 'break' */ S_737_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 66: /* STATE 127 - SubsetSum.pml:508 - [((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 67: /* STATE 134 - SubsetSum.pml:510 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][134] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_742_0: /* 2 */ S_741_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_744_0; S_744_0: /* 2 */ S_743_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_745_0; S_745_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 68: /* STATE 135 - SubsetSum.pml:515 - [((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 69: /* STATE 142 - SubsetSum.pml:517 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][142] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_750_0: /* 2 */ S_749_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_752_0; S_752_0: /* 2 */ S_751_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_753_0; S_753_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 70: /* STATE 143 - SubsetSum.pml:522 - [((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 71: /* STATE 150 - SubsetSum.pml:524 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][150] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_758_0: /* 2 */ S_757_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_760_0; S_760_0: /* 2 */ S_759_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_761_0; S_761_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 72: /* STATE 151 - SubsetSum.pml:529 - [((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 73: /* STATE 158 - SubsetSum.pml:531 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][158] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_766_0: /* 2 */ S_765_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_768_0; S_768_0: /* 2 */ S_767_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_769_0; S_769_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 74: /* STATE 159 - SubsetSum.pml:536 - [((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 75: /* STATE 166 - SubsetSum.pml:538 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][166] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_774_0: /* 2 */ S_773_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_776_0; S_776_0: /* 2 */ S_775_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_777_0; S_777_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 76: /* STATE 167 - SubsetSum.pml:543 - [((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 77: /* STATE 188 - SubsetSum.pml:545 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][188] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_782_0: /* 2 */ S_781_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_798_0; S_798_0: /* 2 */ S_783_0: /* 2 */ ((P2 *)this)->_6_13_23_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_13_23_i); #endif ; S_796_0: /* 2 */ S_795_0: /* 2 */ S_784_0: /* 2 */ if (!((((P2 *)this)->_6_13_23_i<=(now.instanceCount-1)))) goto S_795_1; S_790_0: /* 2 */ S_785_0: /* 2 */ if (!((((int)now.ms[ Index(((P2 *)this)->_6_13_23_i, 2050) ].type)==1))) goto S_790_1; S_787_0: /* 2 */ S_786_0: /* 2 */ now.ms[ Index(((P2 *)this)->_6_13_23_i, 2050) ].x_temp[4] = (now.ms[ Index(((P2 *)this)->_6_13_23_i, 2050) ].x_temp[4]+1); #ifdef VAR_RANGES logval("ms[M0:i].x_temp[4]", now.ms[ Index(((P2 *)this)->_6_13_23_i, 2050) ].x_temp[4]); #endif ; goto S_791_0; S_790_1: /* 3 */ S_788_0: /* 2 */ /* else */; S_789_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_791_0; S_790_2: /* 3 */ Uerror("blocking sel in d_step (nr.6, near line 304)"); S_791_0: /* 2 */ S_792_0: /* 2 */ ((P2 *)this)->_6_13_23_i = (((P2 *)this)->_6_13_23_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_13_23_i); #endif ; goto S_796_0; /* ';' */ S_795_1: /* 3 */ S_793_0: /* 2 */ /* else */; S_794_0: /* 2 */ goto S_797_0; /* 'goto' */ S_795_2: /* 3 */ Uerror("blocking sel in d_step (nr.7, near line 309)"); S_797_0: /* 2 */ goto S_799_0; /* 'break' */ S_799_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 78: /* STATE 189 - SubsetSum.pml:550 - [((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 79: /* STATE 196 - SubsetSum.pml:552 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][196] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_804_0: /* 2 */ S_803_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_806_0; S_806_0: /* 2 */ S_805_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_807_0; S_807_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 80: /* STATE 197 - SubsetSum.pml:557 - [((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 81: /* STATE 204 - SubsetSum.pml:559 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][204] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_812_0: /* 2 */ S_811_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_814_0; S_814_0: /* 2 */ S_813_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_815_0; S_815_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 82: /* STATE 205 - SubsetSum.pml:564 - [((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 83: /* STATE 212 - SubsetSum.pml:566 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][212] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_820_0: /* 2 */ S_819_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_822_0; S_822_0: /* 2 */ S_821_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_823_0; S_823_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 84: /* STATE 213 - SubsetSum.pml:571 - [((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 85: /* STATE 220 - SubsetSum.pml:573 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][220] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_828_0: /* 2 */ S_827_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_830_0; S_830_0: /* 2 */ S_829_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_831_0; S_831_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 86: /* STATE 221 - SubsetSum.pml:578 - [((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 87: /* STATE 228 - SubsetSum.pml:580 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][228] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_836_0: /* 2 */ S_835_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_838_0; S_838_0: /* 2 */ S_837_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_839_0; S_839_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_844_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 88: /* STATE 234 - SubsetSum.pml:590 - [((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 89: /* STATE 267 - SubsetSum.pml:592 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][267] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_849_0: /* 2 */ S_848_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_869_0; S_869_0: /* 2 */ S_850_0: /* 2 */ ((P2 *)this)->_6_19_35_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_19_35_i); #endif ; S_867_0: /* 2 */ S_866_0: /* 2 */ S_851_0: /* 2 */ if (!((((P2 *)this)->_6_19_35_i<=(2-1)))) goto S_866_1; S_852_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_853_0: /* 2 */ ((P2 *)this)->_6_19_35_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_19_35_j); #endif ; S_860_0: /* 2 */ S_859_0: /* 2 */ S_854_0: /* 2 */ if (!((((P2 *)this)->_6_19_35_j<=(38-1)))) goto S_859_1; S_855_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_19_35_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_19_35_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_19_35_j, 38) ]); #endif ; S_856_0: /* 2 */ ((P2 *)this)->_6_19_35_j = (((P2 *)this)->_6_19_35_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_19_35_j); #endif ; goto S_860_0; /* ';' */ S_859_1: /* 3 */ S_857_0: /* 2 */ /* else */; S_858_0: /* 2 */ goto S_862_0; /* 'goto' */ S_859_2: /* 3 */ Uerror("blocking sel in d_step (nr.8, near line 343)"); S_861_0: /* 2 */ goto S_862_0; /* 'break' */ S_862_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_863_0: /* 2 */ ((P2 *)this)->_6_19_35_i = (((P2 *)this)->_6_19_35_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_19_35_i); #endif ; goto S_867_0; /* ';' */ S_866_1: /* 3 */ S_864_0: /* 2 */ /* else */; S_865_0: /* 2 */ goto S_871_0; /* 'goto' */ S_866_2: /* 3 */ Uerror("blocking sel in d_step (nr.9, near line 348)"); S_868_0: /* 2 */ goto S_871_0; /* 'break' */ goto S_871_0; S_871_0: /* 2 */ S_870_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_873_0; S_873_0: /* 2 */ S_872_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_875_0; S_875_0: /* 2 */ S_874_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_877_0; S_877_0: /* 2 */ S_876_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_878_0; S_878_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1189_0; S_1189_0: /* 1 */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 90: /* STATE 268 - SubsetSum.pml:601 - [((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 91: /* STATE 301 - SubsetSum.pml:603 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][301] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_883_0: /* 2 */ S_882_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_903_0; S_903_0: /* 2 */ S_884_0: /* 2 */ ((P2 *)this)->_6_20_41_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_20_41_i); #endif ; S_901_0: /* 2 */ S_900_0: /* 2 */ S_885_0: /* 2 */ if (!((((P2 *)this)->_6_20_41_i<=(2-1)))) goto S_900_1; S_886_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_887_0: /* 2 */ ((P2 *)this)->_6_20_41_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_20_41_j); #endif ; S_894_0: /* 2 */ S_893_0: /* 2 */ S_888_0: /* 2 */ if (!((((P2 *)this)->_6_20_41_j<=(38-1)))) goto S_893_1; S_889_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_20_41_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_20_41_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_20_41_j, 38) ]); #endif ; S_890_0: /* 2 */ ((P2 *)this)->_6_20_41_j = (((P2 *)this)->_6_20_41_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_20_41_j); #endif ; goto S_894_0; /* ';' */ S_893_1: /* 3 */ S_891_0: /* 2 */ /* else */; S_892_0: /* 2 */ goto S_896_0; /* 'goto' */ S_893_2: /* 3 */ Uerror("blocking sel in d_step (nr.10, near line 343)"); S_895_0: /* 2 */ goto S_896_0; /* 'break' */ S_896_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_897_0: /* 2 */ ((P2 *)this)->_6_20_41_i = (((P2 *)this)->_6_20_41_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_20_41_i); #endif ; goto S_901_0; /* ';' */ S_900_1: /* 3 */ S_898_0: /* 2 */ /* else */; S_899_0: /* 2 */ goto S_905_0; /* 'goto' */ S_900_2: /* 3 */ Uerror("blocking sel in d_step (nr.11, near line 348)"); S_902_0: /* 2 */ goto S_905_0; /* 'break' */ goto S_905_0; S_905_0: /* 2 */ S_904_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_907_0; S_907_0: /* 2 */ S_906_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_909_0; S_909_0: /* 2 */ S_908_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_911_0; S_911_0: /* 2 */ S_910_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_912_0; S_912_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1189_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 92: /* STATE 302 - SubsetSum.pml:612 - [((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 93: /* STATE 335 - SubsetSum.pml:614 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][335] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_917_0: /* 2 */ S_916_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_937_0; S_937_0: /* 2 */ S_918_0: /* 2 */ ((P2 *)this)->_6_21_47_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_21_47_i); #endif ; S_935_0: /* 2 */ S_934_0: /* 2 */ S_919_0: /* 2 */ if (!((((P2 *)this)->_6_21_47_i<=(2-1)))) goto S_934_1; S_920_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_921_0: /* 2 */ ((P2 *)this)->_6_21_47_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_21_47_j); #endif ; S_928_0: /* 2 */ S_927_0: /* 2 */ S_922_0: /* 2 */ if (!((((P2 *)this)->_6_21_47_j<=(38-1)))) goto S_927_1; S_923_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_21_47_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_21_47_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_21_47_j, 38) ]); #endif ; S_924_0: /* 2 */ ((P2 *)this)->_6_21_47_j = (((P2 *)this)->_6_21_47_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_21_47_j); #endif ; goto S_928_0; /* ';' */ S_927_1: /* 3 */ S_925_0: /* 2 */ /* else */; S_926_0: /* 2 */ goto S_930_0; /* 'goto' */ S_927_2: /* 3 */ Uerror("blocking sel in d_step (nr.12, near line 343)"); S_929_0: /* 2 */ goto S_930_0; /* 'break' */ S_930_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_931_0: /* 2 */ ((P2 *)this)->_6_21_47_i = (((P2 *)this)->_6_21_47_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_21_47_i); #endif ; goto S_935_0; /* ';' */ S_934_1: /* 3 */ S_932_0: /* 2 */ /* else */; S_933_0: /* 2 */ goto S_939_0; /* 'goto' */ S_934_2: /* 3 */ Uerror("blocking sel in d_step (nr.13, near line 348)"); S_936_0: /* 2 */ goto S_939_0; /* 'break' */ goto S_939_0; S_939_0: /* 2 */ S_938_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_941_0; S_941_0: /* 2 */ S_940_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_943_0; S_943_0: /* 2 */ S_942_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_945_0; S_945_0: /* 2 */ S_944_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_946_0; S_946_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1189_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 94: /* STATE 336 - SubsetSum.pml:623 - [((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 95: /* STATE 369 - SubsetSum.pml:625 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][369] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_951_0: /* 2 */ S_950_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_971_0; S_971_0: /* 2 */ S_952_0: /* 2 */ ((P2 *)this)->_6_22_53_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_22_53_i); #endif ; S_969_0: /* 2 */ S_968_0: /* 2 */ S_953_0: /* 2 */ if (!((((P2 *)this)->_6_22_53_i<=(2-1)))) goto S_968_1; S_954_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_955_0: /* 2 */ ((P2 *)this)->_6_22_53_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_22_53_j); #endif ; S_962_0: /* 2 */ S_961_0: /* 2 */ S_956_0: /* 2 */ if (!((((P2 *)this)->_6_22_53_j<=(38-1)))) goto S_961_1; S_957_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_22_53_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_22_53_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_22_53_j, 38) ]); #endif ; S_958_0: /* 2 */ ((P2 *)this)->_6_22_53_j = (((P2 *)this)->_6_22_53_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_22_53_j); #endif ; goto S_962_0; /* ';' */ S_961_1: /* 3 */ S_959_0: /* 2 */ /* else */; S_960_0: /* 2 */ goto S_964_0; /* 'goto' */ S_961_2: /* 3 */ Uerror("blocking sel in d_step (nr.14, near line 343)"); S_963_0: /* 2 */ goto S_964_0; /* 'break' */ S_964_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_965_0: /* 2 */ ((P2 *)this)->_6_22_53_i = (((P2 *)this)->_6_22_53_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_22_53_i); #endif ; goto S_969_0; /* ';' */ S_968_1: /* 3 */ S_966_0: /* 2 */ /* else */; S_967_0: /* 2 */ goto S_973_0; /* 'goto' */ S_968_2: /* 3 */ Uerror("blocking sel in d_step (nr.15, near line 348)"); S_970_0: /* 2 */ goto S_973_0; /* 'break' */ goto S_973_0; S_973_0: /* 2 */ S_972_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_975_0; S_975_0: /* 2 */ S_974_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_977_0; S_977_0: /* 2 */ S_976_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_979_0; S_979_0: /* 2 */ S_978_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_980_0; S_980_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1189_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 96: /* STATE 370 - SubsetSum.pml:634 - [((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 97: /* STATE 403 - SubsetSum.pml:636 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][403] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_985_0: /* 2 */ S_984_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_1005_0; S_1005_0: /* 2 */ S_986_0: /* 2 */ ((P2 *)this)->_6_23_59_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_23_59_i); #endif ; S_1003_0: /* 2 */ S_1002_0: /* 2 */ S_987_0: /* 2 */ if (!((((P2 *)this)->_6_23_59_i<=(2-1)))) goto S_1002_1; S_988_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_989_0: /* 2 */ ((P2 *)this)->_6_23_59_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_23_59_j); #endif ; S_996_0: /* 2 */ S_995_0: /* 2 */ S_990_0: /* 2 */ if (!((((P2 *)this)->_6_23_59_j<=(38-1)))) goto S_995_1; S_991_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_23_59_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_23_59_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_23_59_j, 38) ]); #endif ; S_992_0: /* 2 */ ((P2 *)this)->_6_23_59_j = (((P2 *)this)->_6_23_59_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_23_59_j); #endif ; goto S_996_0; /* ';' */ S_995_1: /* 3 */ S_993_0: /* 2 */ /* else */; S_994_0: /* 2 */ goto S_998_0; /* 'goto' */ S_995_2: /* 3 */ Uerror("blocking sel in d_step (nr.16, near line 343)"); S_997_0: /* 2 */ goto S_998_0; /* 'break' */ S_998_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_999_0: /* 2 */ ((P2 *)this)->_6_23_59_i = (((P2 *)this)->_6_23_59_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_23_59_i); #endif ; goto S_1003_0; /* ';' */ S_1002_1: /* 3 */ S_1000_0: /* 2 */ /* else */; S_1001_0: /* 2 */ goto S_1007_0; /* 'goto' */ S_1002_2: /* 3 */ Uerror("blocking sel in d_step (nr.17, near line 348)"); S_1004_0: /* 2 */ goto S_1007_0; /* 'break' */ goto S_1007_0; S_1007_0: /* 2 */ S_1006_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_1009_0; S_1009_0: /* 2 */ S_1008_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_1011_0; S_1011_0: /* 2 */ S_1010_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_1013_0; S_1013_0: /* 2 */ S_1012_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_1014_0; S_1014_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1189_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 98: /* STATE 404 - SubsetSum.pml:645 - [((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 99: /* STATE 437 - SubsetSum.pml:647 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][437] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_1019_0: /* 2 */ S_1018_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_1039_0; S_1039_0: /* 2 */ S_1020_0: /* 2 */ ((P2 *)this)->_6_24_65_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_24_65_i); #endif ; S_1037_0: /* 2 */ S_1036_0: /* 2 */ S_1021_0: /* 2 */ if (!((((P2 *)this)->_6_24_65_i<=(2-1)))) goto S_1036_1; S_1022_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_1023_0: /* 2 */ ((P2 *)this)->_6_24_65_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_24_65_j); #endif ; S_1030_0: /* 2 */ S_1029_0: /* 2 */ S_1024_0: /* 2 */ if (!((((P2 *)this)->_6_24_65_j<=(38-1)))) goto S_1029_1; S_1025_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_24_65_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_24_65_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_24_65_j, 38) ]); #endif ; S_1026_0: /* 2 */ ((P2 *)this)->_6_24_65_j = (((P2 *)this)->_6_24_65_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_24_65_j); #endif ; goto S_1030_0; /* ';' */ S_1029_1: /* 3 */ S_1027_0: /* 2 */ /* else */; S_1028_0: /* 2 */ goto S_1032_0; /* 'goto' */ S_1029_2: /* 3 */ Uerror("blocking sel in d_step (nr.18, near line 343)"); S_1031_0: /* 2 */ goto S_1032_0; /* 'break' */ S_1032_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1033_0: /* 2 */ ((P2 *)this)->_6_24_65_i = (((P2 *)this)->_6_24_65_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_24_65_i); #endif ; goto S_1037_0; /* ';' */ S_1036_1: /* 3 */ S_1034_0: /* 2 */ /* else */; S_1035_0: /* 2 */ goto S_1041_0; /* 'goto' */ S_1036_2: /* 3 */ Uerror("blocking sel in d_step (nr.19, near line 348)"); S_1038_0: /* 2 */ goto S_1041_0; /* 'break' */ goto S_1041_0; S_1041_0: /* 2 */ S_1040_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_1043_0; S_1043_0: /* 2 */ S_1042_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_1045_0; S_1045_0: /* 2 */ S_1044_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_1047_0; S_1047_0: /* 2 */ S_1046_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_1048_0; S_1048_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1189_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 100: /* STATE 438 - SubsetSum.pml:656 - [((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 101: /* STATE 471 - SubsetSum.pml:658 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][471] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_1053_0: /* 2 */ S_1052_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_1073_0; S_1073_0: /* 2 */ S_1054_0: /* 2 */ ((P2 *)this)->_6_25_71_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_25_71_i); #endif ; S_1071_0: /* 2 */ S_1070_0: /* 2 */ S_1055_0: /* 2 */ if (!((((P2 *)this)->_6_25_71_i<=(2-1)))) goto S_1070_1; S_1056_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_1057_0: /* 2 */ ((P2 *)this)->_6_25_71_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_25_71_j); #endif ; S_1064_0: /* 2 */ S_1063_0: /* 2 */ S_1058_0: /* 2 */ if (!((((P2 *)this)->_6_25_71_j<=(38-1)))) goto S_1063_1; S_1059_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_25_71_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_25_71_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_25_71_j, 38) ]); #endif ; S_1060_0: /* 2 */ ((P2 *)this)->_6_25_71_j = (((P2 *)this)->_6_25_71_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_25_71_j); #endif ; goto S_1064_0; /* ';' */ S_1063_1: /* 3 */ S_1061_0: /* 2 */ /* else */; S_1062_0: /* 2 */ goto S_1066_0; /* 'goto' */ S_1063_2: /* 3 */ Uerror("blocking sel in d_step (nr.20, near line 343)"); S_1065_0: /* 2 */ goto S_1066_0; /* 'break' */ S_1066_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1067_0: /* 2 */ ((P2 *)this)->_6_25_71_i = (((P2 *)this)->_6_25_71_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_25_71_i); #endif ; goto S_1071_0; /* ';' */ S_1070_1: /* 3 */ S_1068_0: /* 2 */ /* else */; S_1069_0: /* 2 */ goto S_1075_0; /* 'goto' */ S_1070_2: /* 3 */ Uerror("blocking sel in d_step (nr.21, near line 348)"); S_1072_0: /* 2 */ goto S_1075_0; /* 'break' */ goto S_1075_0; S_1075_0: /* 2 */ S_1074_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_1077_0; S_1077_0: /* 2 */ S_1076_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_1079_0; S_1079_0: /* 2 */ S_1078_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_1081_0; S_1081_0: /* 2 */ S_1080_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_1082_0; S_1082_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1189_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 102: /* STATE 472 - SubsetSum.pml:667 - [((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 103: /* STATE 505 - SubsetSum.pml:669 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][505] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_1087_0: /* 2 */ S_1086_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_1107_0; S_1107_0: /* 2 */ S_1088_0: /* 2 */ ((P2 *)this)->_6_26_77_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_26_77_i); #endif ; S_1105_0: /* 2 */ S_1104_0: /* 2 */ S_1089_0: /* 2 */ if (!((((P2 *)this)->_6_26_77_i<=(2-1)))) goto S_1104_1; S_1090_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_1091_0: /* 2 */ ((P2 *)this)->_6_26_77_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_26_77_j); #endif ; S_1098_0: /* 2 */ S_1097_0: /* 2 */ S_1092_0: /* 2 */ if (!((((P2 *)this)->_6_26_77_j<=(38-1)))) goto S_1097_1; S_1093_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_26_77_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_26_77_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_26_77_j, 38) ]); #endif ; S_1094_0: /* 2 */ ((P2 *)this)->_6_26_77_j = (((P2 *)this)->_6_26_77_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_26_77_j); #endif ; goto S_1098_0; /* ';' */ S_1097_1: /* 3 */ S_1095_0: /* 2 */ /* else */; S_1096_0: /* 2 */ goto S_1100_0; /* 'goto' */ S_1097_2: /* 3 */ Uerror("blocking sel in d_step (nr.22, near line 343)"); S_1099_0: /* 2 */ goto S_1100_0; /* 'break' */ S_1100_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1101_0: /* 2 */ ((P2 *)this)->_6_26_77_i = (((P2 *)this)->_6_26_77_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_26_77_i); #endif ; goto S_1105_0; /* ';' */ S_1104_1: /* 3 */ S_1102_0: /* 2 */ /* else */; S_1103_0: /* 2 */ goto S_1109_0; /* 'goto' */ S_1104_2: /* 3 */ Uerror("blocking sel in d_step (nr.23, near line 348)"); S_1106_0: /* 2 */ goto S_1109_0; /* 'break' */ goto S_1109_0; S_1109_0: /* 2 */ S_1108_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_1111_0; S_1111_0: /* 2 */ S_1110_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_1113_0; S_1113_0: /* 2 */ S_1112_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_1115_0; S_1115_0: /* 2 */ S_1114_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_1116_0; S_1116_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1189_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 104: /* STATE 506 - SubsetSum.pml:678 - [((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 105: /* STATE 539 - SubsetSum.pml:680 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][539] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_1121_0: /* 2 */ S_1120_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_1141_0; S_1141_0: /* 2 */ S_1122_0: /* 2 */ ((P2 *)this)->_6_27_83_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_27_83_i); #endif ; S_1139_0: /* 2 */ S_1138_0: /* 2 */ S_1123_0: /* 2 */ if (!((((P2 *)this)->_6_27_83_i<=(2-1)))) goto S_1138_1; S_1124_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_1125_0: /* 2 */ ((P2 *)this)->_6_27_83_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_27_83_j); #endif ; S_1132_0: /* 2 */ S_1131_0: /* 2 */ S_1126_0: /* 2 */ if (!((((P2 *)this)->_6_27_83_j<=(38-1)))) goto S_1131_1; S_1127_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_27_83_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_27_83_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_27_83_j, 38) ]); #endif ; S_1128_0: /* 2 */ ((P2 *)this)->_6_27_83_j = (((P2 *)this)->_6_27_83_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_27_83_j); #endif ; goto S_1132_0; /* ';' */ S_1131_1: /* 3 */ S_1129_0: /* 2 */ /* else */; S_1130_0: /* 2 */ goto S_1134_0; /* 'goto' */ S_1131_2: /* 3 */ Uerror("blocking sel in d_step (nr.24, near line 343)"); S_1133_0: /* 2 */ goto S_1134_0; /* 'break' */ S_1134_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1135_0: /* 2 */ ((P2 *)this)->_6_27_83_i = (((P2 *)this)->_6_27_83_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_27_83_i); #endif ; goto S_1139_0; /* ';' */ S_1138_1: /* 3 */ S_1136_0: /* 2 */ /* else */; S_1137_0: /* 2 */ goto S_1143_0; /* 'goto' */ S_1138_2: /* 3 */ Uerror("blocking sel in d_step (nr.25, near line 348)"); S_1140_0: /* 2 */ goto S_1143_0; /* 'break' */ goto S_1143_0; S_1143_0: /* 2 */ S_1142_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_1145_0; S_1145_0: /* 2 */ S_1144_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_1147_0; S_1147_0: /* 2 */ S_1146_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_1149_0; S_1149_0: /* 2 */ S_1148_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_1150_0; S_1150_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1189_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 106: /* STATE 540 - SubsetSum.pml:689 - [((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 107: /* STATE 573 - SubsetSum.pml:691 - [D_STEP] */ IfNotBlocked sv_save(); reached[2][573] = 1; reached[2][t->st] = 1; reached[2][tt] = 1; S_1155_0: /* 2 */ S_1154_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_1175_0; S_1175_0: /* 2 */ S_1156_0: /* 2 */ ((P2 *)this)->_6_28_89_i = 0; #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_28_89_i); #endif ; S_1173_0: /* 2 */ S_1172_0: /* 2 */ S_1157_0: /* 2 */ if (!((((P2 *)this)->_6_28_89_i<=(2-1)))) goto S_1172_1; S_1158_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_1159_0: /* 2 */ ((P2 *)this)->_6_28_89_j = 0; #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_28_89_j); #endif ; S_1166_0: /* 2 */ S_1165_0: /* 2 */ S_1160_0: /* 2 */ if (!((((P2 *)this)->_6_28_89_j<=(38-1)))) goto S_1165_1; S_1161_0: /* 2 */ now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_28_89_j, 38) ] = now.ms[ Index(((P2 *)this)->instanceIndex, 2050) ].x[ Index(((P2 *)this)->_6_28_89_j, 38) ]; #ifdef VAR_RANGES logval("ms[instanceCount].x[M0:j]", now.ms[ Index(now.instanceCount, 2050) ].x[ Index(((P2 *)this)->_6_28_89_j, 38) ]); #endif ; S_1162_0: /* 2 */ ((P2 *)this)->_6_28_89_j = (((P2 *)this)->_6_28_89_j+1); #ifdef VAR_RANGES logval("M0:j", ((P2 *)this)->_6_28_89_j); #endif ; goto S_1166_0; /* ';' */ S_1165_1: /* 3 */ S_1163_0: /* 2 */ /* else */; S_1164_0: /* 2 */ goto S_1168_0; /* 'goto' */ S_1165_2: /* 3 */ Uerror("blocking sel in d_step (nr.26, near line 343)"); S_1167_0: /* 2 */ goto S_1168_0; /* 'break' */ S_1168_0: /* 2 */ now.instanceCount = (now.instanceCount+1); #ifdef VAR_RANGES logval("instanceCount", now.instanceCount); #endif ; S_1169_0: /* 2 */ ((P2 *)this)->_6_28_89_i = (((P2 *)this)->_6_28_89_i+1); #ifdef VAR_RANGES logval("M0:i", ((P2 *)this)->_6_28_89_i); #endif ; goto S_1173_0; /* ';' */ S_1172_1: /* 3 */ S_1170_0: /* 2 */ /* else */; S_1171_0: /* 2 */ goto S_1177_0; /* 'goto' */ S_1172_2: /* 3 */ Uerror("blocking sel in d_step (nr.27, near line 348)"); S_1174_0: /* 2 */ goto S_1177_0; /* 'break' */ goto S_1177_0; S_1177_0: /* 2 */ S_1176_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_1179_0; S_1179_0: /* 2 */ S_1178_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_1181_0; S_1181_0: /* 2 */ S_1180_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_1183_0; S_1183_0: /* 2 */ S_1182_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_1184_0; S_1184_0: /* 2 */ if (!(1)) Uerror("block in d_step seq"); goto S_1189_0; /* ';' */ #if defined(C_States) && (HAS_TRACK==1) c_update((uchar *) &(now.c_state[0])); #endif _m = 3; goto P999; case 108: /* STATE 578 - SubsetSum.pml:703 - [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 109: /* STATE 579 - SubsetSum.pml:704 - [-end-] (0:0:0 - 1) */ IfNotBlocked reached[2][579] = 1; if (!delproc(1, II)) continue; _m = 3; goto P999; /* 0 */ /* PROC Scheduler */ case 110: /* STATE 1 - SubsetSum.pml:397 - [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 111: /* STATE 2 - SubsetSum.pml:400 - [((step<13))] (0:0:0 - 1) */ IfNotBlocked reached[1][2] = 1; if (!((now.step<13))) continue; _m = 3; goto P999; /* 0 */ case 112: /* STATE 3 - SubsetSum.pml:401 - [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 113: /* STATE 4 - SubsetSum.pml:403 - [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 114: /* STATE 5 - SubsetSum.pml:404 - [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 115: /* STATE 7 - SubsetSum.pml:406 - [((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 116: /* STATE 10 - SubsetSum.pml:366 - [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 117: /* STATE 11 - SubsetSum.pml:366 - [((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 118: /* STATE 12 - SubsetSum.pml:368 - [(((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 119: /* STATE 13 - SubsetSum.pml:368 - [(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 120: /* STATE 14 - SubsetSum.pml:369 - [(((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 121: /* STATE 15 - SubsetSum.pml:369 - [(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 122: /* STATE 17 - SubsetSum.pml:370 - [(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 123: /* STATE 20 - SubsetSum.pml:366 - [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 124: /* STATE 26 - SubsetSum.pml:373 - [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 125: /* STATE 28 - SubsetSum.pml:378 - [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 126: /* STATE 29 - SubsetSum.pml:378 - [((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 127: /* STATE 30 - SubsetSum.pml:379 - [((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 128: /* STATE 31 - SubsetSum.pml:378 - [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 129: /* STATE 37 - SubsetSum.pml:381 - [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 130: /* STATE 46 - SubsetSum.pml:416 - [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 131: /* STATE 47 - SubsetSum.pml:366 - [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 132: /* STATE 48 - SubsetSum.pml:366 - [((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 133: /* STATE 49 - SubsetSum.pml:368 - [(((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 134: /* STATE 50 - SubsetSum.pml:368 - [(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 135: /* STATE 51 - SubsetSum.pml:369 - [(((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 136: /* STATE 52 - SubsetSum.pml:369 - [(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 137: /* STATE 54 - SubsetSum.pml:370 - [(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 138: /* STATE 57 - SubsetSum.pml:366 - [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 139: /* STATE 63 - SubsetSum.pml:373 - [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 140: /* STATE 65 - SubsetSum.pml:378 - [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 141: /* STATE 66 - SubsetSum.pml:378 - [((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 142: /* STATE 67 - SubsetSum.pml:379 - [((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 143: /* STATE 68 - SubsetSum.pml:378 - [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 144: /* STATE 74 - SubsetSum.pml:381 - [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 145: /* STATE 76 - SubsetSum.pml:385 - [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 146: /* STATE 77 - SubsetSum.pml:385 - [((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 147: /* STATE 78 - SubsetSum.pml:386 - [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 148: /* STATE 79 - SubsetSum.pml:386 - [((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 149: /* STATE 80 - SubsetSum.pml:387 - [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 150: /* STATE 81 - SubsetSum.pml:388 - [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 151: /* STATE 82 - SubsetSum.pml:386 - [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 152: /* STATE 88 - SubsetSum.pml:385 - [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 153: /* STATE 95 - SubsetSum.pml:423 - [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 154: /* STATE 96 - SubsetSum.pml:424 - [isPsystemStep = 1] (0:0:1 - 1) */ IfNotBlocked reached[1][96] = 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 155: /* STATE 97 - SubsetSum.pml:425 - [isPsystemStep = 0] (0:0:1 - 1) */ IfNotBlocked reached[1][97] = 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 156: /* STATE 98 - SubsetSum.pml:426 - [step = (step+1)] (0:0:1 - 1) */ IfNotBlocked reached[1][98] = 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 157: /* STATE 104 - SubsetSum.pml:433 - [-end-] (0:0:0 - 3) */ IfNotBlocked reached[1][104] = 1; if (!delproc(1, II)) continue; _m = 3; goto P999; /* 0 */ /* PROC Log */ case 158: /* STATE 508 - SubsetSum.pml:263 - [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.28, near line 96)"); 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.29, near line 104)"); 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.30, near line 108)"); 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.31, near line 112)"); 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.32, near line 116)"); 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.33, near line 120)"); 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.34, near line 124)"); 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.35, near line 128)"); 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.36, near line 132)"); 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.37, near line 136)"); 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.38, near line 140)"); 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.39, near line 144)"); 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.40, near line 148)"); 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.41, near line 152)"); 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.42, near line 156)"); 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.43, near line 160)"); 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.44, near line 164)"); 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.45, near line 168)"); 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.46, near line 172)"); 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.47, near line 176)"); 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.48, near line 180)"); 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.49, near line 184)"); 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.50, near line 188)"); 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.51, near line 192)"); 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.52, near line 196)"); 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.53, near line 200)"); 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.54, near line 204)"); 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.55, near line 208)"); 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.56, near line 212)"); 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.57, near line 216)"); 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.58, near line 220)"); 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.59, near line 224)"); 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.60, near line 228)"); 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.61, near line 232)"); 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.62, near line 236)"); 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.63, near line 240)"); 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.64, near line 244)"); 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.65, near line 248)"); 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.66, near line 252)"); 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.67, near line 96)"); 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.68, near line 104)"); 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.69, near line 108)"); 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.70, near line 112)"); 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.71, near line 116)"); 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.72, near line 120)"); 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.73, near line 124)"); 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.74, near line 128)"); 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.75, near line 132)"); 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.76, near line 136)"); 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.77, near line 140)"); 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.78, near line 144)"); 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.79, near line 148)"); 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.80, near line 152)"); 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.81, near line 156)"); 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.82, near line 160)"); 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.83, near line 164)"); 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.84, near line 168)"); 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.85, near line 172)"); 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.86, near line 176)"); 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.87, near line 180)"); 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.88, near line 184)"); 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.89, near line 188)"); 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.90, near line 192)"); 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.91, near line 196)"); 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.92, near line 200)"); 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.93, near line 204)"); 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.94, near line 208)"); 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.95, near line 212)"); 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.96, near line 216)"); 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.97, near line 220)"); 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.98, near line 224)"); 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.99, near line 228)"); 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.100, near line 232)"); 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.101, near line 236)"); 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.102, near line 240)"); 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.103, near line 244)"); 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.104, near line 248)"); 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.105, near line 252)"); 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.106, near line 270)"); 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.107, near line 275)"); 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.108, near line 266)"); S_505_0: /* 2 */ S_506_0: /* 2 */ if (!(1)) Uerror("block in d_step seq, line 263"); 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 159: /* STATE 509 - SubsetSum.pml:281 - [-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 }