Generated Code

The following is c_ida code generated by the CellML API from this CellML file. (Back to language selection)

The raw code is available.

/*
   There are a total of 160 entries in the algebraic variable array.
   There are a total of 50 entries in each of the rate and state variable arrays.
   There are a total of 370 entries in the constant variable array.
 */
/*
 * ALGEBRAIC[0] is sum_g_syn_e_s_1 in component synaptic_coupling (nanoS).
 * ALGEBRAIC[1] is sum_g_syn_e_s_2 in component synaptic_coupling (nanoS).
 * ALGEBRAIC[2] is sum_g_syn_e_s_3 in component synaptic_coupling (nanoS).
 * ALGEBRAIC[3] is sum_g_syn_e_s_4 in component synaptic_coupling (nanoS).
 * ALGEBRAIC[4] is sum_g_syn_e_s_5 in component synaptic_coupling (nanoS).
 * ALGEBRAIC[5] is sum_g_syn_e_s_6 in component synaptic_coupling (nanoS).
 * ALGEBRAIC[6] is sum_g_syn_e_s_7 in component synaptic_coupling (nanoS).
 * ALGEBRAIC[7] is sum_g_syn_e_s_8 in component synaptic_coupling (nanoS).
 * ALGEBRAIC[8] is sum_g_syn_e_s_9 in component synaptic_coupling (nanoS).
 * ALGEBRAIC[9] is sum_g_syn_e_s_10 in component synaptic_coupling (nanoS).
 * CONSTANTS[0] is g_syn_e_1_2 in component synaptic_coupling (nanoS).
 * CONSTANTS[1] is g_syn_e_1_3 in component synaptic_coupling (nanoS).
 * CONSTANTS[2] is g_syn_e_1_4 in component synaptic_coupling (nanoS).
 * CONSTANTS[3] is g_syn_e_1_5 in component synaptic_coupling (nanoS).
 * CONSTANTS[4] is g_syn_e_1_6 in component synaptic_coupling (nanoS).
 * CONSTANTS[5] is g_syn_e_1_7 in component synaptic_coupling (nanoS).
 * CONSTANTS[6] is g_syn_e_1_8 in component synaptic_coupling (nanoS).
 * CONSTANTS[7] is g_syn_e_1_9 in component synaptic_coupling (nanoS).
 * CONSTANTS[8] is g_syn_e_1_10 in component synaptic_coupling (nanoS).
 * CONSTANTS[9] is g_syn_e_2_1 in component synaptic_coupling (nanoS).
 * CONSTANTS[10] is g_syn_e_2_3 in component synaptic_coupling (nanoS).
 * CONSTANTS[11] is g_syn_e_2_4 in component synaptic_coupling (nanoS).
 * CONSTANTS[12] is g_syn_e_2_5 in component synaptic_coupling (nanoS).
 * CONSTANTS[13] is g_syn_e_2_6 in component synaptic_coupling (nanoS).
 * CONSTANTS[14] is g_syn_e_2_7 in component synaptic_coupling (nanoS).
 * CONSTANTS[15] is g_syn_e_2_8 in component synaptic_coupling (nanoS).
 * CONSTANTS[16] is g_syn_e_2_9 in component synaptic_coupling (nanoS).
 * CONSTANTS[17] is g_syn_e_2_10 in component synaptic_coupling (nanoS).
 * CONSTANTS[18] is g_syn_e_3_1 in component synaptic_coupling (nanoS).
 * CONSTANTS[19] is g_syn_e_3_2 in component synaptic_coupling (nanoS).
 * CONSTANTS[20] is g_syn_e_3_4 in component synaptic_coupling (nanoS).
 * CONSTANTS[21] is g_syn_e_3_5 in component synaptic_coupling (nanoS).
 * CONSTANTS[22] is g_syn_e_3_6 in component synaptic_coupling (nanoS).
 * CONSTANTS[23] is g_syn_e_3_7 in component synaptic_coupling (nanoS).
 * CONSTANTS[24] is g_syn_e_3_8 in component synaptic_coupling (nanoS).
 * CONSTANTS[25] is g_syn_e_3_9 in component synaptic_coupling (nanoS).
 * CONSTANTS[26] is g_syn_e_3_10 in component synaptic_coupling (nanoS).
 * CONSTANTS[27] is g_syn_e_4_1 in component synaptic_coupling (nanoS).
 * CONSTANTS[28] is g_syn_e_4_2 in component synaptic_coupling (nanoS).
 * CONSTANTS[29] is g_syn_e_4_3 in component synaptic_coupling (nanoS).
 * CONSTANTS[30] is g_syn_e_4_5 in component synaptic_coupling (nanoS).
 * CONSTANTS[31] is g_syn_e_4_6 in component synaptic_coupling (nanoS).
 * CONSTANTS[32] is g_syn_e_4_7 in component synaptic_coupling (nanoS).
 * CONSTANTS[33] is g_syn_e_4_8 in component synaptic_coupling (nanoS).
 * CONSTANTS[34] is g_syn_e_4_9 in component synaptic_coupling (nanoS).
 * CONSTANTS[35] is g_syn_e_4_10 in component synaptic_coupling (nanoS).
 * CONSTANTS[36] is g_syn_e_5_1 in component synaptic_coupling (nanoS).
 * CONSTANTS[37] is g_syn_e_5_2 in component synaptic_coupling (nanoS).
 * CONSTANTS[38] is g_syn_e_5_3 in component synaptic_coupling (nanoS).
 * CONSTANTS[39] is g_syn_e_5_4 in component synaptic_coupling (nanoS).
 * CONSTANTS[40] is g_syn_e_5_6 in component synaptic_coupling (nanoS).
 * CONSTANTS[41] is g_syn_e_5_7 in component synaptic_coupling (nanoS).
 * CONSTANTS[42] is g_syn_e_5_8 in component synaptic_coupling (nanoS).
 * CONSTANTS[43] is g_syn_e_5_9 in component synaptic_coupling (nanoS).
 * CONSTANTS[44] is g_syn_e_5_10 in component synaptic_coupling (nanoS).
 * CONSTANTS[45] is g_syn_e_6_1 in component synaptic_coupling (nanoS).
 * CONSTANTS[46] is g_syn_e_6_2 in component synaptic_coupling (nanoS).
 * CONSTANTS[47] is g_syn_e_6_3 in component synaptic_coupling (nanoS).
 * CONSTANTS[48] is g_syn_e_6_4 in component synaptic_coupling (nanoS).
 * CONSTANTS[49] is g_syn_e_6_5 in component synaptic_coupling (nanoS).
 * CONSTANTS[50] is g_syn_e_6_7 in component synaptic_coupling (nanoS).
 * CONSTANTS[51] is g_syn_e_6_8 in component synaptic_coupling (nanoS).
 * CONSTANTS[52] is g_syn_e_6_9 in component synaptic_coupling (nanoS).
 * CONSTANTS[53] is g_syn_e_6_10 in component synaptic_coupling (nanoS).
 * CONSTANTS[54] is g_syn_e_7_1 in component synaptic_coupling (nanoS).
 * CONSTANTS[55] is g_syn_e_7_2 in component synaptic_coupling (nanoS).
 * CONSTANTS[56] is g_syn_e_7_3 in component synaptic_coupling (nanoS).
 * CONSTANTS[57] is g_syn_e_7_4 in component synaptic_coupling (nanoS).
 * CONSTANTS[58] is g_syn_e_7_5 in component synaptic_coupling (nanoS).
 * CONSTANTS[59] is g_syn_e_7_6 in component synaptic_coupling (nanoS).
 * CONSTANTS[60] is g_syn_e_7_8 in component synaptic_coupling (nanoS).
 * CONSTANTS[61] is g_syn_e_7_9 in component synaptic_coupling (nanoS).
 * CONSTANTS[62] is g_syn_e_7_10 in component synaptic_coupling (nanoS).
 * CONSTANTS[63] is g_syn_e_8_1 in component synaptic_coupling (nanoS).
 * CONSTANTS[64] is g_syn_e_8_2 in component synaptic_coupling (nanoS).
 * CONSTANTS[65] is g_syn_e_8_3 in component synaptic_coupling (nanoS).
 * CONSTANTS[66] is g_syn_e_8_4 in component synaptic_coupling (nanoS).
 * CONSTANTS[67] is g_syn_e_8_5 in component synaptic_coupling (nanoS).
 * CONSTANTS[68] is g_syn_e_8_6 in component synaptic_coupling (nanoS).
 * CONSTANTS[69] is g_syn_e_8_7 in component synaptic_coupling (nanoS).
 * CONSTANTS[70] is g_syn_e_8_9 in component synaptic_coupling (nanoS).
 * CONSTANTS[71] is g_syn_e_8_10 in component synaptic_coupling (nanoS).
 * CONSTANTS[72] is g_syn_e_9_1 in component synaptic_coupling (nanoS).
 * CONSTANTS[73] is g_syn_e_9_2 in component synaptic_coupling (nanoS).
 * CONSTANTS[74] is g_syn_e_9_3 in component synaptic_coupling (nanoS).
 * CONSTANTS[75] is g_syn_e_9_4 in component synaptic_coupling (nanoS).
 * CONSTANTS[76] is g_syn_e_9_5 in component synaptic_coupling (nanoS).
 * CONSTANTS[77] is g_syn_e_9_6 in component synaptic_coupling (nanoS).
 * CONSTANTS[78] is g_syn_e_9_7 in component synaptic_coupling (nanoS).
 * CONSTANTS[79] is g_syn_e_9_8 in component synaptic_coupling (nanoS).
 * CONSTANTS[80] is g_syn_e_9_10 in component synaptic_coupling (nanoS).
 * CONSTANTS[81] is g_syn_e_10_1 in component synaptic_coupling (nanoS).
 * CONSTANTS[82] is g_syn_e_10_2 in component synaptic_coupling (nanoS).
 * CONSTANTS[83] is g_syn_e_10_3 in component synaptic_coupling (nanoS).
 * CONSTANTS[84] is g_syn_e_10_4 in component synaptic_coupling (nanoS).
 * CONSTANTS[85] is g_syn_e_10_5 in component synaptic_coupling (nanoS).
 * CONSTANTS[86] is g_syn_e_10_6 in component synaptic_coupling (nanoS).
 * CONSTANTS[87] is g_syn_e_10_7 in component synaptic_coupling (nanoS).
 * CONSTANTS[88] is g_syn_e_10_8 in component synaptic_coupling (nanoS).
 * CONSTANTS[89] is g_syn_e_10_9 in component synaptic_coupling (nanoS).
 * STATES[0] is s in component synaptic_input (dimensionless).
 * STATES[1] is s in component synaptic_input (dimensionless).
 * STATES[2] is s in component synaptic_input (dimensionless).
 * STATES[3] is s in component synaptic_input (dimensionless).
 * STATES[4] is s in component synaptic_input (dimensionless).
 * STATES[5] is s in component synaptic_input (dimensionless).
 * STATES[6] is s in component synaptic_input (dimensionless).
 * STATES[7] is s in component synaptic_input (dimensionless).
 * STATES[8] is s in component synaptic_input (dimensionless).
 * STATES[9] is s in component synaptic_input (dimensionless).
 * VOI is time in component environment (millisecond).
 * STATES[10] is V in component membrane (millivolt).
 * CONSTANTS[90] is C in component membrane (picoF).
 * CONSTANTS[91] is i_app in component membrane (picoA).
 * ALGEBRAIC[141] is i_NaP in component persistent_sodium_current (picoA).
 * ALGEBRAIC[140] is i_Na in component fast_sodium_current (picoA).
 * ALGEBRAIC[13] is i_K in component potassium_current (picoA).
 * ALGEBRAIC[19] is i_L in component leakage_current (picoA).
 * ALGEBRAIC[20] is i_tonic_e in component tonic_current (picoA).
 * ALGEBRAIC[21] is i_syn_e in component synaptic_input (picoA).
 * CONSTANTS[92] is E_Na in component fast_sodium_current (millivolt).
 * CONSTANTS[93] is g_Na in component fast_sodium_current (nanoS).
 * ALGEBRAIC[10] is m_infinity in component fast_sodium_current_m_gate (dimensionless).
 * STATES[11] is n in component fast_sodium_current_n_gate (dimensionless).
 * CONSTANTS[94] is theta_m in component fast_sodium_current_m_gate (millivolt).
 * CONSTANTS[95] is sigma_m in component fast_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[11] is n_infinity in component fast_sodium_current_n_gate (dimensionless).
 * ALGEBRAIC[12] is tau_n in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[96] is tau_n_max in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[97] is theta_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[98] is sigma_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[99] is g_K in component potassium_current (nanoS).
 * CONSTANTS[100] is E_K in component potassium_current (millivolt).
 * STATES[12] is n in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[14] is n_infinity in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[15] is tau_n in component potassium_current_n_gate (millisecond).
 * CONSTANTS[101] is tau_n_max in component potassium_current_n_gate (millisecond).
 * CONSTANTS[102] is theta_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[103] is sigma_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[104] is g_NaP in component persistent_sodium_current (nanoS).
 * ALGEBRAIC[16] is m_infinity in component persistent_sodium_current_m_gate (dimensionless).
 * STATES[13] is h in component persistent_sodium_current_h_gate (dimensionless).
 * CONSTANTS[105] is theta_m in component persistent_sodium_current_m_gate (millivolt).
 * CONSTANTS[106] is sigma_m in component persistent_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[17] is h_infinity in component persistent_sodium_current_h_gate (dimensionless).
 * ALGEBRAIC[18] is tau_h in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[107] is tau_h_max in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[108] is theta_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[109] is sigma_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[110] is g_L in component leakage_current (nanoS).
 * CONSTANTS[111] is E_L in component leakage_current (millivolt).
 * CONSTANTS[112] is E_syn_e in component tonic_current (millivolt).
 * CONSTANTS[113] is g_tonic_e in component tonic_current (nanoS).
 * ALGEBRAIC[22] is s_infinity in component synaptic_input (dimensionless).
 * CONSTANTS[114] is kr in component synaptic_input (dimensionless).
 * CONSTANTS[115] is tau_s in component synaptic_input (millisecond).
 * CONSTANTS[116] is sigma_s in component synaptic_input (millivolt).
 * CONSTANTS[117] is theta_s in component synaptic_input (millivolt).
 * VOI is time in component environment (millisecond).
 * STATES[14] is V in component membrane (millivolt).
 * CONSTANTS[118] is C in component membrane (picoF).
 * CONSTANTS[119] is i_app in component membrane (picoA).
 * ALGEBRAIC[143] is i_NaP in component persistent_sodium_current (picoA).
 * ALGEBRAIC[142] is i_Na in component fast_sodium_current (picoA).
 * ALGEBRAIC[26] is i_K in component potassium_current (picoA).
 * ALGEBRAIC[32] is i_L in component leakage_current (picoA).
 * ALGEBRAIC[33] is i_tonic_e in component tonic_current (picoA).
 * ALGEBRAIC[34] is i_syn_e in component synaptic_input (picoA).
 * CONSTANTS[120] is E_Na in component fast_sodium_current (millivolt).
 * CONSTANTS[121] is g_Na in component fast_sodium_current (nanoS).
 * ALGEBRAIC[23] is m_infinity in component fast_sodium_current_m_gate (dimensionless).
 * STATES[15] is n in component fast_sodium_current_n_gate (dimensionless).
 * CONSTANTS[122] is theta_m in component fast_sodium_current_m_gate (millivolt).
 * CONSTANTS[123] is sigma_m in component fast_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[24] is n_infinity in component fast_sodium_current_n_gate (dimensionless).
 * ALGEBRAIC[25] is tau_n in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[124] is tau_n_max in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[125] is theta_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[126] is sigma_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[127] is g_K in component potassium_current (nanoS).
 * CONSTANTS[128] is E_K in component potassium_current (millivolt).
 * STATES[16] is n in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[27] is n_infinity in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[28] is tau_n in component potassium_current_n_gate (millisecond).
 * CONSTANTS[129] is tau_n_max in component potassium_current_n_gate (millisecond).
 * CONSTANTS[130] is theta_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[131] is sigma_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[132] is g_NaP in component persistent_sodium_current (nanoS).
 * ALGEBRAIC[29] is m_infinity in component persistent_sodium_current_m_gate (dimensionless).
 * STATES[17] is h in component persistent_sodium_current_h_gate (dimensionless).
 * CONSTANTS[133] is theta_m in component persistent_sodium_current_m_gate (millivolt).
 * CONSTANTS[134] is sigma_m in component persistent_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[30] is h_infinity in component persistent_sodium_current_h_gate (dimensionless).
 * ALGEBRAIC[31] is tau_h in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[135] is tau_h_max in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[136] is theta_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[137] is sigma_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[138] is g_L in component leakage_current (nanoS).
 * CONSTANTS[139] is E_L in component leakage_current (millivolt).
 * CONSTANTS[140] is E_syn_e in component tonic_current (millivolt).
 * CONSTANTS[141] is g_tonic_e in component tonic_current (nanoS).
 * ALGEBRAIC[35] is s_infinity in component synaptic_input (dimensionless).
 * CONSTANTS[142] is kr in component synaptic_input (dimensionless).
 * CONSTANTS[143] is tau_s in component synaptic_input (millisecond).
 * CONSTANTS[144] is sigma_s in component synaptic_input (millivolt).
 * CONSTANTS[145] is theta_s in component synaptic_input (millivolt).
 * VOI is time in component environment (millisecond).
 * STATES[18] is V in component membrane (millivolt).
 * CONSTANTS[146] is C in component membrane (picoF).
 * CONSTANTS[147] is i_app in component membrane (picoA).
 * ALGEBRAIC[145] is i_NaP in component persistent_sodium_current (picoA).
 * ALGEBRAIC[144] is i_Na in component fast_sodium_current (picoA).
 * ALGEBRAIC[39] is i_K in component potassium_current (picoA).
 * ALGEBRAIC[45] is i_L in component leakage_current (picoA).
 * ALGEBRAIC[46] is i_tonic_e in component tonic_current (picoA).
 * ALGEBRAIC[47] is i_syn_e in component synaptic_input (picoA).
 * CONSTANTS[148] is E_Na in component fast_sodium_current (millivolt).
 * CONSTANTS[149] is g_Na in component fast_sodium_current (nanoS).
 * ALGEBRAIC[36] is m_infinity in component fast_sodium_current_m_gate (dimensionless).
 * STATES[19] is n in component fast_sodium_current_n_gate (dimensionless).
 * CONSTANTS[150] is theta_m in component fast_sodium_current_m_gate (millivolt).
 * CONSTANTS[151] is sigma_m in component fast_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[37] is n_infinity in component fast_sodium_current_n_gate (dimensionless).
 * ALGEBRAIC[38] is tau_n in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[152] is tau_n_max in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[153] is theta_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[154] is sigma_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[155] is g_K in component potassium_current (nanoS).
 * CONSTANTS[156] is E_K in component potassium_current (millivolt).
 * STATES[20] is n in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[40] is n_infinity in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[41] is tau_n in component potassium_current_n_gate (millisecond).
 * CONSTANTS[157] is tau_n_max in component potassium_current_n_gate (millisecond).
 * CONSTANTS[158] is theta_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[159] is sigma_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[160] is g_NaP in component persistent_sodium_current (nanoS).
 * ALGEBRAIC[42] is m_infinity in component persistent_sodium_current_m_gate (dimensionless).
 * STATES[21] is h in component persistent_sodium_current_h_gate (dimensionless).
 * CONSTANTS[161] is theta_m in component persistent_sodium_current_m_gate (millivolt).
 * CONSTANTS[162] is sigma_m in component persistent_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[43] is h_infinity in component persistent_sodium_current_h_gate (dimensionless).
 * ALGEBRAIC[44] is tau_h in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[163] is tau_h_max in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[164] is theta_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[165] is sigma_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[166] is g_L in component leakage_current (nanoS).
 * CONSTANTS[167] is E_L in component leakage_current (millivolt).
 * CONSTANTS[168] is E_syn_e in component tonic_current (millivolt).
 * CONSTANTS[169] is g_tonic_e in component tonic_current (nanoS).
 * ALGEBRAIC[48] is s_infinity in component synaptic_input (dimensionless).
 * CONSTANTS[170] is kr in component synaptic_input (dimensionless).
 * CONSTANTS[171] is tau_s in component synaptic_input (millisecond).
 * CONSTANTS[172] is sigma_s in component synaptic_input (millivolt).
 * CONSTANTS[173] is theta_s in component synaptic_input (millivolt).
 * VOI is time in component environment (millisecond).
 * STATES[22] is V in component membrane (millivolt).
 * CONSTANTS[174] is C in component membrane (picoF).
 * CONSTANTS[175] is i_app in component membrane (picoA).
 * ALGEBRAIC[147] is i_NaP in component persistent_sodium_current (picoA).
 * ALGEBRAIC[146] is i_Na in component fast_sodium_current (picoA).
 * ALGEBRAIC[52] is i_K in component potassium_current (picoA).
 * ALGEBRAIC[58] is i_L in component leakage_current (picoA).
 * ALGEBRAIC[59] is i_tonic_e in component tonic_current (picoA).
 * ALGEBRAIC[60] is i_syn_e in component synaptic_input (picoA).
 * CONSTANTS[176] is E_Na in component fast_sodium_current (millivolt).
 * CONSTANTS[177] is g_Na in component fast_sodium_current (nanoS).
 * ALGEBRAIC[49] is m_infinity in component fast_sodium_current_m_gate (dimensionless).
 * STATES[23] is n in component fast_sodium_current_n_gate (dimensionless).
 * CONSTANTS[178] is theta_m in component fast_sodium_current_m_gate (millivolt).
 * CONSTANTS[179] is sigma_m in component fast_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[50] is n_infinity in component fast_sodium_current_n_gate (dimensionless).
 * ALGEBRAIC[51] is tau_n in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[180] is tau_n_max in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[181] is theta_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[182] is sigma_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[183] is g_K in component potassium_current (nanoS).
 * CONSTANTS[184] is E_K in component potassium_current (millivolt).
 * STATES[24] is n in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[53] is n_infinity in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[54] is tau_n in component potassium_current_n_gate (millisecond).
 * CONSTANTS[185] is tau_n_max in component potassium_current_n_gate (millisecond).
 * CONSTANTS[186] is theta_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[187] is sigma_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[188] is g_NaP in component persistent_sodium_current (nanoS).
 * ALGEBRAIC[55] is m_infinity in component persistent_sodium_current_m_gate (dimensionless).
 * STATES[25] is h in component persistent_sodium_current_h_gate (dimensionless).
 * CONSTANTS[189] is theta_m in component persistent_sodium_current_m_gate (millivolt).
 * CONSTANTS[190] is sigma_m in component persistent_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[56] is h_infinity in component persistent_sodium_current_h_gate (dimensionless).
 * ALGEBRAIC[57] is tau_h in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[191] is tau_h_max in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[192] is theta_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[193] is sigma_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[194] is g_L in component leakage_current (nanoS).
 * CONSTANTS[195] is E_L in component leakage_current (millivolt).
 * CONSTANTS[196] is E_syn_e in component tonic_current (millivolt).
 * CONSTANTS[197] is g_tonic_e in component tonic_current (nanoS).
 * ALGEBRAIC[61] is s_infinity in component synaptic_input (dimensionless).
 * CONSTANTS[198] is kr in component synaptic_input (dimensionless).
 * CONSTANTS[199] is tau_s in component synaptic_input (millisecond).
 * CONSTANTS[200] is sigma_s in component synaptic_input (millivolt).
 * CONSTANTS[201] is theta_s in component synaptic_input (millivolt).
 * VOI is time in component environment (millisecond).
 * STATES[26] is V in component membrane (millivolt).
 * CONSTANTS[202] is C in component membrane (picoF).
 * CONSTANTS[203] is i_app in component membrane (picoA).
 * ALGEBRAIC[149] is i_NaP in component persistent_sodium_current (picoA).
 * ALGEBRAIC[148] is i_Na in component fast_sodium_current (picoA).
 * ALGEBRAIC[65] is i_K in component potassium_current (picoA).
 * ALGEBRAIC[71] is i_L in component leakage_current (picoA).
 * ALGEBRAIC[72] is i_tonic_e in component tonic_current (picoA).
 * ALGEBRAIC[73] is i_syn_e in component synaptic_input (picoA).
 * CONSTANTS[204] is E_Na in component fast_sodium_current (millivolt).
 * CONSTANTS[205] is g_Na in component fast_sodium_current (nanoS).
 * ALGEBRAIC[62] is m_infinity in component fast_sodium_current_m_gate (dimensionless).
 * STATES[27] is n in component fast_sodium_current_n_gate (dimensionless).
 * CONSTANTS[206] is theta_m in component fast_sodium_current_m_gate (millivolt).
 * CONSTANTS[207] is sigma_m in component fast_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[63] is n_infinity in component fast_sodium_current_n_gate (dimensionless).
 * ALGEBRAIC[64] is tau_n in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[208] is tau_n_max in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[209] is theta_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[210] is sigma_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[211] is g_K in component potassium_current (nanoS).
 * CONSTANTS[212] is E_K in component potassium_current (millivolt).
 * STATES[28] is n in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[66] is n_infinity in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[67] is tau_n in component potassium_current_n_gate (millisecond).
 * CONSTANTS[213] is tau_n_max in component potassium_current_n_gate (millisecond).
 * CONSTANTS[214] is theta_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[215] is sigma_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[216] is g_NaP in component persistent_sodium_current (nanoS).
 * ALGEBRAIC[68] is m_infinity in component persistent_sodium_current_m_gate (dimensionless).
 * STATES[29] is h in component persistent_sodium_current_h_gate (dimensionless).
 * CONSTANTS[217] is theta_m in component persistent_sodium_current_m_gate (millivolt).
 * CONSTANTS[218] is sigma_m in component persistent_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[69] is h_infinity in component persistent_sodium_current_h_gate (dimensionless).
 * ALGEBRAIC[70] is tau_h in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[219] is tau_h_max in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[220] is theta_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[221] is sigma_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[222] is g_L in component leakage_current (nanoS).
 * CONSTANTS[223] is E_L in component leakage_current (millivolt).
 * CONSTANTS[224] is E_syn_e in component tonic_current (millivolt).
 * CONSTANTS[225] is g_tonic_e in component tonic_current (nanoS).
 * ALGEBRAIC[74] is s_infinity in component synaptic_input (dimensionless).
 * CONSTANTS[226] is kr in component synaptic_input (dimensionless).
 * CONSTANTS[227] is tau_s in component synaptic_input (millisecond).
 * CONSTANTS[228] is sigma_s in component synaptic_input (millivolt).
 * CONSTANTS[229] is theta_s in component synaptic_input (millivolt).
 * VOI is time in component environment (millisecond).
 * STATES[30] is V in component membrane (millivolt).
 * CONSTANTS[230] is C in component membrane (picoF).
 * CONSTANTS[231] is i_app in component membrane (picoA).
 * ALGEBRAIC[151] is i_NaP in component persistent_sodium_current (picoA).
 * ALGEBRAIC[150] is i_Na in component fast_sodium_current (picoA).
 * ALGEBRAIC[78] is i_K in component potassium_current (picoA).
 * ALGEBRAIC[84] is i_L in component leakage_current (picoA).
 * ALGEBRAIC[85] is i_tonic_e in component tonic_current (picoA).
 * ALGEBRAIC[86] is i_syn_e in component synaptic_input (picoA).
 * CONSTANTS[232] is E_Na in component fast_sodium_current (millivolt).
 * CONSTANTS[233] is g_Na in component fast_sodium_current (nanoS).
 * ALGEBRAIC[75] is m_infinity in component fast_sodium_current_m_gate (dimensionless).
 * STATES[31] is n in component fast_sodium_current_n_gate (dimensionless).
 * CONSTANTS[234] is theta_m in component fast_sodium_current_m_gate (millivolt).
 * CONSTANTS[235] is sigma_m in component fast_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[76] is n_infinity in component fast_sodium_current_n_gate (dimensionless).
 * ALGEBRAIC[77] is tau_n in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[236] is tau_n_max in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[237] is theta_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[238] is sigma_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[239] is g_K in component potassium_current (nanoS).
 * CONSTANTS[240] is E_K in component potassium_current (millivolt).
 * STATES[32] is n in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[79] is n_infinity in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[80] is tau_n in component potassium_current_n_gate (millisecond).
 * CONSTANTS[241] is tau_n_max in component potassium_current_n_gate (millisecond).
 * CONSTANTS[242] is theta_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[243] is sigma_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[244] is g_NaP in component persistent_sodium_current (nanoS).
 * ALGEBRAIC[81] is m_infinity in component persistent_sodium_current_m_gate (dimensionless).
 * STATES[33] is h in component persistent_sodium_current_h_gate (dimensionless).
 * CONSTANTS[245] is theta_m in component persistent_sodium_current_m_gate (millivolt).
 * CONSTANTS[246] is sigma_m in component persistent_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[82] is h_infinity in component persistent_sodium_current_h_gate (dimensionless).
 * ALGEBRAIC[83] is tau_h in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[247] is tau_h_max in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[248] is theta_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[249] is sigma_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[250] is g_L in component leakage_current (nanoS).
 * CONSTANTS[251] is E_L in component leakage_current (millivolt).
 * CONSTANTS[252] is E_syn_e in component tonic_current (millivolt).
 * CONSTANTS[253] is g_tonic_e in component tonic_current (nanoS).
 * ALGEBRAIC[87] is s_infinity in component synaptic_input (dimensionless).
 * CONSTANTS[254] is kr in component synaptic_input (dimensionless).
 * CONSTANTS[255] is tau_s in component synaptic_input (millisecond).
 * CONSTANTS[256] is sigma_s in component synaptic_input (millivolt).
 * CONSTANTS[257] is theta_s in component synaptic_input (millivolt).
 * VOI is time in component environment (millisecond).
 * STATES[34] is V in component membrane (millivolt).
 * CONSTANTS[258] is C in component membrane (picoF).
 * CONSTANTS[259] is i_app in component membrane (picoA).
 * ALGEBRAIC[153] is i_NaP in component persistent_sodium_current (picoA).
 * ALGEBRAIC[152] is i_Na in component fast_sodium_current (picoA).
 * ALGEBRAIC[91] is i_K in component potassium_current (picoA).
 * ALGEBRAIC[97] is i_L in component leakage_current (picoA).
 * ALGEBRAIC[98] is i_tonic_e in component tonic_current (picoA).
 * ALGEBRAIC[99] is i_syn_e in component synaptic_input (picoA).
 * CONSTANTS[260] is E_Na in component fast_sodium_current (millivolt).
 * CONSTANTS[261] is g_Na in component fast_sodium_current (nanoS).
 * ALGEBRAIC[88] is m_infinity in component fast_sodium_current_m_gate (dimensionless).
 * STATES[35] is n in component fast_sodium_current_n_gate (dimensionless).
 * CONSTANTS[262] is theta_m in component fast_sodium_current_m_gate (millivolt).
 * CONSTANTS[263] is sigma_m in component fast_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[89] is n_infinity in component fast_sodium_current_n_gate (dimensionless).
 * ALGEBRAIC[90] is tau_n in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[264] is tau_n_max in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[265] is theta_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[266] is sigma_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[267] is g_K in component potassium_current (nanoS).
 * CONSTANTS[268] is E_K in component potassium_current (millivolt).
 * STATES[36] is n in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[92] is n_infinity in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[93] is tau_n in component potassium_current_n_gate (millisecond).
 * CONSTANTS[269] is tau_n_max in component potassium_current_n_gate (millisecond).
 * CONSTANTS[270] is theta_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[271] is sigma_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[272] is g_NaP in component persistent_sodium_current (nanoS).
 * ALGEBRAIC[94] is m_infinity in component persistent_sodium_current_m_gate (dimensionless).
 * STATES[37] is h in component persistent_sodium_current_h_gate (dimensionless).
 * CONSTANTS[273] is theta_m in component persistent_sodium_current_m_gate (millivolt).
 * CONSTANTS[274] is sigma_m in component persistent_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[95] is h_infinity in component persistent_sodium_current_h_gate (dimensionless).
 * ALGEBRAIC[96] is tau_h in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[275] is tau_h_max in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[276] is theta_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[277] is sigma_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[278] is g_L in component leakage_current (nanoS).
 * CONSTANTS[279] is E_L in component leakage_current (millivolt).
 * CONSTANTS[280] is E_syn_e in component tonic_current (millivolt).
 * CONSTANTS[281] is g_tonic_e in component tonic_current (nanoS).
 * ALGEBRAIC[100] is s_infinity in component synaptic_input (dimensionless).
 * CONSTANTS[282] is kr in component synaptic_input (dimensionless).
 * CONSTANTS[283] is tau_s in component synaptic_input (millisecond).
 * CONSTANTS[284] is sigma_s in component synaptic_input (millivolt).
 * CONSTANTS[285] is theta_s in component synaptic_input (millivolt).
 * VOI is time in component environment (millisecond).
 * STATES[38] is V in component membrane (millivolt).
 * CONSTANTS[286] is C in component membrane (picoF).
 * CONSTANTS[287] is i_app in component membrane (picoA).
 * ALGEBRAIC[155] is i_NaP in component persistent_sodium_current (picoA).
 * ALGEBRAIC[154] is i_Na in component fast_sodium_current (picoA).
 * ALGEBRAIC[104] is i_K in component potassium_current (picoA).
 * ALGEBRAIC[110] is i_L in component leakage_current (picoA).
 * ALGEBRAIC[111] is i_tonic_e in component tonic_current (picoA).
 * ALGEBRAIC[112] is i_syn_e in component synaptic_input (picoA).
 * CONSTANTS[288] is E_Na in component fast_sodium_current (millivolt).
 * CONSTANTS[289] is g_Na in component fast_sodium_current (nanoS).
 * ALGEBRAIC[101] is m_infinity in component fast_sodium_current_m_gate (dimensionless).
 * STATES[39] is n in component fast_sodium_current_n_gate (dimensionless).
 * CONSTANTS[290] is theta_m in component fast_sodium_current_m_gate (millivolt).
 * CONSTANTS[291] is sigma_m in component fast_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[102] is n_infinity in component fast_sodium_current_n_gate (dimensionless).
 * ALGEBRAIC[103] is tau_n in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[292] is tau_n_max in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[293] is theta_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[294] is sigma_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[295] is g_K in component potassium_current (nanoS).
 * CONSTANTS[296] is E_K in component potassium_current (millivolt).
 * STATES[40] is n in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[105] is n_infinity in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[106] is tau_n in component potassium_current_n_gate (millisecond).
 * CONSTANTS[297] is tau_n_max in component potassium_current_n_gate (millisecond).
 * CONSTANTS[298] is theta_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[299] is sigma_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[300] is g_NaP in component persistent_sodium_current (nanoS).
 * ALGEBRAIC[107] is m_infinity in component persistent_sodium_current_m_gate (dimensionless).
 * STATES[41] is h in component persistent_sodium_current_h_gate (dimensionless).
 * CONSTANTS[301] is theta_m in component persistent_sodium_current_m_gate (millivolt).
 * CONSTANTS[302] is sigma_m in component persistent_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[108] is h_infinity in component persistent_sodium_current_h_gate (dimensionless).
 * ALGEBRAIC[109] is tau_h in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[303] is tau_h_max in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[304] is theta_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[305] is sigma_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[306] is g_L in component leakage_current (nanoS).
 * CONSTANTS[307] is E_L in component leakage_current (millivolt).
 * CONSTANTS[308] is E_syn_e in component tonic_current (millivolt).
 * CONSTANTS[309] is g_tonic_e in component tonic_current (nanoS).
 * ALGEBRAIC[113] is s_infinity in component synaptic_input (dimensionless).
 * CONSTANTS[310] is kr in component synaptic_input (dimensionless).
 * CONSTANTS[311] is tau_s in component synaptic_input (millisecond).
 * CONSTANTS[312] is sigma_s in component synaptic_input (millivolt).
 * CONSTANTS[313] is theta_s in component synaptic_input (millivolt).
 * VOI is time in component environment (millisecond).
 * STATES[42] is V in component membrane (millivolt).
 * CONSTANTS[314] is C in component membrane (picoF).
 * CONSTANTS[315] is i_app in component membrane (picoA).
 * ALGEBRAIC[157] is i_NaP in component persistent_sodium_current (picoA).
 * ALGEBRAIC[156] is i_Na in component fast_sodium_current (picoA).
 * ALGEBRAIC[117] is i_K in component potassium_current (picoA).
 * ALGEBRAIC[123] is i_L in component leakage_current (picoA).
 * ALGEBRAIC[124] is i_tonic_e in component tonic_current (picoA).
 * ALGEBRAIC[125] is i_syn_e in component synaptic_input (picoA).
 * CONSTANTS[316] is E_Na in component fast_sodium_current (millivolt).
 * CONSTANTS[317] is g_Na in component fast_sodium_current (nanoS).
 * ALGEBRAIC[114] is m_infinity in component fast_sodium_current_m_gate (dimensionless).
 * STATES[43] is n in component fast_sodium_current_n_gate (dimensionless).
 * CONSTANTS[318] is theta_m in component fast_sodium_current_m_gate (millivolt).
 * CONSTANTS[319] is sigma_m in component fast_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[115] is n_infinity in component fast_sodium_current_n_gate (dimensionless).
 * ALGEBRAIC[116] is tau_n in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[320] is tau_n_max in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[321] is theta_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[322] is sigma_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[323] is g_K in component potassium_current (nanoS).
 * CONSTANTS[324] is E_K in component potassium_current (millivolt).
 * STATES[44] is n in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[118] is n_infinity in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[119] is tau_n in component potassium_current_n_gate (millisecond).
 * CONSTANTS[325] is tau_n_max in component potassium_current_n_gate (millisecond).
 * CONSTANTS[326] is theta_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[327] is sigma_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[328] is g_NaP in component persistent_sodium_current (nanoS).
 * ALGEBRAIC[120] is m_infinity in component persistent_sodium_current_m_gate (dimensionless).
 * STATES[45] is h in component persistent_sodium_current_h_gate (dimensionless).
 * CONSTANTS[329] is theta_m in component persistent_sodium_current_m_gate (millivolt).
 * CONSTANTS[330] is sigma_m in component persistent_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[121] is h_infinity in component persistent_sodium_current_h_gate (dimensionless).
 * ALGEBRAIC[122] is tau_h in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[331] is tau_h_max in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[332] is theta_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[333] is sigma_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[334] is g_L in component leakage_current (nanoS).
 * CONSTANTS[335] is E_L in component leakage_current (millivolt).
 * CONSTANTS[336] is E_syn_e in component tonic_current (millivolt).
 * CONSTANTS[337] is g_tonic_e in component tonic_current (nanoS).
 * ALGEBRAIC[126] is s_infinity in component synaptic_input (dimensionless).
 * CONSTANTS[338] is kr in component synaptic_input (dimensionless).
 * CONSTANTS[339] is tau_s in component synaptic_input (millisecond).
 * CONSTANTS[340] is sigma_s in component synaptic_input (millivolt).
 * CONSTANTS[341] is theta_s in component synaptic_input (millivolt).
 * VOI is time in component environment (millisecond).
 * STATES[46] is V in component membrane (millivolt).
 * CONSTANTS[342] is C in component membrane (picoF).
 * CONSTANTS[343] is i_app in component membrane (picoA).
 * ALGEBRAIC[159] is i_NaP in component persistent_sodium_current (picoA).
 * ALGEBRAIC[158] is i_Na in component fast_sodium_current (picoA).
 * ALGEBRAIC[130] is i_K in component potassium_current (picoA).
 * ALGEBRAIC[136] is i_L in component leakage_current (picoA).
 * ALGEBRAIC[137] is i_tonic_e in component tonic_current (picoA).
 * ALGEBRAIC[138] is i_syn_e in component synaptic_input (picoA).
 * CONSTANTS[344] is E_Na in component fast_sodium_current (millivolt).
 * CONSTANTS[345] is g_Na in component fast_sodium_current (nanoS).
 * ALGEBRAIC[127] is m_infinity in component fast_sodium_current_m_gate (dimensionless).
 * STATES[47] is n in component fast_sodium_current_n_gate (dimensionless).
 * CONSTANTS[346] is theta_m in component fast_sodium_current_m_gate (millivolt).
 * CONSTANTS[347] is sigma_m in component fast_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[128] is n_infinity in component fast_sodium_current_n_gate (dimensionless).
 * ALGEBRAIC[129] is tau_n in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[348] is tau_n_max in component fast_sodium_current_n_gate (millisecond).
 * CONSTANTS[349] is theta_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[350] is sigma_n in component fast_sodium_current_n_gate (millivolt).
 * CONSTANTS[351] is g_K in component potassium_current (nanoS).
 * CONSTANTS[352] is E_K in component potassium_current (millivolt).
 * STATES[48] is n in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[131] is n_infinity in component potassium_current_n_gate (dimensionless).
 * ALGEBRAIC[132] is tau_n in component potassium_current_n_gate (millisecond).
 * CONSTANTS[353] is tau_n_max in component potassium_current_n_gate (millisecond).
 * CONSTANTS[354] is theta_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[355] is sigma_n in component potassium_current_n_gate (millivolt).
 * CONSTANTS[356] is g_NaP in component persistent_sodium_current (nanoS).
 * ALGEBRAIC[133] is m_infinity in component persistent_sodium_current_m_gate (dimensionless).
 * STATES[49] is h in component persistent_sodium_current_h_gate (dimensionless).
 * CONSTANTS[357] is theta_m in component persistent_sodium_current_m_gate (millivolt).
 * CONSTANTS[358] is sigma_m in component persistent_sodium_current_m_gate (millivolt).
 * ALGEBRAIC[134] is h_infinity in component persistent_sodium_current_h_gate (dimensionless).
 * ALGEBRAIC[135] is tau_h in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[359] is tau_h_max in component persistent_sodium_current_h_gate (millisecond).
 * CONSTANTS[360] is theta_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[361] is sigma_h in component persistent_sodium_current_h_gate (millivolt).
 * CONSTANTS[362] is g_L in component leakage_current (nanoS).
 * CONSTANTS[363] is E_L in component leakage_current (millivolt).
 * CONSTANTS[364] is E_syn_e in component tonic_current (millivolt).
 * CONSTANTS[365] is g_tonic_e in component tonic_current (nanoS).
 * ALGEBRAIC[139] is s_infinity in component synaptic_input (dimensionless).
 * CONSTANTS[366] is kr in component synaptic_input (dimensionless).
 * CONSTANTS[367] is tau_s in component synaptic_input (millisecond).
 * CONSTANTS[368] is sigma_s in component synaptic_input (millivolt).
 * CONSTANTS[369] is theta_s in component synaptic_input (millivolt).
 * RATES[10] is d/dt V in component membrane (millivolt).
 * RATES[11] is d/dt n in component fast_sodium_current_n_gate (dimensionless).
 * RATES[12] is d/dt n in component potassium_current_n_gate (dimensionless).
 * RATES[13] is d/dt h in component persistent_sodium_current_h_gate (dimensionless).
 * RATES[0] is d/dt s in component synaptic_input (dimensionless).
 * RATES[14] is d/dt V in component membrane (millivolt).
 * RATES[15] is d/dt n in component fast_sodium_current_n_gate (dimensionless).
 * RATES[16] is d/dt n in component potassium_current_n_gate (dimensionless).
 * RATES[17] is d/dt h in component persistent_sodium_current_h_gate (dimensionless).
 * RATES[1] is d/dt s in component synaptic_input (dimensionless).
 * RATES[18] is d/dt V in component membrane (millivolt).
 * RATES[19] is d/dt n in component fast_sodium_current_n_gate (dimensionless).
 * RATES[20] is d/dt n in component potassium_current_n_gate (dimensionless).
 * RATES[21] is d/dt h in component persistent_sodium_current_h_gate (dimensionless).
 * RATES[2] is d/dt s in component synaptic_input (dimensionless).
 * RATES[22] is d/dt V in component membrane (millivolt).
 * RATES[23] is d/dt n in component fast_sodium_current_n_gate (dimensionless).
 * RATES[24] is d/dt n in component potassium_current_n_gate (dimensionless).
 * RATES[25] is d/dt h in component persistent_sodium_current_h_gate (dimensionless).
 * RATES[3] is d/dt s in component synaptic_input (dimensionless).
 * RATES[26] is d/dt V in component membrane (millivolt).
 * RATES[27] is d/dt n in component fast_sodium_current_n_gate (dimensionless).
 * RATES[28] is d/dt n in component potassium_current_n_gate (dimensionless).
 * RATES[29] is d/dt h in component persistent_sodium_current_h_gate (dimensionless).
 * RATES[4] is d/dt s in component synaptic_input (dimensionless).
 * RATES[30] is d/dt V in component membrane (millivolt).
 * RATES[31] is d/dt n in component fast_sodium_current_n_gate (dimensionless).
 * RATES[32] is d/dt n in component potassium_current_n_gate (dimensionless).
 * RATES[33] is d/dt h in component persistent_sodium_current_h_gate (dimensionless).
 * RATES[5] is d/dt s in component synaptic_input (dimensionless).
 * RATES[34] is d/dt V in component membrane (millivolt).
 * RATES[35] is d/dt n in component fast_sodium_current_n_gate (dimensionless).
 * RATES[36] is d/dt n in component potassium_current_n_gate (dimensionless).
 * RATES[37] is d/dt h in component persistent_sodium_current_h_gate (dimensionless).
 * RATES[6] is d/dt s in component synaptic_input (dimensionless).
 * RATES[38] is d/dt V in component membrane (millivolt).
 * RATES[39] is d/dt n in component fast_sodium_current_n_gate (dimensionless).
 * RATES[40] is d/dt n in component potassium_current_n_gate (dimensionless).
 * RATES[41] is d/dt h in component persistent_sodium_current_h_gate (dimensionless).
 * RATES[7] is d/dt s in component synaptic_input (dimensionless).
 * RATES[42] is d/dt V in component membrane (millivolt).
 * RATES[43] is d/dt n in component fast_sodium_current_n_gate (dimensionless).
 * RATES[44] is d/dt n in component potassium_current_n_gate (dimensionless).
 * RATES[45] is d/dt h in component persistent_sodium_current_h_gate (dimensionless).
 * RATES[8] is d/dt s in component synaptic_input (dimensionless).
 * RATES[46] is d/dt V in component membrane (millivolt).
 * RATES[47] is d/dt n in component fast_sodium_current_n_gate (dimensionless).
 * RATES[48] is d/dt n in component potassium_current_n_gate (dimensionless).
 * RATES[49] is d/dt h in component persistent_sodium_current_h_gate (dimensionless).
 * RATES[9] is d/dt s in component synaptic_input (dimensionless).
 * There are a total of 0 condition variables.
 */
void
initConsts(double* CONSTANTS, double* RATES, double *STATES)
{
CONSTANTS[0] = 0.10;
CONSTANTS[1] = 0.10;
CONSTANTS[2] = 0.10;
CONSTANTS[3] = 0.10;
CONSTANTS[4] = 0.10;
CONSTANTS[5] = 0.10;
CONSTANTS[6] = 0.10;
CONSTANTS[7] = 0.10;
CONSTANTS[8] = 0.10;
CONSTANTS[9] = 0.10;
CONSTANTS[10] = 0.10;
CONSTANTS[11] = 0.10;
CONSTANTS[12] = 0.10;
CONSTANTS[13] = 0.10;
CONSTANTS[14] = 0.10;
CONSTANTS[15] = 0.10;
CONSTANTS[16] = 0.10;
CONSTANTS[17] = 0.10;
CONSTANTS[18] = 0.10;
CONSTANTS[19] = 0.10;
CONSTANTS[20] = 0.10;
CONSTANTS[21] = 0.10;
CONSTANTS[22] = 0.10;
CONSTANTS[23] = 0.10;
CONSTANTS[24] = 0.10;
CONSTANTS[25] = 0.10;
CONSTANTS[26] = 0.10;
CONSTANTS[27] = 0.10;
CONSTANTS[28] = 0.10;
CONSTANTS[29] = 0.10;
CONSTANTS[30] = 0.10;
CONSTANTS[31] = 0.10;
CONSTANTS[32] = 0.10;
CONSTANTS[33] = 0.10;
CONSTANTS[34] = 0.10;
CONSTANTS[35] = 0.10;
CONSTANTS[36] = 0.10;
CONSTANTS[37] = 0.10;
CONSTANTS[38] = 0.10;
CONSTANTS[39] = 0.10;
CONSTANTS[40] = 0.10;
CONSTANTS[41] = 0.10;
CONSTANTS[42] = 0.10;
CONSTANTS[43] = 0.10;
CONSTANTS[44] = 0.10;
CONSTANTS[45] = 0.10;
CONSTANTS[46] = 0.10;
CONSTANTS[47] = 0.10;
CONSTANTS[48] = 0.10;
CONSTANTS[49] = 0.10;
CONSTANTS[50] = 0.10;
CONSTANTS[51] = 0.10;
CONSTANTS[52] = 0.10;
CONSTANTS[53] = 0.10;
CONSTANTS[54] = 0.10;
CONSTANTS[55] = 0.10;
CONSTANTS[56] = 0.10;
CONSTANTS[57] = 0.10;
CONSTANTS[58] = 0.10;
CONSTANTS[59] = 0.10;
CONSTANTS[60] = 0.10;
CONSTANTS[61] = 0.10;
CONSTANTS[62] = 0.10;
CONSTANTS[63] = 0.10;
CONSTANTS[64] = 0.10;
CONSTANTS[65] = 0.10;
CONSTANTS[66] = 0.10;
CONSTANTS[67] = 0.10;
CONSTANTS[68] = 0.10;
CONSTANTS[69] = 0.10;
CONSTANTS[70] = 0.10;
CONSTANTS[71] = 0.10;
CONSTANTS[72] = 0.10;
CONSTANTS[73] = 0.10;
CONSTANTS[74] = 0.10;
CONSTANTS[75] = 0.10;
CONSTANTS[76] = 0.10;
CONSTANTS[77] = 0.10;
CONSTANTS[78] = 0.10;
CONSTANTS[79] = 0.10;
CONSTANTS[80] = 0.10;
CONSTANTS[81] = 0.10;
CONSTANTS[82] = 0.10;
CONSTANTS[83] = 0.10;
CONSTANTS[84] = 0.10;
CONSTANTS[85] = 0.10;
CONSTANTS[86] = 0.10;
CONSTANTS[87] = 0.10;
CONSTANTS[88] = 0.10;
CONSTANTS[89] = 0.10;
STATES[0] = 1;
STATES[1] = 1;
STATES[2] = 1;
STATES[3] = 1;
STATES[4] = 1;
STATES[5] = 1;
STATES[6] = 1;
STATES[7] = 1;
STATES[8] = 1;
STATES[9] = 1;
STATES[10] = -50.0;
CONSTANTS[90] = 21.0;
CONSTANTS[91] = 0.0;
CONSTANTS[92] = 50.0;
CONSTANTS[93] = 28.0;
STATES[11] = 0.01;
CONSTANTS[94] = -34.0;
CONSTANTS[95] = -5.0;
CONSTANTS[96] = 10.0;
CONSTANTS[97] = -29.0;
CONSTANTS[98] = -4.0;
CONSTANTS[99] = 11.2;
CONSTANTS[100] = -85.0;
STATES[12] = 0.01;
CONSTANTS[101] = 10.0;
CONSTANTS[102] = -29.0;
CONSTANTS[103] = -4.0;
CONSTANTS[104] = 2.8;
STATES[13] = 0.46;
CONSTANTS[105] = -40.0;
CONSTANTS[106] = -6.0;
CONSTANTS[107] = 10000.0;
CONSTANTS[108] = -48.0;
CONSTANTS[109] = 6.0;
CONSTANTS[110] = 2.8;
CONSTANTS[111] = -57.5;
CONSTANTS[112] = 0.0;
CONSTANTS[113] = 0.0;
CONSTANTS[114] = 1.0;
CONSTANTS[115] = 5.0;
CONSTANTS[116] = -5.0;
CONSTANTS[117] = -10.0;
STATES[14] = -50.0;
CONSTANTS[118] = 21.0;
CONSTANTS[119] = 0.0;
CONSTANTS[120] = 50.0;
CONSTANTS[121] = 28.0;
STATES[15] = 0.01;
CONSTANTS[122] = -34.0;
CONSTANTS[123] = -5.0;
CONSTANTS[124] = 10.0;
CONSTANTS[125] = -29.0;
CONSTANTS[126] = -4.0;
CONSTANTS[127] = 11.2;
CONSTANTS[128] = -85.0;
STATES[16] = 0.01;
CONSTANTS[129] = 10.0;
CONSTANTS[130] = -29.0;
CONSTANTS[131] = -4.0;
CONSTANTS[132] = 2.8;
STATES[17] = 0.46;
CONSTANTS[133] = -40.0;
CONSTANTS[134] = -6.0;
CONSTANTS[135] = 10000.0;
CONSTANTS[136] = -48.0;
CONSTANTS[137] = 6.0;
CONSTANTS[138] = 2.8;
CONSTANTS[139] = -57.5;
CONSTANTS[140] = 0.0;
CONSTANTS[141] = 0.0;
CONSTANTS[142] = 1.0;
CONSTANTS[143] = 5.0;
CONSTANTS[144] = -5.0;
CONSTANTS[145] = -10.0;
STATES[18] = -50.0;
CONSTANTS[146] = 21.0;
CONSTANTS[147] = 0.0;
CONSTANTS[148] = 50.0;
CONSTANTS[149] = 28.0;
STATES[19] = 0.01;
CONSTANTS[150] = -34.0;
CONSTANTS[151] = -5.0;
CONSTANTS[152] = 10.0;
CONSTANTS[153] = -29.0;
CONSTANTS[154] = -4.0;
CONSTANTS[155] = 11.2;
CONSTANTS[156] = -85.0;
STATES[20] = 0.01;
CONSTANTS[157] = 10.0;
CONSTANTS[158] = -29.0;
CONSTANTS[159] = -4.0;
CONSTANTS[160] = 2.8;
STATES[21] = 0.46;
CONSTANTS[161] = -40.0;
CONSTANTS[162] = -6.0;
CONSTANTS[163] = 10000.0;
CONSTANTS[164] = -48.0;
CONSTANTS[165] = 6.0;
CONSTANTS[166] = 2.8;
CONSTANTS[167] = -57.5;
CONSTANTS[168] = 0.0;
CONSTANTS[169] = 0.0;
CONSTANTS[170] = 1.0;
CONSTANTS[171] = 5.0;
CONSTANTS[172] = -5.0;
CONSTANTS[173] = -10.0;
STATES[22] = -50.0;
CONSTANTS[174] = 21.0;
CONSTANTS[175] = 0.0;
CONSTANTS[176] = 50.0;
CONSTANTS[177] = 28.0;
STATES[23] = 0.01;
CONSTANTS[178] = -34.0;
CONSTANTS[179] = -5.0;
CONSTANTS[180] = 10.0;
CONSTANTS[181] = -29.0;
CONSTANTS[182] = -4.0;
CONSTANTS[183] = 11.2;
CONSTANTS[184] = -85.0;
STATES[24] = 0.01;
CONSTANTS[185] = 10.0;
CONSTANTS[186] = -29.0;
CONSTANTS[187] = -4.0;
CONSTANTS[188] = 2.8;
STATES[25] = 0.46;
CONSTANTS[189] = -40.0;
CONSTANTS[190] = -6.0;
CONSTANTS[191] = 10000.0;
CONSTANTS[192] = -48.0;
CONSTANTS[193] = 6.0;
CONSTANTS[194] = 2.8;
CONSTANTS[195] = -57.5;
CONSTANTS[196] = 0.0;
CONSTANTS[197] = 0.0;
CONSTANTS[198] = 1.0;
CONSTANTS[199] = 5.0;
CONSTANTS[200] = -5.0;
CONSTANTS[201] = -10.0;
STATES[26] = -50.0;
CONSTANTS[202] = 21.0;
CONSTANTS[203] = 0.0;
CONSTANTS[204] = 50.0;
CONSTANTS[205] = 28.0;
STATES[27] = 0.01;
CONSTANTS[206] = -34.0;
CONSTANTS[207] = -5.0;
CONSTANTS[208] = 10.0;
CONSTANTS[209] = -29.0;
CONSTANTS[210] = -4.0;
CONSTANTS[211] = 11.2;
CONSTANTS[212] = -85.0;
STATES[28] = 0.01;
CONSTANTS[213] = 10.0;
CONSTANTS[214] = -29.0;
CONSTANTS[215] = -4.0;
CONSTANTS[216] = 2.8;
STATES[29] = 0.46;
CONSTANTS[217] = -40.0;
CONSTANTS[218] = -6.0;
CONSTANTS[219] = 10000.0;
CONSTANTS[220] = -48.0;
CONSTANTS[221] = 6.0;
CONSTANTS[222] = 2.8;
CONSTANTS[223] = -57.5;
CONSTANTS[224] = 0.0;
CONSTANTS[225] = 0.0;
CONSTANTS[226] = 1.0;
CONSTANTS[227] = 5.0;
CONSTANTS[228] = -5.0;
CONSTANTS[229] = -10.0;
STATES[30] = -50.0;
CONSTANTS[230] = 21.0;
CONSTANTS[231] = 0.0;
CONSTANTS[232] = 50.0;
CONSTANTS[233] = 28.0;
STATES[31] = 0.01;
CONSTANTS[234] = -34.0;
CONSTANTS[235] = -5.0;
CONSTANTS[236] = 10.0;
CONSTANTS[237] = -29.0;
CONSTANTS[238] = -4.0;
CONSTANTS[239] = 11.2;
CONSTANTS[240] = -85.0;
STATES[32] = 0.01;
CONSTANTS[241] = 10.0;
CONSTANTS[242] = -29.0;
CONSTANTS[243] = -4.0;
CONSTANTS[244] = 2.8;
STATES[33] = 0.46;
CONSTANTS[245] = -40.0;
CONSTANTS[246] = -6.0;
CONSTANTS[247] = 10000.0;
CONSTANTS[248] = -48.0;
CONSTANTS[249] = 6.0;
CONSTANTS[250] = 2.8;
CONSTANTS[251] = -57.5;
CONSTANTS[252] = 0.0;
CONSTANTS[253] = 0.0;
CONSTANTS[254] = 1.0;
CONSTANTS[255] = 5.0;
CONSTANTS[256] = -5.0;
CONSTANTS[257] = -10.0;
STATES[34] = -50.0;
CONSTANTS[258] = 21.0;
CONSTANTS[259] = 0.0;
CONSTANTS[260] = 50.0;
CONSTANTS[261] = 28.0;
STATES[35] = 0.01;
CONSTANTS[262] = -34.0;
CONSTANTS[263] = -5.0;
CONSTANTS[264] = 10.0;
CONSTANTS[265] = -29.0;
CONSTANTS[266] = -4.0;
CONSTANTS[267] = 11.2;
CONSTANTS[268] = -85.0;
STATES[36] = 0.01;
CONSTANTS[269] = 10.0;
CONSTANTS[270] = -29.0;
CONSTANTS[271] = -4.0;
CONSTANTS[272] = 2.8;
STATES[37] = 0.46;
CONSTANTS[273] = -40.0;
CONSTANTS[274] = -6.0;
CONSTANTS[275] = 10000.0;
CONSTANTS[276] = -48.0;
CONSTANTS[277] = 6.0;
CONSTANTS[278] = 2.8;
CONSTANTS[279] = -57.5;
CONSTANTS[280] = 0.0;
CONSTANTS[281] = 0.0;
CONSTANTS[282] = 1.0;
CONSTANTS[283] = 5.0;
CONSTANTS[284] = -5.0;
CONSTANTS[285] = -10.0;
STATES[38] = -50.0;
CONSTANTS[286] = 21.0;
CONSTANTS[287] = 0.0;
CONSTANTS[288] = 50.0;
CONSTANTS[289] = 28.0;
STATES[39] = 0.01;
CONSTANTS[290] = -34.0;
CONSTANTS[291] = -5.0;
CONSTANTS[292] = 10.0;
CONSTANTS[293] = -29.0;
CONSTANTS[294] = -4.0;
CONSTANTS[295] = 11.2;
CONSTANTS[296] = -85.0;
STATES[40] = 0.01;
CONSTANTS[297] = 10.0;
CONSTANTS[298] = -29.0;
CONSTANTS[299] = -4.0;
CONSTANTS[300] = 2.8;
STATES[41] = 0.46;
CONSTANTS[301] = -40.0;
CONSTANTS[302] = -6.0;
CONSTANTS[303] = 10000.0;
CONSTANTS[304] = -48.0;
CONSTANTS[305] = 6.0;
CONSTANTS[306] = 2.8;
CONSTANTS[307] = -57.5;
CONSTANTS[308] = 0.0;
CONSTANTS[309] = 0.0;
CONSTANTS[310] = 1.0;
CONSTANTS[311] = 5.0;
CONSTANTS[312] = -5.0;
CONSTANTS[313] = -10.0;
STATES[42] = -50.0;
CONSTANTS[314] = 21.0;
CONSTANTS[315] = 0.0;
CONSTANTS[316] = 50.0;
CONSTANTS[317] = 28.0;
STATES[43] = 0.01;
CONSTANTS[318] = -34.0;
CONSTANTS[319] = -5.0;
CONSTANTS[320] = 10.0;
CONSTANTS[321] = -29.0;
CONSTANTS[322] = -4.0;
CONSTANTS[323] = 11.2;
CONSTANTS[324] = -85.0;
STATES[44] = 0.01;
CONSTANTS[325] = 10.0;
CONSTANTS[326] = -29.0;
CONSTANTS[327] = -4.0;
CONSTANTS[328] = 2.8;
STATES[45] = 0.46;
CONSTANTS[329] = -40.0;
CONSTANTS[330] = -6.0;
CONSTANTS[331] = 10000.0;
CONSTANTS[332] = -48.0;
CONSTANTS[333] = 6.0;
CONSTANTS[334] = 2.8;
CONSTANTS[335] = -57.5;
CONSTANTS[336] = 0.0;
CONSTANTS[337] = 0.0;
CONSTANTS[338] = 1.0;
CONSTANTS[339] = 5.0;
CONSTANTS[340] = -5.0;
CONSTANTS[341] = -10.0;
STATES[46] = -50.0;
CONSTANTS[342] = 21.0;
CONSTANTS[343] = 0.0;
CONSTANTS[344] = 50.0;
CONSTANTS[345] = 28.0;
STATES[47] = 0.01;
CONSTANTS[346] = -34.0;
CONSTANTS[347] = -5.0;
CONSTANTS[348] = 10.0;
CONSTANTS[349] = -29.0;
CONSTANTS[350] = -4.0;
CONSTANTS[351] = 11.2;
CONSTANTS[352] = -85.0;
STATES[48] = 0.01;
CONSTANTS[353] = 10.0;
CONSTANTS[354] = -29.0;
CONSTANTS[355] = -4.0;
CONSTANTS[356] = 2.8;
STATES[49] = 0.46;
CONSTANTS[357] = -40.0;
CONSTANTS[358] = -6.0;
CONSTANTS[359] = 10000.0;
CONSTANTS[360] = -48.0;
CONSTANTS[361] = 6.0;
CONSTANTS[362] = 2.8;
CONSTANTS[363] = -57.5;
CONSTANTS[364] = 0.0;
CONSTANTS[365] = 0.0;
CONSTANTS[366] = 1.0;
CONSTANTS[367] = 5.0;
CONSTANTS[368] = -5.0;
CONSTANTS[369] = -10.0;
RATES[10] = 0.1;
RATES[11] = 0.1;
RATES[12] = 0.1;
RATES[13] = 0.1;
RATES[0] = 0.1;
RATES[14] = 0.1;
RATES[15] = 0.1;
RATES[16] = 0.1;
RATES[17] = 0.1;
RATES[1] = 0.1;
RATES[18] = 0.1;
RATES[19] = 0.1;
RATES[20] = 0.1;
RATES[21] = 0.1;
RATES[2] = 0.1;
RATES[22] = 0.1;
RATES[23] = 0.1;
RATES[24] = 0.1;
RATES[25] = 0.1;
RATES[3] = 0.1;
RATES[26] = 0.1;
RATES[27] = 0.1;
RATES[28] = 0.1;
RATES[29] = 0.1;
RATES[4] = 0.1;
RATES[30] = 0.1;
RATES[31] = 0.1;
RATES[32] = 0.1;
RATES[33] = 0.1;
RATES[5] = 0.1;
RATES[34] = 0.1;
RATES[35] = 0.1;
RATES[36] = 0.1;
RATES[37] = 0.1;
RATES[6] = 0.1;
RATES[38] = 0.1;
RATES[39] = 0.1;
RATES[40] = 0.1;
RATES[41] = 0.1;
RATES[7] = 0.1;
RATES[42] = 0.1;
RATES[43] = 0.1;
RATES[44] = 0.1;
RATES[45] = 0.1;
RATES[8] = 0.1;
RATES[46] = 0.1;
RATES[47] = 0.1;
RATES[48] = 0.1;
RATES[49] = 0.1;
RATES[9] = 0.1;
}
void
computeResiduals(double VOI, double* CONSTANTS, double* RATES, double* OLDRATES, double* STATES,
                 double* OLDSTATES, double* ALGEBRAIC, double* CONDVARS)
{
resid[0] = RATES[10] - (- (ALGEBRAIC[141]+ALGEBRAIC[140]+ALGEBRAIC[13]+ALGEBRAIC[19]+ALGEBRAIC[20]+ALGEBRAIC[21])+CONSTANTS[91])/CONSTANTS[90];
resid[1] = RATES[11] - (ALGEBRAIC[11] - STATES[11])/ALGEBRAIC[12];
resid[2] = RATES[12] - (ALGEBRAIC[14] - STATES[12])/ALGEBRAIC[15];
resid[3] = RATES[13] - (ALGEBRAIC[17] - STATES[13])/ALGEBRAIC[18];
resid[4] = RATES[0] - ( (1.00000 - STATES[0])*ALGEBRAIC[22] - - ( CONSTANTS[114]*STATES[0]))/CONSTANTS[115];
resid[5] = RATES[14] - (- (ALGEBRAIC[143]+ALGEBRAIC[142]+ALGEBRAIC[26]+ALGEBRAIC[32]+ALGEBRAIC[33]+ALGEBRAIC[34])+CONSTANTS[119])/CONSTANTS[118];
resid[6] = RATES[15] - (ALGEBRAIC[24] - STATES[15])/ALGEBRAIC[25];
resid[7] = RATES[16] - (ALGEBRAIC[27] - STATES[16])/ALGEBRAIC[28];
resid[8] = RATES[17] - (ALGEBRAIC[30] - STATES[17])/ALGEBRAIC[31];
resid[9] = RATES[1] - ( (1.00000 - STATES[1])*ALGEBRAIC[35] - - ( CONSTANTS[142]*STATES[1]))/CONSTANTS[143];
resid[10] = RATES[18] - (- (ALGEBRAIC[145]+ALGEBRAIC[144]+ALGEBRAIC[39]+ALGEBRAIC[45]+ALGEBRAIC[46]+ALGEBRAIC[47])+CONSTANTS[147])/CONSTANTS[146];
resid[11] = RATES[19] - (ALGEBRAIC[37] - STATES[19])/ALGEBRAIC[38];
resid[12] = RATES[20] - (ALGEBRAIC[40] - STATES[20])/ALGEBRAIC[41];
resid[13] = RATES[21] - (ALGEBRAIC[43] - STATES[21])/ALGEBRAIC[44];
resid[14] = RATES[2] - ( (1.00000 - STATES[2])*ALGEBRAIC[48] - - ( CONSTANTS[170]*STATES[2]))/CONSTANTS[171];
resid[15] = RATES[22] - (- (ALGEBRAIC[147]+ALGEBRAIC[146]+ALGEBRAIC[52]+ALGEBRAIC[58]+ALGEBRAIC[59]+ALGEBRAIC[60])+CONSTANTS[175])/CONSTANTS[174];
resid[16] = RATES[23] - (ALGEBRAIC[50] - STATES[23])/ALGEBRAIC[51];
resid[17] = RATES[24] - (ALGEBRAIC[53] - STATES[24])/ALGEBRAIC[54];
resid[18] = RATES[25] - (ALGEBRAIC[56] - STATES[25])/ALGEBRAIC[57];
resid[19] = RATES[3] - ( (1.00000 - STATES[3])*ALGEBRAIC[61] - - ( CONSTANTS[198]*STATES[3]))/CONSTANTS[199];
resid[20] = RATES[26] - (- (ALGEBRAIC[149]+ALGEBRAIC[148]+ALGEBRAIC[65]+ALGEBRAIC[71]+ALGEBRAIC[72]+ALGEBRAIC[73])+CONSTANTS[203])/CONSTANTS[202];
resid[21] = RATES[27] - (ALGEBRAIC[63] - STATES[27])/ALGEBRAIC[64];
resid[22] = RATES[28] - (ALGEBRAIC[66] - STATES[28])/ALGEBRAIC[67];
resid[23] = RATES[29] - (ALGEBRAIC[69] - STATES[29])/ALGEBRAIC[70];
resid[24] = RATES[4] - ( (1.00000 - STATES[4])*ALGEBRAIC[74] - - ( CONSTANTS[226]*STATES[4]))/CONSTANTS[227];
resid[25] = RATES[30] - (- (ALGEBRAIC[151]+ALGEBRAIC[150]+ALGEBRAIC[78]+ALGEBRAIC[84]+ALGEBRAIC[85]+ALGEBRAIC[86])+CONSTANTS[231])/CONSTANTS[230];
resid[26] = RATES[31] - (ALGEBRAIC[76] - STATES[31])/ALGEBRAIC[77];
resid[27] = RATES[32] - (ALGEBRAIC[79] - STATES[32])/ALGEBRAIC[80];
resid[28] = RATES[33] - (ALGEBRAIC[82] - STATES[33])/ALGEBRAIC[83];
resid[29] = RATES[5] - ( (1.00000 - STATES[5])*ALGEBRAIC[87] - - ( CONSTANTS[254]*STATES[5]))/CONSTANTS[255];
resid[30] = RATES[34] - (- (ALGEBRAIC[153]+ALGEBRAIC[152]+ALGEBRAIC[91]+ALGEBRAIC[97]+ALGEBRAIC[98]+ALGEBRAIC[99])+CONSTANTS[259])/CONSTANTS[258];
resid[31] = RATES[35] - (ALGEBRAIC[89] - STATES[35])/ALGEBRAIC[90];
resid[32] = RATES[36] - (ALGEBRAIC[92] - STATES[36])/ALGEBRAIC[93];
resid[33] = RATES[37] - (ALGEBRAIC[95] - STATES[37])/ALGEBRAIC[96];
resid[34] = RATES[6] - ( (1.00000 - STATES[6])*ALGEBRAIC[100] - - ( CONSTANTS[282]*STATES[6]))/CONSTANTS[283];
resid[35] = RATES[38] - (- (ALGEBRAIC[155]+ALGEBRAIC[154]+ALGEBRAIC[104]+ALGEBRAIC[110]+ALGEBRAIC[111]+ALGEBRAIC[112])+CONSTANTS[287])/CONSTANTS[286];
resid[36] = RATES[39] - (ALGEBRAIC[102] - STATES[39])/ALGEBRAIC[103];
resid[37] = RATES[40] - (ALGEBRAIC[105] - STATES[40])/ALGEBRAIC[106];
resid[38] = RATES[41] - (ALGEBRAIC[108] - STATES[41])/ALGEBRAIC[109];
resid[39] = RATES[7] - ( (1.00000 - STATES[7])*ALGEBRAIC[113] - - ( CONSTANTS[310]*STATES[7]))/CONSTANTS[311];
resid[40] = RATES[42] - (- (ALGEBRAIC[157]+ALGEBRAIC[156]+ALGEBRAIC[117]+ALGEBRAIC[123]+ALGEBRAIC[124]+ALGEBRAIC[125])+CONSTANTS[315])/CONSTANTS[314];
resid[41] = RATES[43] - (ALGEBRAIC[115] - STATES[43])/ALGEBRAIC[116];
resid[42] = RATES[44] - (ALGEBRAIC[118] - STATES[44])/ALGEBRAIC[119];
resid[43] = RATES[45] - (ALGEBRAIC[121] - STATES[45])/ALGEBRAIC[122];
resid[44] = RATES[8] - ( (1.00000 - STATES[8])*ALGEBRAIC[126] - - ( CONSTANTS[338]*STATES[8]))/CONSTANTS[339];
resid[45] = RATES[46] - (- (ALGEBRAIC[159]+ALGEBRAIC[158]+ALGEBRAIC[130]+ALGEBRAIC[136]+ALGEBRAIC[137]+ALGEBRAIC[138])+CONSTANTS[343])/CONSTANTS[342];
resid[46] = RATES[47] - (ALGEBRAIC[128] - STATES[47])/ALGEBRAIC[129];
resid[47] = RATES[48] - (ALGEBRAIC[131] - STATES[48])/ALGEBRAIC[132];
resid[48] = RATES[49] - (ALGEBRAIC[134] - STATES[49])/ALGEBRAIC[135];
resid[49] = RATES[9] - ( (1.00000 - STATES[9])*ALGEBRAIC[139] - - ( CONSTANTS[366]*STATES[9]))/CONSTANTS[367];
}
void
computeVariables(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC)
{
}
void
computeEssentialVariables(double VOI, double* CONSTANTS, double* RATES, double* STATES, double* ALGEBRAIC)
{
ALGEBRAIC[11] = 1.00000/(1.00000+exp((STATES[10] - CONSTANTS[97])/CONSTANTS[98]));
ALGEBRAIC[12] = CONSTANTS[96]/cosh((STATES[10] - CONSTANTS[97])/( 2.00000*CONSTANTS[98]));
ALGEBRAIC[13] =  CONSTANTS[99]*pow(STATES[12], 4.00000)*(STATES[10] - CONSTANTS[100]);
ALGEBRAIC[14] = 1.00000/(1.00000+exp((STATES[10] - CONSTANTS[102])/CONSTANTS[103]));
ALGEBRAIC[15] = CONSTANTS[101]/cosh((STATES[10] - CONSTANTS[102])/( 2.00000*CONSTANTS[103]));
ALGEBRAIC[17] = 1.00000/(1.00000+exp((STATES[10] - CONSTANTS[108])/CONSTANTS[109]));
ALGEBRAIC[18] = CONSTANTS[107]/cosh((STATES[10] - CONSTANTS[108])/( 2.00000*CONSTANTS[109]));
ALGEBRAIC[19] =  CONSTANTS[110]*(STATES[10] - CONSTANTS[111]);
ALGEBRAIC[20] =  CONSTANTS[113]*(STATES[10] - CONSTANTS[112]);
ALGEBRAIC[0] =  CONSTANTS[0]*STATES[0]+ CONSTANTS[1]*STATES[0]+ CONSTANTS[2]*STATES[0]+ CONSTANTS[3]*STATES[0]+ CONSTANTS[4]*STATES[0]+ CONSTANTS[5]*STATES[0]+ CONSTANTS[6]*STATES[0]+ CONSTANTS[7]*STATES[0]+ CONSTANTS[8]*STATES[0];
ALGEBRAIC[21] =  ALGEBRAIC[0]*(STATES[10] - CONSTANTS[112]);
ALGEBRAIC[22] = 1.00000/(1.00000+exp((STATES[10] - CONSTANTS[117])/CONSTANTS[116]));
ALGEBRAIC[24] = 1.00000/(1.00000+exp((STATES[14] - CONSTANTS[125])/CONSTANTS[126]));
ALGEBRAIC[25] = CONSTANTS[124]/cosh((STATES[14] - CONSTANTS[125])/( 2.00000*CONSTANTS[126]));
ALGEBRAIC[26] =  CONSTANTS[127]*pow(STATES[16], 4.00000)*(STATES[14] - CONSTANTS[128]);
ALGEBRAIC[27] = 1.00000/(1.00000+exp((STATES[14] - CONSTANTS[130])/CONSTANTS[131]));
ALGEBRAIC[28] = CONSTANTS[129]/cosh((STATES[14] - CONSTANTS[130])/( 2.00000*CONSTANTS[131]));
ALGEBRAIC[30] = 1.00000/(1.00000+exp((STATES[14] - CONSTANTS[136])/CONSTANTS[137]));
ALGEBRAIC[31] = CONSTANTS[135]/cosh((STATES[14] - CONSTANTS[136])/( 2.00000*CONSTANTS[137]));
ALGEBRAIC[32] =  CONSTANTS[138]*(STATES[14] - CONSTANTS[139]);
ALGEBRAIC[33] =  CONSTANTS[141]*(STATES[14] - CONSTANTS[140]);
ALGEBRAIC[1] =  CONSTANTS[9]*STATES[1]+ CONSTANTS[10]*STATES[1]+ CONSTANTS[11]*STATES[1]+ CONSTANTS[12]*STATES[1]+ CONSTANTS[13]*STATES[1]+ CONSTANTS[14]*STATES[1]+ CONSTANTS[15]*STATES[1]+ CONSTANTS[16]*STATES[1]+ CONSTANTS[17]*STATES[1];
ALGEBRAIC[34] =  ALGEBRAIC[1]*(STATES[14] - CONSTANTS[140]);
ALGEBRAIC[35] = 1.00000/(1.00000+exp((STATES[14] - CONSTANTS[145])/CONSTANTS[144]));
ALGEBRAIC[37] = 1.00000/(1.00000+exp((STATES[18] - CONSTANTS[153])/CONSTANTS[154]));
ALGEBRAIC[38] = CONSTANTS[152]/cosh((STATES[18] - CONSTANTS[153])/( 2.00000*CONSTANTS[154]));
ALGEBRAIC[39] =  CONSTANTS[155]*pow(STATES[20], 4.00000)*(STATES[18] - CONSTANTS[156]);
ALGEBRAIC[40] = 1.00000/(1.00000+exp((STATES[18] - CONSTANTS[158])/CONSTANTS[159]));
ALGEBRAIC[41] = CONSTANTS[157]/cosh((STATES[18] - CONSTANTS[158])/( 2.00000*CONSTANTS[159]));
ALGEBRAIC[43] = 1.00000/(1.00000+exp((STATES[18] - CONSTANTS[164])/CONSTANTS[165]));
ALGEBRAIC[44] = CONSTANTS[163]/cosh((STATES[18] - CONSTANTS[164])/( 2.00000*CONSTANTS[165]));
ALGEBRAIC[45] =  CONSTANTS[166]*(STATES[18] - CONSTANTS[167]);
ALGEBRAIC[46] =  CONSTANTS[169]*(STATES[18] - CONSTANTS[168]);
ALGEBRAIC[2] =  CONSTANTS[18]*STATES[2]+ CONSTANTS[19]*STATES[2]+ CONSTANTS[20]*STATES[2]+ CONSTANTS[21]*STATES[2]+ CONSTANTS[22]*STATES[2]+ CONSTANTS[23]*STATES[2]+ CONSTANTS[24]*STATES[2]+ CONSTANTS[25]*STATES[2]+ CONSTANTS[26]*STATES[2];
ALGEBRAIC[47] =  ALGEBRAIC[2]*(STATES[18] - CONSTANTS[168]);
ALGEBRAIC[48] = 1.00000/(1.00000+exp((STATES[18] - CONSTANTS[173])/CONSTANTS[172]));
ALGEBRAIC[50] = 1.00000/(1.00000+exp((STATES[22] - CONSTANTS[181])/CONSTANTS[182]));
ALGEBRAIC[51] = CONSTANTS[180]/cosh((STATES[22] - CONSTANTS[181])/( 2.00000*CONSTANTS[182]));
ALGEBRAIC[52] =  CONSTANTS[183]*pow(STATES[24], 4.00000)*(STATES[22] - CONSTANTS[184]);
ALGEBRAIC[53] = 1.00000/(1.00000+exp((STATES[22] - CONSTANTS[186])/CONSTANTS[187]));
ALGEBRAIC[54] = CONSTANTS[185]/cosh((STATES[22] - CONSTANTS[186])/( 2.00000*CONSTANTS[187]));
ALGEBRAIC[56] = 1.00000/(1.00000+exp((STATES[22] - CONSTANTS[192])/CONSTANTS[193]));
ALGEBRAIC[57] = CONSTANTS[191]/cosh((STATES[22] - CONSTANTS[192])/( 2.00000*CONSTANTS[193]));
ALGEBRAIC[58] =  CONSTANTS[194]*(STATES[22] - CONSTANTS[195]);
ALGEBRAIC[59] =  CONSTANTS[197]*(STATES[22] - CONSTANTS[196]);
ALGEBRAIC[3] =  CONSTANTS[27]*STATES[3]+ CONSTANTS[28]*STATES[3]+ CONSTANTS[29]*STATES[3]+ CONSTANTS[30]*STATES[3]+ CONSTANTS[31]*STATES[3]+ CONSTANTS[32]*STATES[3]+ CONSTANTS[33]*STATES[3]+ CONSTANTS[34]*STATES[3]+ CONSTANTS[35]*STATES[3];
ALGEBRAIC[60] =  ALGEBRAIC[3]*(STATES[22] - CONSTANTS[196]);
ALGEBRAIC[61] = 1.00000/(1.00000+exp((STATES[22] - CONSTANTS[201])/CONSTANTS[200]));
ALGEBRAIC[63] = 1.00000/(1.00000+exp((STATES[26] - CONSTANTS[209])/CONSTANTS[210]));
ALGEBRAIC[64] = CONSTANTS[208]/cosh((STATES[26] - CONSTANTS[209])/( 2.00000*CONSTANTS[210]));
ALGEBRAIC[65] =  CONSTANTS[211]*pow(STATES[28], 4.00000)*(STATES[26] - CONSTANTS[212]);
ALGEBRAIC[66] = 1.00000/(1.00000+exp((STATES[26] - CONSTANTS[214])/CONSTANTS[215]));
ALGEBRAIC[67] = CONSTANTS[213]/cosh((STATES[26] - CONSTANTS[214])/( 2.00000*CONSTANTS[215]));
ALGEBRAIC[69] = 1.00000/(1.00000+exp((STATES[26] - CONSTANTS[220])/CONSTANTS[221]));
ALGEBRAIC[70] = CONSTANTS[219]/cosh((STATES[26] - CONSTANTS[220])/( 2.00000*CONSTANTS[221]));
ALGEBRAIC[71] =  CONSTANTS[222]*(STATES[26] - CONSTANTS[223]);
ALGEBRAIC[72] =  CONSTANTS[225]*(STATES[26] - CONSTANTS[224]);
ALGEBRAIC[4] =  CONSTANTS[36]*STATES[4]+ CONSTANTS[37]*STATES[4]+ CONSTANTS[38]*STATES[4]+ CONSTANTS[39]*STATES[4]+ CONSTANTS[40]*STATES[4]+ CONSTANTS[41]*STATES[4]+ CONSTANTS[42]*STATES[4]+ CONSTANTS[43]*STATES[4]+ CONSTANTS[44]*STATES[4];
ALGEBRAIC[73] =  ALGEBRAIC[4]*(STATES[26] - CONSTANTS[224]);
ALGEBRAIC[74] = 1.00000/(1.00000+exp((STATES[26] - CONSTANTS[229])/CONSTANTS[228]));
ALGEBRAIC[76] = 1.00000/(1.00000+exp((STATES[30] - CONSTANTS[237])/CONSTANTS[238]));
ALGEBRAIC[77] = CONSTANTS[236]/cosh((STATES[30] - CONSTANTS[237])/( 2.00000*CONSTANTS[238]));
ALGEBRAIC[78] =  CONSTANTS[239]*pow(STATES[32], 4.00000)*(STATES[30] - CONSTANTS[240]);
ALGEBRAIC[79] = 1.00000/(1.00000+exp((STATES[30] - CONSTANTS[242])/CONSTANTS[243]));
ALGEBRAIC[80] = CONSTANTS[241]/cosh((STATES[30] - CONSTANTS[242])/( 2.00000*CONSTANTS[243]));
ALGEBRAIC[82] = 1.00000/(1.00000+exp((STATES[30] - CONSTANTS[248])/CONSTANTS[249]));
ALGEBRAIC[83] = CONSTANTS[247]/cosh((STATES[30] - CONSTANTS[248])/( 2.00000*CONSTANTS[249]));
ALGEBRAIC[84] =  CONSTANTS[250]*(STATES[30] - CONSTANTS[251]);
ALGEBRAIC[85] =  CONSTANTS[253]*(STATES[30] - CONSTANTS[252]);
ALGEBRAIC[5] =  CONSTANTS[45]*STATES[5]+ CONSTANTS[46]*STATES[5]+ CONSTANTS[47]*STATES[5]+ CONSTANTS[48]*STATES[5]+ CONSTANTS[49]*STATES[5]+ CONSTANTS[50]*STATES[5]+ CONSTANTS[51]*STATES[5]+ CONSTANTS[52]*STATES[5]+ CONSTANTS[53]*STATES[5];
ALGEBRAIC[86] =  ALGEBRAIC[5]*(STATES[30] - CONSTANTS[252]);
ALGEBRAIC[87] = 1.00000/(1.00000+exp((STATES[30] - CONSTANTS[257])/CONSTANTS[256]));
ALGEBRAIC[89] = 1.00000/(1.00000+exp((STATES[34] - CONSTANTS[265])/CONSTANTS[266]));
ALGEBRAIC[90] = CONSTANTS[264]/cosh((STATES[34] - CONSTANTS[265])/( 2.00000*CONSTANTS[266]));
ALGEBRAIC[91] =  CONSTANTS[267]*pow(STATES[36], 4.00000)*(STATES[34] - CONSTANTS[268]);
ALGEBRAIC[92] = 1.00000/(1.00000+exp((STATES[34] - CONSTANTS[270])/CONSTANTS[271]));
ALGEBRAIC[93] = CONSTANTS[269]/cosh((STATES[34] - CONSTANTS[270])/( 2.00000*CONSTANTS[271]));
ALGEBRAIC[95] = 1.00000/(1.00000+exp((STATES[34] - CONSTANTS[276])/CONSTANTS[277]));
ALGEBRAIC[96] = CONSTANTS[275]/cosh((STATES[34] - CONSTANTS[276])/( 2.00000*CONSTANTS[277]));
ALGEBRAIC[97] =  CONSTANTS[278]*(STATES[34] - CONSTANTS[279]);
ALGEBRAIC[98] =  CONSTANTS[281]*(STATES[34] - CONSTANTS[280]);
ALGEBRAIC[6] =  CONSTANTS[54]*STATES[6]+ CONSTANTS[55]*STATES[6]+ CONSTANTS[56]*STATES[6]+ CONSTANTS[57]*STATES[6]+ CONSTANTS[58]*STATES[6]+ CONSTANTS[59]*STATES[6]+ CONSTANTS[60]*STATES[6]+ CONSTANTS[61]*STATES[6]+ CONSTANTS[62]*STATES[6];
ALGEBRAIC[99] =  ALGEBRAIC[6]*(STATES[34] - CONSTANTS[280]);
ALGEBRAIC[100] = 1.00000/(1.00000+exp((STATES[34] - CONSTANTS[285])/CONSTANTS[284]));
ALGEBRAIC[102] = 1.00000/(1.00000+exp((STATES[38] - CONSTANTS[293])/CONSTANTS[294]));
ALGEBRAIC[103] = CONSTANTS[292]/cosh((STATES[38] - CONSTANTS[293])/( 2.00000*CONSTANTS[294]));
ALGEBRAIC[104] =  CONSTANTS[295]*pow(STATES[40], 4.00000)*(STATES[38] - CONSTANTS[296]);
ALGEBRAIC[105] = 1.00000/(1.00000+exp((STATES[38] - CONSTANTS[298])/CONSTANTS[299]));
ALGEBRAIC[106] = CONSTANTS[297]/cosh((STATES[38] - CONSTANTS[298])/( 2.00000*CONSTANTS[299]));
ALGEBRAIC[108] = 1.00000/(1.00000+exp((STATES[38] - CONSTANTS[304])/CONSTANTS[305]));
ALGEBRAIC[109] = CONSTANTS[303]/cosh((STATES[38] - CONSTANTS[304])/( 2.00000*CONSTANTS[305]));
ALGEBRAIC[110] =  CONSTANTS[306]*(STATES[38] - CONSTANTS[307]);
ALGEBRAIC[111] =  CONSTANTS[309]*(STATES[38] - CONSTANTS[308]);
ALGEBRAIC[7] =  CONSTANTS[63]*STATES[7]+ CONSTANTS[64]*STATES[7]+ CONSTANTS[65]*STATES[7]+ CONSTANTS[66]*STATES[7]+ CONSTANTS[67]*STATES[7]+ CONSTANTS[68]*STATES[7]+ CONSTANTS[69]*STATES[7]+ CONSTANTS[70]*STATES[7]+ CONSTANTS[71]*STATES[7];
ALGEBRAIC[112] =  ALGEBRAIC[7]*(STATES[38] - CONSTANTS[308]);
ALGEBRAIC[113] = 1.00000/(1.00000+exp((STATES[38] - CONSTANTS[313])/CONSTANTS[312]));
ALGEBRAIC[115] = 1.00000/(1.00000+exp((STATES[42] - CONSTANTS[321])/CONSTANTS[322]));
ALGEBRAIC[116] = CONSTANTS[320]/cosh((STATES[42] - CONSTANTS[321])/( 2.00000*CONSTANTS[322]));
ALGEBRAIC[117] =  CONSTANTS[323]*pow(STATES[44], 4.00000)*(STATES[42] - CONSTANTS[324]);
ALGEBRAIC[118] = 1.00000/(1.00000+exp((STATES[42] - CONSTANTS[326])/CONSTANTS[327]));
ALGEBRAIC[119] = CONSTANTS[325]/cosh((STATES[42] - CONSTANTS[326])/( 2.00000*CONSTANTS[327]));
ALGEBRAIC[121] = 1.00000/(1.00000+exp((STATES[42] - CONSTANTS[332])/CONSTANTS[333]));
ALGEBRAIC[122] = CONSTANTS[331]/cosh((STATES[42] - CONSTANTS[332])/( 2.00000*CONSTANTS[333]));
ALGEBRAIC[123] =  CONSTANTS[334]*(STATES[42] - CONSTANTS[335]);
ALGEBRAIC[124] =  CONSTANTS[337]*(STATES[42] - CONSTANTS[336]);
ALGEBRAIC[8] =  CONSTANTS[72]*STATES[8]+ CONSTANTS[73]*STATES[8]+ CONSTANTS[74]*STATES[8]+ CONSTANTS[75]*STATES[8]+ CONSTANTS[76]*STATES[8]+ CONSTANTS[77]*STATES[8]+ CONSTANTS[78]*STATES[8]+ CONSTANTS[79]*STATES[8]+ CONSTANTS[80]*STATES[8];
ALGEBRAIC[125] =  ALGEBRAIC[8]*(STATES[42] - CONSTANTS[336]);
ALGEBRAIC[126] = 1.00000/(1.00000+exp((STATES[42] - CONSTANTS[341])/CONSTANTS[340]));
ALGEBRAIC[128] = 1.00000/(1.00000+exp((STATES[46] - CONSTANTS[349])/CONSTANTS[350]));
ALGEBRAIC[129] = CONSTANTS[348]/cosh((STATES[46] - CONSTANTS[349])/( 2.00000*CONSTANTS[350]));
ALGEBRAIC[130] =  CONSTANTS[351]*pow(STATES[48], 4.00000)*(STATES[46] - CONSTANTS[352]);
ALGEBRAIC[131] = 1.00000/(1.00000+exp((STATES[46] - CONSTANTS[354])/CONSTANTS[355]));
ALGEBRAIC[132] = CONSTANTS[353]/cosh((STATES[46] - CONSTANTS[354])/( 2.00000*CONSTANTS[355]));
ALGEBRAIC[134] = 1.00000/(1.00000+exp((STATES[46] - CONSTANTS[360])/CONSTANTS[361]));
ALGEBRAIC[135] = CONSTANTS[359]/cosh((STATES[46] - CONSTANTS[360])/( 2.00000*CONSTANTS[361]));
ALGEBRAIC[136] =  CONSTANTS[362]*(STATES[46] - CONSTANTS[363]);
ALGEBRAIC[137] =  CONSTANTS[365]*(STATES[46] - CONSTANTS[364]);
ALGEBRAIC[9] =  CONSTANTS[81]*STATES[9]+ CONSTANTS[82]*STATES[9]+ CONSTANTS[83]*STATES[9]+ CONSTANTS[84]*STATES[9]+ CONSTANTS[85]*STATES[9]+ CONSTANTS[86]*STATES[9]+ CONSTANTS[87]*STATES[9]+ CONSTANTS[88]*STATES[9]+ CONSTANTS[89]*STATES[9];
ALGEBRAIC[138] =  ALGEBRAIC[9]*(STATES[46] - CONSTANTS[364]);
ALGEBRAIC[139] = 1.00000/(1.00000+exp((STATES[46] - CONSTANTS[369])/CONSTANTS[368]));
ALGEBRAIC[10] = 1.00000/(1.00000+exp((STATES[10] - CONSTANTS[94])/CONSTANTS[95]));
ALGEBRAIC[140] =  CONSTANTS[93]*pow(ALGEBRAIC[10], 3.00000)*(1.00000 - STATES[11])*(STATES[10] - CONSTANTS[92]);
ALGEBRAIC[16] = 1.00000/(1.00000+exp((STATES[10] - CONSTANTS[105])/CONSTANTS[106]));
ALGEBRAIC[141] =  CONSTANTS[104]*ALGEBRAIC[16]*STATES[13]*(STATES[10] - CONSTANTS[92]);
ALGEBRAIC[23] = 1.00000/(1.00000+exp((STATES[14] - CONSTANTS[122])/CONSTANTS[123]));
ALGEBRAIC[142] =  CONSTANTS[121]*pow(ALGEBRAIC[23], 3.00000)*(1.00000 - STATES[15])*(STATES[14] - CONSTANTS[120]);
ALGEBRAIC[29] = 1.00000/(1.00000+exp((STATES[14] - CONSTANTS[133])/CONSTANTS[134]));
ALGEBRAIC[143] =  CONSTANTS[132]*ALGEBRAIC[29]*STATES[17]*(STATES[14] - CONSTANTS[120]);
ALGEBRAIC[36] = 1.00000/(1.00000+exp((STATES[18] - CONSTANTS[150])/CONSTANTS[151]));
ALGEBRAIC[144] =  CONSTANTS[149]*pow(ALGEBRAIC[36], 3.00000)*(1.00000 - STATES[19])*(STATES[18] - CONSTANTS[148]);
ALGEBRAIC[42] = 1.00000/(1.00000+exp((STATES[18] - CONSTANTS[161])/CONSTANTS[162]));
ALGEBRAIC[145] =  CONSTANTS[160]*ALGEBRAIC[42]*STATES[21]*(STATES[18] - CONSTANTS[148]);
ALGEBRAIC[49] = 1.00000/(1.00000+exp((STATES[22] - CONSTANTS[178])/CONSTANTS[179]));
ALGEBRAIC[146] =  CONSTANTS[177]*pow(ALGEBRAIC[49], 3.00000)*(1.00000 - STATES[23])*(STATES[22] - CONSTANTS[176]);
ALGEBRAIC[55] = 1.00000/(1.00000+exp((STATES[22] - CONSTANTS[189])/CONSTANTS[190]));
ALGEBRAIC[147] =  CONSTANTS[188]*ALGEBRAIC[55]*STATES[25]*(STATES[22] - CONSTANTS[176]);
ALGEBRAIC[62] = 1.00000/(1.00000+exp((STATES[26] - CONSTANTS[206])/CONSTANTS[207]));
ALGEBRAIC[148] =  CONSTANTS[205]*pow(ALGEBRAIC[62], 3.00000)*(1.00000 - STATES[27])*(STATES[26] - CONSTANTS[204]);
ALGEBRAIC[68] = 1.00000/(1.00000+exp((STATES[26] - CONSTANTS[217])/CONSTANTS[218]));
ALGEBRAIC[149] =  CONSTANTS[216]*ALGEBRAIC[68]*STATES[29]*(STATES[26] - CONSTANTS[204]);
ALGEBRAIC[75] = 1.00000/(1.00000+exp((STATES[30] - CONSTANTS[234])/CONSTANTS[235]));
ALGEBRAIC[150] =  CONSTANTS[233]*pow(ALGEBRAIC[75], 3.00000)*(1.00000 - STATES[31])*(STATES[30] - CONSTANTS[232]);
ALGEBRAIC[81] = 1.00000/(1.00000+exp((STATES[30] - CONSTANTS[245])/CONSTANTS[246]));
ALGEBRAIC[151] =  CONSTANTS[244]*ALGEBRAIC[81]*STATES[33]*(STATES[30] - CONSTANTS[232]);
ALGEBRAIC[88] = 1.00000/(1.00000+exp((STATES[34] - CONSTANTS[262])/CONSTANTS[263]));
ALGEBRAIC[152] =  CONSTANTS[261]*pow(ALGEBRAIC[88], 3.00000)*(1.00000 - STATES[35])*(STATES[34] - CONSTANTS[260]);
ALGEBRAIC[94] = 1.00000/(1.00000+exp((STATES[34] - CONSTANTS[273])/CONSTANTS[274]));
ALGEBRAIC[153] =  CONSTANTS[272]*ALGEBRAIC[94]*STATES[37]*(STATES[34] - CONSTANTS[260]);
ALGEBRAIC[101] = 1.00000/(1.00000+exp((STATES[38] - CONSTANTS[290])/CONSTANTS[291]));
ALGEBRAIC[154] =  CONSTANTS[289]*pow(ALGEBRAIC[101], 3.00000)*(1.00000 - STATES[39])*(STATES[38] - CONSTANTS[288]);
ALGEBRAIC[107] = 1.00000/(1.00000+exp((STATES[38] - CONSTANTS[301])/CONSTANTS[302]));
ALGEBRAIC[155] =  CONSTANTS[300]*ALGEBRAIC[107]*STATES[41]*(STATES[38] - CONSTANTS[288]);
ALGEBRAIC[114] = 1.00000/(1.00000+exp((STATES[42] - CONSTANTS[318])/CONSTANTS[319]));
ALGEBRAIC[156] =  CONSTANTS[317]*pow(ALGEBRAIC[114], 3.00000)*(1.00000 - STATES[43])*(STATES[42] - CONSTANTS[316]);
ALGEBRAIC[120] = 1.00000/(1.00000+exp((STATES[42] - CONSTANTS[329])/CONSTANTS[330]));
ALGEBRAIC[157] =  CONSTANTS[328]*ALGEBRAIC[120]*STATES[45]*(STATES[42] - CONSTANTS[316]);
ALGEBRAIC[127] = 1.00000/(1.00000+exp((STATES[46] - CONSTANTS[346])/CONSTANTS[347]));
ALGEBRAIC[158] =  CONSTANTS[345]*pow(ALGEBRAIC[127], 3.00000)*(1.00000 - STATES[47])*(STATES[46] - CONSTANTS[344]);
ALGEBRAIC[133] = 1.00000/(1.00000+exp((STATES[46] - CONSTANTS[357])/CONSTANTS[358]));
ALGEBRAIC[159] =  CONSTANTS[356]*ALGEBRAIC[133]*STATES[49]*(STATES[46] - CONSTANTS[344]);
}
void
getStateInformation(double* SI)
{
SI[0] = 1.0;
SI[1] = 1.0;
SI[2] = 1.0;
SI[3] = 1.0;
SI[4] = 1.0;
SI[5] = 1.0;
SI[6] = 1.0;
SI[7] = 1.0;
SI[8] = 1.0;
SI[9] = 1.0;
SI[10] = 1.0;
SI[11] = 1.0;
SI[12] = 1.0;
SI[13] = 1.0;
SI[14] = 1.0;
SI[15] = 1.0;
SI[16] = 1.0;
SI[17] = 1.0;
SI[18] = 1.0;
SI[19] = 1.0;
SI[20] = 1.0;
SI[21] = 1.0;
SI[22] = 1.0;
SI[23] = 1.0;
SI[24] = 1.0;
SI[25] = 1.0;
SI[26] = 1.0;
SI[27] = 1.0;
SI[28] = 1.0;
SI[29] = 1.0;
SI[30] = 1.0;
SI[31] = 1.0;
SI[32] = 1.0;
SI[33] = 1.0;
SI[34] = 1.0;
SI[35] = 1.0;
SI[36] = 1.0;
SI[37] = 1.0;
SI[38] = 1.0;
SI[39] = 1.0;
SI[40] = 1.0;
SI[41] = 1.0;
SI[42] = 1.0;
SI[43] = 1.0;
SI[44] = 1.0;
SI[45] = 1.0;
SI[46] = 1.0;
SI[47] = 1.0;
SI[48] = 1.0;
SI[49] = 1.0;
}
void
computeRoots(double VOI, double* CONSTANTS, double* RATES, double* OLDRATES, double* STATES,
             double* OLDSTATES, double* ALGEBRAIC, double* CONDVARS)
{
}