Hey Flynn,
thanks for your input!
I agree, it’s a numerical issue. As you said, the simulation fails at the first section switch, during the re-initialization. Apparently, NaN’s get computed, but I don’t yet know why. Here’s the debug log:
[Debug: integrate::1253] Solve from 713.22 to 713.22 => IDA_SUCCESS
[Debug: integrate::1279] === #Steps: 202
=== #Residual evals: 203
=== #Error test fails: 0
=== #Newton iters: 203
=== #Conv test fails: 0
=== Last step size: 3.87311
=== Next step size: 7.74621
[Debug: integrate::1253] Solve from 713.22 to 714 => IDA_TSTOP_RETURN
[Debug: integrate::1279] === #Steps: 202
=== #Residual evals: 203
=== #Error test fails: 0
=== #Newton iters: 203
=== #Conv test fails: 0
=== Last step size: 3.87311
=== Next step size: 7.74621
[Debug: integrate::1091] ###### SECTION 1 from 713.22 to 2448.12
[Debug: notifyDiscontinuousSectionTransition::138] Switching from valve configuration 0 to 1 (sec = 1 wrapSec = 1)
[Debug: notifyDiscontinuousSectionTransition::151] Unit op 0 (INLET) port -1 comp -1 => 1 (LUMPED_RATE_MODEL_WITH_PORES) port -1 comp -1
[Debug: notifyDiscontinuousSectionTransition::151] Unit op 1 (LUMPED_RATE_MODEL_WITH_PORES) port -1 comp -1 => 2 (OUTLET) port -1 comp -1
[Debug: integrate::1104] ---====--- CONSISTENCY ---====---
[Debug: updateDynamicModelFlowRates::226] Flow out unit 0 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::215] Flow in unit 1 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::226] Flow out unit 1 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::215] Flow in unit 2 port 0: 2.312e-08
[Debug: residualNorm::479] Residual: [0,0.00667,0,0,-8.49472e-17,-8.47033e-20,4.57967e-16,-2.23617e-19,2.61455e-16,1.4569e-19,-7.31186e-16,4.33681e-19,4.6534e-16,-6.13252e-19,1.07363e-15,-2.98156e-19,-7.59213e-17,-2.37169e-19,1.57597e-15,-1.05032e-18,1.35799e-15,-8.40257e-19,1.6945e-15,-2.13791e-18,5.35024e-15,-3.1984e-18,6.89019e-15,-4.84503e-18,1.05948e-14,-7.35563e-18,1.72805e-14,-5.65818e-18,2.41898e-14,-1.78453e-17,4.03499e-14,-3.38339e-17,5.32409e-14,1.80621e-17,8.01018e-14,9.80525e-18,1.30259e-13,-1.56847e-16,1.68249e-13,-1.70897e-17,2.16164e-13,3.84438e-16,3.51424e-13,6.0817e-18,5.13861e-13,-5.10512e-16,5.89081e-13,5.31327e-16,7.42258e-13,1.251e-15,1.28527e-12,-1.97574e-16,1.61258e-12,-1.42661e-16,2.00889e-12,2.35086e-15,2.09464e-12,2.23531e-15,3.36293e-12,9.80973e-16,6.23828e-12,3.5227e-15,2.23777e-12,4.89626e-15,5.5225e-12,2.59651e-15,1.68512e-11,6.55594e-15,3.58545e-12,1.71748e-14,5.74704e-12,2.06529e-14,2.68171e-11,1.82188e-14,7.97006e-12,2.77256e-14,2.22934e-11,5.15085e-14,3.62395e-11,7.27423e-14,-3.75785e-12,8.69709e-14,4.83696e-11,1.12676e-13,3.97332e-11,1.58072e-13,-1.5511e-11,2.04645e-13,1.01854e-10,2.53866e-13,3.97424e-12,3.35799e-13,-2.93216e-11,4.32008e-13,1.70055e-10,5.04046e-13,-1.18371e-10,6.11679e-13,2.24348e-11,8.09255e-13,2.25704e-10,9.87071e-13,-3.85373e-10,1.07522e-12,2.42902e-10,1.22927e-12,9.47083e-11,1.52797e-12,-7.92231e-10,1.77183e-12,8.23224e-10,1.84625e-12,-4.31587e-10,1.93352e-12,-5.81009e-10,2.14599e-12,1.74114e-10,2.3017e-12,-2.41944e-10,2.23845e-12,-2.57884e-10,2.04913e-12,-2.63087e-10,1.86071e-12,-2.75758e-10,1.60622e-12,-2.82198e-10,1.1465e-12,-2.78617e-10,4.71364e-13,-2.61989e-10,-3.3108e-13,-2.31508e-10,-1.21952e-12,-1.87672e-10,-2.2194e-12,-1.29938e-10,-3.33364e-12,-5.84111e-11,-4.5093e-12,2.48273e-11,-5.68921e-12,1.17384e-10,-6.82564e-12,2.1651e-10,-7.82249e-12,3.17862e-10,-8.54679e-12,4.16935e-10,-8.95586e-12,5.09729e-10,-9.12991e-12,5.90507e-10,-9.08579e-12,6.52837e-10,-8.63441e-12,6.94037e-10,-7.56186e-12,7.13769e-10,-5.92654e-12,7.0781e-10,-4.0334e-12,6.69285e-10,-2.09067e-12,5.97936e-10,-1.82362e-14,5.02672e-10,2.33931e-12,3.91904e-10,4.90126e-12,2.65324e-10,7.34587e-12,1.19252e-10,9.37958e-12,-4.17092e-11,1.09242e-11,-2.02362e-10,1.20391e-11,-3.46964e-10,1.27406e-11,-4.69593e-10,1.29467e-11,-5.7356e-10,1.25666e-11,-6.61725e-10,1.15949e-11,-7.28957e-10,1.01156e-11,-7.64509e-10,8.24951e-12,-7.61298e-10,6.11308e-12,-7.22741e-10,3.81415e-12,-6.60884e-10,1.46173e-12,-5.9123e-10,-8.19405e-13,-5.22376e-10,-2.61839e-12,-9.08561e-16,0,6.75016e-14,8448,2.32019e-16,0,-4.61853e-14,-1664,-9.50195e-16,1.0842e-19,8.70415e-14,-127.999,1.39645e-16,0,-1.35003e-13,11520,3.20924e-17,5.42101e-20,-5.59552e-14,512.001,1.06946e-15,2.98156e-19,5.68434e-14,128.001,1.0456e-15,2.98156e-19,1.95399e-14,-255.999,3.59652e-15,6.50521e-19,-3.37508e-14,0.00104698,5.46395e-15,1.00289e-18,1.15463e-13,1152,8.36093e-15,1.81604e-18,4.26326e-14,1792,1.33387e-14,2.79182e-18,3.81917e-14,1024,2.19345e-14,4.52654e-18,-2.01617e-13,6784,3.32963e-14,6.74916e-18,1.22569e-13,1216,5.34004e-14,9.35124e-18,-9.14824e-14,11776,7.89661e-14,1.44199e-17,-1.10134e-13,10368,1.13164e-13,2.13046e-17,-1.02141e-13,1024,1.6308e-13,1.94072e-17,-2.38032e-13,-15616,2.32075e-13,2.17654e-17,-1.24345e-13,-5376,3.22006e-13,4.91415e-17,1.54543e-13,1024,4.50011e-13,3.90313e-17,-5.9508e-14,512.001,6.25362e-13,-4.0766e-17,1.56319e-13,-6336,8.42502e-13,-4.3612e-17,2.05613e-13,2432,1.12297e-12,2.17654e-17,6.30607e-14,-1344,1.51119e-12,-1.36718e-16,1.77636e-13,-3968,2.01188e-12,-4.21456e-16,-7.32747e-14,-3776,2.5809e-12,-4.49442e-16,-1.63869e-13,-2432,3.30947e-12,-5.56711e-16,-1.23901e-13,-1408,4.2406e-12,-1.18628e-15,-3.86358e-14,-14912,5.45872e-12,-1.83494e-15,-3.73035e-13,-13184,6.77079e-12,-2.32907e-15,-1.01252e-13,-9152,8.02036e-12,-3.37882e-15,-1.27454e-13,-4192,1.0487e-11,-4.7833e-15,1.10578e-13,-11296,1.27098e-11,-6.06957e-15,2.08722e-13,-26112,1.3425e-11,-8.66104e-15,-1.39888e-13,-45888,1.73957e-11,-1.37812e-14,-1.11466e-13,-8768,2.15852e-11,-1.99988e-14,4.68514e-14,-60064,2.23611e-11,-2.65673e-14,-9.03722e-14,-53024,2.69855e-11,-3.64765e-14,1.108e-13,71216,2.92376e-11,-5.28914e-14,-3.53273e-13,62592,2.95904e-11,-7.54373e-14,-1.36557e-13,-406912,3.80307e-11,-1.03206e-13,5.41789e-14,-242752,3.6274e-11,-1.39277e-13,8.26006e-14,-279056,3.47806e-11,-1.88228e-13,1.35225e-13,-685840,4.38333e-11,-2.51186e-13,-3.06422e-14,-476224,3.10205e-11,-3.29999e-13,-1.04361e-13,637440,3.08237e-11,-4.31794e-13,2.22045e-15,-751872,3.48746e-11,-5.59698e-13,-7.99361e-14,1.69968e+06,7.83104e-12,-7.11014e-13,4.72955e-14,-1.91688e+06,2.35136e-11,-8.95426e-13,2.15383e-14,2.53947e+06,-4.52236e-12,-1.13031e-12,7.00551e-14,-1.49337e+06,-5.16629e-11,-1.40989e-12,-6.57252e-14,982184,2.0679e-11,-1.71777e-12,-5.66214e-15,6.38141e+06,-8.31645e-11,-2.06951e-12,-7.72715e-14,-3.12386e+06,-1.56386e-10,-2.49158e-12,1.08691e-13,5.94269e+06,3.91393e-11,-2.96693e-12,-3.27516e-14,-5.95397e+06,-1.46389e-10,-3.45778e-12,-8.67084e-14,1.16488e+07,-2.75398e-10,-3.96494e-12,-1.5099e-13,-6.38646e+06,-7.99358e-11,-4.50835e-12,-2.43583e-13,-3.2756e+06,-1.80566e-10,-5.06598e-12,-1.55653e-13,-8.21346e+06,-2.06833e-10,-5.5821e-12,-1.55542e-13,-4.03418e+06,-2.02666e-10,-6.02216e-12,1.01641e-13,3.16958e+06,-1.98187e-10,-6.3776e-12,2.99927e-13,3.26624e+06,-1.87133e-10,-6.62337e-12,-1.21847e-13,-2.11951e+07,-1.66485e-10,-6.70448e-12,2.95486e-13,1.16171e+07,-1.35536e-10,-6.56612e-12,9.81437e-14,-6.50509e+06,-9.45868e-11,-6.17554e-12,-2.86993e-14,-2.89838e+07,-4.44301e-11,-5.51177e-12,-1.58262e-13,-1.55357e+07,1.38321e-11,-4.55133e-12,-1.06692e-13,1.25566e+07,7.84312e-11,-3.27389e-12,1.21569e-14,-5.36189e+06,1.46928e-10,-1.67514e-12,-2.72893e-13,6.97129e+06,2.16508e-10,2.308e-13,2.02061e-14,-1.595e+06,2.84016e-10,2.41169e-12,7.75213e-14,-8.6593e+06,3.45983e-10,4.80788e-12,-8.54594e-14,-2.81049e+07,3.98943e-10,7.32952e-12,-2.57627e-13,-2.56888e+07,4.39595e-10,9.87952e-12,-2.78944e-14,-2.53714e+07,4.64944e-10,1.23769e-11,9.88098e-14,-4.42587e+06,4.72869e-10,1.4738e-11,2.46025e-13,-2.92687e+07,4.62317e-10,1.68345e-11,-4.28546e-14,-8.83896e+06,4.32565e-10,1.84995e-11,2.50605e-13,-7.93019e+07,3.83074e-10,1.9595e-11,1.29646e-13,-3.89963e+07,3.14935e-10,2.00624e-11,-3.84137e-14,-4.46895e+07,2.31835e-10,1.98935e-11,5.30131e-14,-6.41538e+07,1.38464e-10,1.90651e-11,-9.88376e-14,4.69356e+07,3.82079e-11,1.75294e-11,6.66689e-14,1.29278e+07,-6.65527e-11,1.52727e-11,-1.65146e-14,-5.60062e+07,-1.71927e-10,1.23678e-11,-1.10606e-14,-4.15695e+07,-2.71399e-10,8.96042e-12,-4.33265e-14,-6.37417e+06,-3.5807e-10,5.21368e-12,-1.3621e-14,-1.38859e+07,-4.27802e-10,1.27571e-12,-2.55025e-13,-4.11709e+06,-4.79816e-10,-2.71055e-12,1.36072e-14,-7.47198e+06,-5.14332e-10,-6.58608e-12,-1.19058e-13,-1.5747e+06,-5.30151e-10,-1.01771e-11,-9.11077e-14,2.81955e+06,-5.24893e-10,-1.33184e-11,-1.06616e-13,-1.82914e+07,-4.97511e-10,-1.58765e-11,4.76216e-14,119310,-4.50361e-10,-1.7759e-11,1.47653e-13,-5.88784e+07,-3.88727e-10,-1.89144e-11,-6.75779e-14,-4.79416e+07,-3.18287e-10,-1.93322e-11,2.01644e-13,1.6332e+07,-2.43131e-10,-1.90518e-11,-1.57364e-13,6.57962e+07,-1.66614e-10,-1.82322e-11,2.32245e-14,-4.87465e+07,-9.7799e-11,-1.70661e-11,-1.96832e-13,1.5961e+07,1.77636e-15,-3.40394e-19,0,8.44708e-19,1.77636e-15,-2.24665e-19,1.77636e-15,-1.34084e-18,-1.77636e-15,1.52854e-18,0,-2.73662e-19,0,-7.04793e-19,-3.55271e-15,-6.56826e-19,0,7.15425e-19,0,-7.84781e-20,-1.77636e-15,1.27831e-18,-1.77636e-15,-2.17209e-18,1.77636e-15,-3.93487e-20,0,-1.46865e-19,0,-7.76202e-19,0,6.59234e-19,0,-1.92097e-19,3.55271e-15,1.25226e-19,1.77636e-15,2.96814e-19,1.77636e-15,3.09958e-19,3.55271e-15,-7.14813e-19,0,2.46732e-19,-1.77636e-15,1.47831e-19,0,-1.54639e-19,-1.77636e-15,-2.36995e-19,1.77636e-15,3.24904e-19,-1.77636e-15,2.20914e-19,0,-1.23975e-19,-1.77636e-15,1.49305e-19,1.77636e-15,-2.68213e-19,1.77636e-15,3.50626e-19,1.77636e-15,-1.69814e-19,0,-1.01721e-19,-1.77636e-15,1.14616e-19,-1.77636e-15,3.91996e-20,0,9.96673e-20,-3.55271e-15,-5.77122e-19,1.77636e-15,1.71705e-19,1.77636e-15,-2.6123e-19,-1.77636e-15,7.05733e-20,-1.77636e-15,-1.38779e-19,1.77636e-15,1.90272e-19,0,1.85919e-19,1.77636e-15,4.94423e-19,0,-1.89337e-19,0,2.99135e-19,0,-4.29148e-19,0,7.4721e-21,1.77636e-15,3.04519e-19,1.77636e-15,-1.91818e-19,0,4.66874e-19,-1.77636e-15,-3.24505e-19,0,-1.83597e-19,0,6.69995e-19,-3.55271e-15,2.82067e-19,-3.55271e-15,1.67977e-19,1.77636e-15,3.25312e-19,3.55271e-15,5.34931e-19,1.77636e-15,1.44115e-19,0,3.43391e-19,-1.77636e-15,2.63403e-19,3.55271e-15,2.27511e-19,0,6.6759e-19,0,3.89298e-19,0,2.58367e-19,1.77636e-15,2.73247e-19,1.77636e-15,-1.21401e-21,-1.77636e-15,-2.4309e-20,1.77636e-15,-1.42025e-20,-3.55271e-15,-2.97412e-19,0,-3.33029e-19,0,-5.55868e-19,-1.77636e-15,-6.4175e-19,0,-8.08543e-19,-1.77636e-15,-9.4881e-19,1.77636e-15,-1.28033e-18,-1.77636e-15,-1.37034e-18,-3.55271e-15,-1.2197e-18,-1.77636e-15,-1.31714e-18,1.77636e-15,-1.33823e-18,1.77636e-15,-1.33798e-18,-1.77636e-15,-1.04611e-18,-3.55271e-15,-7.34449e-19,1.77636e-15,-4.57956e-19,5.32907e-15,-2.17382e-19,-1.77636e-15,4.07404e-20,0,5.32515e-19,0,8.23525e-19,0,1.12988e-18,-1.77636e-15,1.39664e-18,0,1.56886e-18,-1.77636e-15,1.75424e-18,-1.77636e-15,1.81653e-18,1.77636e-15,1.80922e-18,1.77636e-15,1.75872e-18,0,1.61013e-18,-3.55271e-15,1.33573e-18,1.77636e-15,1.07066e-18,1.77636e-15,7.60812e-19,1.77636e-15,4.79041e-19,0,0,0,0,0,0]
[Debug: integrate::1106] ==========> Consistency error prev: 7.93019e+07
[Debug: updateDynamicModelFlowRates::226] Flow out unit 0 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::215] Flow in unit 1 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::226] Flow out unit 1 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::215] Flow in unit 2 port 0: 2.312e-08
[Debug: consistentInitialConditionAlgorithm::513] Residual post state: [0,0,0,0,-3.00669e-14,0.000863867,-5.50541e-14,-5.52265e-19,-1.09879e-13,-7.11508e-20,-2.22338e-13,-2.06676e-19,-4.2963e-13,-1.16552e-18,-8.07838e-13,-1.92446e-18,-1.47756e-12,-3.70323e-18,-2.63941e-12,-7.44373e-18,-4.62028e-12,-1.26614e-17,-7.93551e-12,-2.46893e-17,-1.33986e-11,-4.49436e-17,-2.22757e-11,-8.22469e-17,-3.64978e-11,-1.48519e-16,-5.89966e-11,-2.65975e-16,-9.41622e-11,-4.67569e-16,-1.48495e-10,-8.18366e-16,-2.31533e-10,-1.43368e-15,-3.57123e-10,-2.45703e-15,-5.45186e-10,-4.13728e-15,-8.2409e-10,-7.05492e-15,-1.2339e-09,-1.19592e-14,-1.83072e-09,-1.96797e-14,-2.69235e-09,-3.22288e-14,-3.9258e-09,-5.33004e-14,-5.67723e-09,-8.70407e-14,-8.14449e-09,-1.39598e-13,-1.15929e-08,-2.2337e-13,-1.63762e-08,-3.5665e-13,-2.29619e-08,-5.6325e-13,-3.19635e-08,-8.81491e-13,-4.41789e-08,-1.37248e-12,-6.06372e-08,-2.12229e-12,-8.26613e-08,-3.25592e-12,-1.11934e-07,-4.96199e-12,-1.50568e-07,-7.51069e-12,-2.01225e-07,-1.12818e-11,-2.67221e-07,-1.6825e-11,-3.52612e-07,-2.49281e-11,-4.62389e-07,-3.66844e-11,-6.0263e-07,-5.35987e-11,-7.80607e-07,-7.77573e-11,-1.00507e-06,-1.12034e-10,-1.28637e-06,-1.60321e-10,-1.6366e-06,-2.27832e-10,-2.07001e-06,-3.2153e-10,-2.6029e-06,-4.50643e-10,-3.25397e-06,-6.27253e-10,-4.04456e-06,-8.67049e-10,-4.99832e-06,-1.19027e-09,-6.14171e-06,-1.62277e-09,-7.50394e-06,-2.19714e-09,-9.11611e-06,-2.95424e-09,-1.10123e-05,-3.94488e-09,-1.3228e-05,-5.23146e-09,-1.57998e-05,-6.88967e-09,-1.87662e-05,-9.01065e-09,-2.21646e-05,-1.17031e-08,-2.60313e-05,-1.5095e-08,-3.0402e-05,-1.9335e-08,-3.5303e-05,-2.45941e-08,-4.07672e-05,-3.10665e-08,-4.68143e-05,-3.89695e-08,-5.34565e-05,-4.85429e-08,-6.06977e-05,-6.0047e-08,-6.85318e-05,-7.37594e-08,-7.69406e-05,-8.99709e-08,-8.5893e-05,-1.08979e-07,-9.5344e-05,-1.3108e-07,-0.000105234,-1.56559e-07,-0.000115489,-1.8568e-07,-0.000126021,-2.18675e-07,-0.000136726,-2.55724e-07,-0.000147489,-2.96951e-07,-0.000158185,-3.42399e-07,-0.000168676,-3.92027e-07,-0.000178822,-4.45688e-07,-0.000188477,-5.03125e-07,-0.000197496,-5.63963e-07,-0.000205736,-6.27701e-07,-0.000213064,-6.93715e-07,-0.000219353,-7.61262e-07,-0.000224496,-8.29491e-07,-0.000228397,-8.97456e-07,-0.000230986,-9.64135e-07,-0.000232211,-1.02846e-06,-0.000232046,-1.08932e-06,-0.00023049,-1.14564e-06,-0.000227566,-1.19637e-06,-0.000223323,-1.24053e-06,-0.000217831,-1.27724e-06,-0.000211183,-1.30576e-06,-0.000203491,-1.32549e-06,-0.000194881,-1.33604e-06,-0.000185492,-1.33719e-06,-0.000175474,-1.32894e-06,-0.000164983,-1.3115e-06,-0.000154193,-1.28542e-06,-0.000143326,-1.25175e-06,-0.000132715,-1.21258e-06,-0.000123818,-1.17576e-06,0.00269482,-0.00026655,6.75016e-14,8448,0.00263056,-0.000260194,-4.61853e-14,-1664,0.00255018,-0.000252244,8.70415e-14,-128,0.00246882,-0.000244196,9.23706e-14,10496,0.00238987,-0.000236387,-5.59552e-14,512,0.0023135,-0.000228833,5.68434e-14,128,0.00223957,-0.000221521,1.95399e-14,-256,0.00216801,-0.000214442,-3.37508e-14,0,0.00209874,-0.00020759,-1.1191e-13,1984,0.00203168,-0.000200957,4.26326e-14,1792,0.00196676,-0.000194536,3.81917e-14,1024,0.00190391,-0.00018832,2.57572e-14,6016,0.00184308,-0.000182302,-1.04805e-13,1920,0.00178418,-0.000176477,-9.14824e-14,11776,0.00172717,-0.000170838,-1.10134e-13,10368,0.00167198,-0.000165379,-1.02141e-13,1024,0.00161856,-0.000160095,-1.06581e-14,-27456,0.00156684,-0.000154979,1.03029e-13,-5952,0.00151677,-0.000150027,-7.28306e-14,1600,0.00146831,-0.000145233,-5.9508e-14,7104,0.00142139,-0.000140593,-7.10543e-14,-5888,0.00137597,-0.0001361,-2.17604e-14,2912,0.001332,-0.000131751,6.30607e-14,-1344,0.00128943,-0.000127542,-4.9738e-14,-3520,0.00124823,-0.000123466,-7.32747e-14,-3776,0.00120834,-0.000119521,6.35048e-14,-2816,0.00116972,-0.000115702,1.03473e-13,-1792,0.00113233,-0.000112005,-3.86358e-14,-14912,0.00109613,-0.000108426,8.17124e-14,-13856,0.00106108,-0.000104961,-1.01252e-13,-9152,0.00102714,-0.000101608,9.99201e-14,-4480,0.000994282,-9.83609e-05,1.10578e-13,-11296,0.000962457,-9.52179e-05,-1.86517e-14,-25824,0.000931632,-9.21754e-05,8.74856e-14,-46144,0.000901771,-8.92301e-05,-1.11466e-13,-8768,0.000872838,-8.63789e-05,4.68514e-14,-60064,0.000844795,-8.36188e-05,-9.03722e-14,-53024,0.000817607,-8.09469e-05,1.108e-13,71216,0.000791235,-7.83603e-05,1.01474e-13,62176,0.000765643,-7.58565e-05,9.08162e-14,-407120,0.000740791,-7.34326e-05,5.41789e-14,-242752,0.00071664,-7.10861e-05,8.26006e-14,-279056,0.000693148,-6.88146e-05,-9.21485e-14,-685680,0.000670272,-6.66157e-05,-3.06422e-14,-476224,0.000647967,-6.4487e-05,-1.04361e-13,637440,0.000626188,-6.24263e-05,2.22045e-15,-751872,0.000604886,-6.04313e-05,-7.99361e-14,1.69968e+06,0.00058401,-5.85e-05,4.72955e-14,-1.91688e+06,0.000563508,-5.66303e-05,2.15383e-14,2.53947e+06,0.000543326,-5.48203e-05,7.00551e-14,-1.49337e+06,0.000523409,-5.30678e-05,-6.57252e-14,982184,0.000503701,-5.13711e-05,-5.66214e-15,6.38141e+06,0.000484144,-4.97283e-05,-7.72715e-14,-3.12386e+06,0.000464683,-4.81375e-05,1.08691e-13,5.94269e+06,0.000445262,-4.6597e-05,-3.27516e-14,-5.95397e+06,0.000425827,-4.5105e-05,-8.67084e-14,1.16488e+07,0.00040633,-4.36597e-05,7.63833e-14,-6.38654e+06,0.000386724,-4.22596e-05,-1.62093e-14,-3.27567e+06,0.00036697,-4.09027e-05,7.17204e-14,-8.21354e+06,0.000347034,-3.95874e-05,7.18314e-14,-4.03426e+06,0.000326892,-3.83121e-05,1.01641e-13,3.16958e+06,0.00030653,-3.70748e-05,7.25531e-14,3.26629e+06,0.000285944,-3.5874e-05,1.05527e-13,-2.11952e+07,0.000265144,-3.47077e-05,6.81122e-14,1.16171e+07,0.000244151,-3.35742e-05,9.81437e-14,-6.50509e+06,0.000223002,-3.24716e-05,-2.86993e-14,-2.89838e+07,0.000201746,-3.13981e-05,6.91114e-14,-1.55358e+07,0.000180449,-3.03517e-05,-1.06692e-13,1.25566e+07,0.000159187,-2.93305e-05,1.21569e-14,-5.36189e+06,0.000138051,-2.83326e-05,-4.55191e-14,6.97125e+06,0.000117145,-2.73559e-05,2.02061e-14,-1.595e+06,9.65792e-05,-2.63985e-05,7.75213e-14,-8.6593e+06,7.64748e-05,-2.54586e-05,-8.54594e-14,-2.81049e+07,5.69564e-05,-2.45342e-05,-3.02536e-14,-2.56888e+07,3.81515e-05,-2.36236e-05,-2.78944e-14,-2.53714e+07,2.0187e-05,-2.27251e-05,9.88098e-14,-4.42587e+06,3.18589e-06,-2.18372e-05,1.86517e-14,-2.92687e+07,-1.27359e-05,-2.09586e-05,-4.28546e-14,-8.83896e+06,-2.74725e-05,-2.0088e-05,2.32314e-14,-7.93019e+07,-4.0931e-05,-1.92246e-05,-9.77274e-14,-3.89963e+07,-5.30341e-05,-1.83678e-05,-3.84137e-14,-4.46895e+07,-6.37226e-05,-1.75172e-05,5.30131e-14,-6.41538e+07,-7.29566e-05,-1.66727e-05,-9.88376e-14,4.69356e+07,-8.0717e-05,-1.58348e-05,6.66689e-14,1.29278e+07,-8.7006e-05,-1.5004e-05,-1.65146e-14,-5.60062e+07,-9.18471e-05,-1.41811e-05,-1.10606e-14,-4.15695e+07,-9.52841e-05,-1.33676e-05,-4.33265e-14,-6.37417e+06,-9.73802e-05,-1.25648e-05,-1.3621e-14,-1.38858e+07,-9.82163e-05,-1.17746e-05,-2.76515e-14,-4.1171e+06,-9.78881e-05,-1.09988e-05,1.36072e-14,-7.47198e+06,-9.65042e-05,-1.02397e-05,1.08316e-13,-1.5747e+06,-9.41826e-05,-9.49951e-06,-9.11077e-14,2.81955e+06,-9.10483e-05,-8.7804e-06,-1.06616e-13,-1.82914e+07,-8.72296e-05,-8.08469e-06,4.76216e-14,119310,-8.28562e-05,-7.41461e-06,-7.9721e-14,-5.88784e+07,-7.80574e-05,-6.77245e-06,-6.75779e-14,-4.79416e+07,-7.29639e-05,-6.16088e-06,-2.57294e-14,1.6332e+07,-6.77237e-05,-5.58455e-06,7.001e-14,6.57962e+07,-6.25276e-05,-5.05238e-06,2.32245e-14,-4.87465e+07,-5.81758e-05,-4.62204e-06,3.05415e-14,1.5961e+07,0,-3.40394e-19,0,-2.26539e-20,0,-2.24665e-19,0,3.9388e-19,0,-2.06188e-19,0,-2.73662e-19,0,1.62569e-19,0,2.10536e-19,0,-1.51937e-19,0,-7.84781e-20,0,4.10945e-19,0,4.29998e-19,0,-3.93487e-20,0,-1.46865e-19,0,9.11597e-20,0,-2.08128e-19,0,-1.92097e-19,0,1.25226e-19,0,-1.36867e-19,0,-1.23723e-19,0,1.52549e-19,0,-1.86949e-19,0,1.47831e-19,0,-1.54639e-19,0,1.96686e-19,0,-1.08776e-19,0,-2.12767e-19,0,-1.23975e-19,0,1.49305e-19,0,1.65467e-19,0,-8.30553e-20,0,-1.69814e-19,0,-1.01721e-19,0,1.14616e-19,0,3.91996e-20,0,9.96673e-20,0,-1.43442e-19,0,-4.51359e-20,0,-4.43892e-20,0,7.05733e-20,0,7.80615e-20,0,-2.65681e-20,0,-3.09216e-20,0,6.07419e-20,0,2.75029e-20,0,8.22943e-20,0,4.53242e-21,0,7.4721e-21,0,8.76788e-20,0,2.50224e-20,0,3.31935e-20,0,-1.07664e-19,0,3.32433e-20,0,1.94738e-20,0,6.52264e-20,0,-4.88638e-20,0,-1.08368e-19,0,1.0125e-19,0,3.56948e-20,0,1.81308e-20,0,4.65628e-20,0,1.0671e-20,0,1.70685e-20,0,-4.43826e-20,0,4.15266e-20,0,-5.2014e-20,0,-1.21401e-21,0,-2.4309e-20,0,-1.42025e-20,0,2.78489e-20,0,-7.76801e-21,0,-1.37674e-20,0,8.77142e-21,0,-4.96011e-20,0,2.69721e-20,0,2.07087e-20,0,3.91241e-20,0,-2.70742e-20,0,-1.60995e-20,0,1.70188e-20,0,1.72721e-20,0,-1.6121e-20,0,2.44921e-20,0,-2.42756e-20,0,-5.42038e-22,0,-1.34697e-20,0,-9.58633e-21,0,1.03736e-20,0,-8.53267e-21,0,-1.28255e-20,0,-3.23388e-21,0,-7.58908e-21,0,4.91121e-22,0,-6.81526e-21,0,-3.10911e-21,0,1.09286e-20,0,7.57748e-21,0,-1.35424e-20,0,1.87096e-21,0,4.70266e-21,0,0,0,0,0,0]
[Debug: updateDynamicModelFlowRates::226] Flow out unit 0 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::215] Flow in unit 1 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::226] Flow out unit 1 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::215] Flow in unit 2 port 0: 2.312e-08
[Debug: residualNorm::479] Residual: [0,0,0,0,-9.08561e-17,2.37169e-20,1.30104e-17,-1.01644e-20,-1.8876e-16,-7.11508e-20,-7.09068e-17,1.01644e-20,2.64003e-17,-8.13152e-20,-3.99257e-17,-8.13152e-20,-7.58942e-17,9.14796e-20,-1.88516e-16,3.72694e-20,2.5018e-17,-8.47033e-20,-8.11525e-17,3.04932e-20,2.87856e-17,5.0822e-20,1.37694e-17,-6.43745e-20,1.48319e-16,1.69407e-20,1.82553e-16,8.80914e-20,-1.0056e-17,-6.09864e-20,1.60408e-16,-1.01644e-20,8.83625e-17,6.43745e-20,-6.86571e-17,4.74338e-20,-8.69801e-17,-1.69407e-20,6.27753e-17,3.89635e-20,1.00614e-16,-1.69407e-20,1.52764e-16,-4.57398e-20,5.85469e-17,-1.52466e-20,-3.46945e-18,1.35525e-20,-2.81893e-17,-1.69407e-21,6.74374e-17,2.03288e-20,-1.27096e-16,1.86347e-20,5.27058e-17,-1.86347e-20,9.94213e-17,1.52466e-20,5.48064e-17,-1.18585e-20,-6.88333e-17,2.03288e-20,-2.71051e-20,6.77626e-21,3.11979e-17,8.47033e-21,1.1357e-17,3.55754e-20,-1.15942e-16,-2.37169e-20,7.65718e-17,1.01644e-20,9.4163e-17,1.69407e-20,-1.43386e-17,-8.47033e-21,-6.34258e-17,2.71051e-20,-1.57697e-16,1.01644e-20,3.67273e-17,1.77877e-20,9.65482e-17,-7.6233e-21,1.06469e-16,8.47033e-22,-4.80437e-17,-2.5411e-21,-1.28098e-16,5.92923e-21,-1.33791e-16,2.5411e-21,9.82423e-17,-2.5411e-21,1.00492e-17,-1.01644e-20,-1.32679e-16,-7.6233e-21,4.09219e-17,8.47033e-22,-5.812e-17,8.47033e-21,3.87196e-17,-1.77877e-20,-2.53907e-17,1.43996e-20,-1.44565e-16,1.18585e-20,-1.0163e-16,1.27055e-20,1.71372e-17,7.6233e-21,-8.55842e-18,1.52466e-20,1.58632e-17,5.92923e-21,9.60197e-18,8.47033e-22,1.09633e-16,-1.18585e-20,-5.77338e-18,-8.47033e-21,-1.03589e-16,1.69407e-21,1.17006e-16,-1.27055e-21,-2.37508e-17,8.47033e-22,-4.22602e-17,-4.23516e-22,-6.83657e-17,0,-2.42116e-17,4.65868e-21,-1.10833e-16,-4.23516e-22,9.7341e-18,-5.0822e-21,7.8791e-18,-7.19978e-21,9.31719e-17,-5.92923e-21,9.59587e-17,4.65868e-21,-1.59098e-16,8.47033e-22,1.83747e-16,-8.89385e-21,2.79631e-17,-1.69407e-21,1.02056e-16,-9.31736e-21,9.98531e-17,-1.27055e-21,2.96017e-18,-4.23516e-22,-8.35475e-17,8.47033e-21,-1.29788e-16,3.81165e-21,-1.97808e-17,-2.32934e-21,1.09664e-16,-8.47033e-22,-1.27055e-18,-2.96462e-21,1.36064e-16,2.75286e-21,1.27246e-16,2.5411e-21,5.01952e-17,1.27055e-21,6.79659e-18,-4.02341e-21,-4.85553e-17,3.38813e-21,1.45407e-16,1.27055e-21,1.74726e-17,-1.48231e-21,1.49527e-16,2.32934e-21,-1.26652e-16,1.27055e-21,-1.4313e-16,5.29396e-22,-1.52586e-16,-7.41154e-22,-1.19981e-16,5.29396e-22,-1.82295e-16,-5.29396e-22,5.39069e-17,-1.05879e-22,1.09084e-16,3.49401e-21,-3.01205e-18,4.23516e-22,-9.39444e-18,1.05879e-21,2.2768e-13,6.36185e-14,6.75016e-14,0,-2.78458e-14,-1.64962e-14,-4.61853e-14,-2.27374e-13,9.22439e-16,1.22889e-15,8.70415e-14,0,-1.42058e-12,-2.95274e-14,9.23706e-14,0,-7.15964e-15,5.87705e-15,-5.59552e-14,0,2.50516e-14,1.0121e-15,5.68434e-14,0,3.95821e-14,3.3391e-15,1.95399e-14,0,0,0,-3.37508e-14,0,7.07412e-14,-1.51841e-14,-1.1191e-13,0,1.74966e-13,-9.57193e-15,4.26326e-14,0,6.47147e-14,-6.45919e-15,3.81917e-14,0,1.11011e-13,1.14526e-14,2.57572e-14,0,-3.05953e-14,2.67398e-14,-1.04805e-13,2.27374e-13,-1.57467e-13,1.24042e-13,-9.14824e-14,0,-1.69099e-13,2.82787e-14,-1.10134e-13,0,-4.10793e-14,-4.1912e-15,-1.02141e-13,0,1.68426e-12,-3.01599e-13,-1.06581e-14,0,-2.34965e-13,3.23876e-14,1.03029e-13,0,-3.94498e-14,1.59008e-14,-7.28306e-14,0,-5.23171e-15,-7.83395e-14,-5.9508e-14,-9.09495e-13,9.64244e-14,2.14983e-14,-7.10543e-14,0,3.71709e-13,7.54095e-15,-2.17604e-14,0,2.20235e-13,5.38523e-15,6.30607e-14,0,-4.2043e-13,-5.54903e-14,-4.9738e-14,0,-1.9474e-13,-3.74073e-14,-7.32747e-14,4.54747e-13,-1.76239e-14,-2.63804e-14,6.35048e-14,0,-1.17853e-13,-3.18766e-15,1.03473e-13,0,7.02364e-13,1.135e-13,-3.86358e-14,-1.81899e-12,-1.69854e-12,-1.7055e-13,8.17124e-14,1.81899e-12,-3.79883e-13,3.23211e-14,-1.01252e-13,0,5.60642e-13,-1.16127e-14,9.99201e-14,0,5.61004e-13,1.1794e-14,1.10578e-13,0,-1.97584e-12,4.33995e-13,-1.86517e-14,0,-6.75091e-12,2.33638e-13,8.74856e-14,0,-1.65282e-12,-8.4595e-15,-1.11466e-13,0,-2.19374e-12,-2.58084e-13,4.68514e-14,-7.27596e-12,4.1163e-12,-4.24688e-13,-9.03722e-14,7.27596e-12,-6.25894e-12,1.57745e-13,1.108e-13,0,-4.52539e-12,-4.66352e-13,1.01474e-13,0,3.77117e-11,2.59832e-12,9.08162e-14,0,-1.28395e-11,2.33208e-12,5.41789e-14,0,4.59342e-11,1.02231e-12,8.26006e-14,0,-8.65558e-12,-1.03678e-11,-9.21485e-14,0,4.33559e-12,-1.88149e-12,-3.06422e-14,0,5.66298e-11,3.91039e-12,-1.04361e-13,0,1.0779e-10,7.80719e-12,2.22045e-15,0,3.36334e-11,8.3597e-13,-7.99361e-14,-2.32831e-10,6.77896e-12,1.12883e-11,4.72955e-14,-2.32831e-10,-2.99626e-10,6.43327e-12,2.15383e-14,0,1.26433e-10,1.27348e-11,7.00551e-14,0,4.89012e-12,3.50496e-12,-6.57252e-14,-1.16415e-10,2.78701e-10,-3.84807e-11,-5.66214e-15,0,-3.56171e-10,-5.79819e-11,-7.72715e-14,0,-6.14148e-10,1.96626e-11,1.08691e-13,0,-1.50187e-11,-1.13361e-10,-3.27516e-14,0,4.95753e-10,-9.35837e-11,-8.67084e-14,0,-7.03859e-10,-4.39489e-11,7.63833e-14,0,2.20258e-10,1.50302e-11,-1.62093e-14,0,-1.3075e-09,5.58455e-11,7.17204e-14,0,-2.79562e-11,5.11594e-11,7.18314e-14,0,-3.94085e-10,-1.90254e-11,1.01641e-13,0,-3.07003e-10,-4.40847e-11,7.25531e-14,0,-1.97548e-09,-3.58588e-10,1.05527e-13,0,-1.98267e-10,-1.07102e-10,6.81122e-14,0,-8.29588e-10,-3.40021e-11,9.81437e-14,0,-1.48323e-09,-1.52703e-10,-2.86993e-14,3.72529e-09,-5.0929e-10,2.18183e-11,6.91114e-14,0,-7.43841e-10,7.37679e-11,-1.06692e-13,0,-6.21406e-10,7.82772e-11,1.21569e-14,0,-6.1757e-10,-1.0566e-10,-4.55191e-14,0,1.12307e-10,2.57095e-11,2.02061e-14,0,1.07233e-09,3.32635e-11,7.75213e-14,0,2.01252e-09,2.85391e-11,-8.54594e-14,3.72529e-09,-3.3011e-09,-3.97547e-10,-3.02536e-14,0,-2.88665e-09,3.01348e-10,-2.78944e-14,0,-3.12888e-10,-4.88103e-11,9.88098e-14,0,-2.96259e-09,4.25761e-10,1.86517e-14,-3.72529e-09,8.52909e-10,-6.94133e-11,-4.28546e-14,0,5.25789e-09,6.53793e-10,2.32314e-14,0,2.52557e-09,-2.29027e-10,-9.77274e-14,0,-9.05786e-10,-2.22111e-10,-3.84137e-14,0,-5.2661e-09,-8.46683e-10,5.30131e-14,7.45058e-09,-5.43566e-10,-2.08583e-10,-9.88376e-14,0,-1.17284e-09,5.48194e-12,6.66689e-14,0,1.83267e-09,-3.53123e-10,-1.65146e-14,0,3.68784e-09,-8.20743e-10,-1.10606e-14,0,-4.45702e-10,-7.36503e-11,-4.33265e-14,0,-1.14989e-09,1.38276e-10,-1.3621e-14,0,-8.83351e-10,3.09141e-11,-2.76515e-14,4.65661e-10,-5.41614e-10,8.14706e-11,1.36072e-14,-9.31323e-10,-8.79546e-11,-2.8601e-11,1.08316e-13,0,1.43336e-10,-2.08373e-11,-9.11077e-14,0,-2.19073e-09,1.04581e-10,-1.06616e-13,0,4.55264e-13,-1.49998e-12,4.76216e-14,0,-5.78585e-09,5.75901e-10,-7.9721e-14,0,-5.11219e-09,1.25581e-10,-6.75779e-14,0,-3.31925e-10,-1.76615e-10,-2.57294e-14,0,-1.27983e-08,-3.36856e-10,7.001e-14,-7.45058e-09,-2.37371e-09,-8.8425e-10,2.32245e-14,0,-1.63678e-09,1.16691e-10,3.05415e-14,0,0,-3.40394e-19,0,-2.26539e-20,0,-2.24665e-19,0,3.9388e-19,0,-2.06188e-19,0,-2.73662e-19,0,1.62569e-19,0,2.10536e-19,0,-1.51937e-19,0,-7.84781e-20,0,4.10945e-19,0,4.29998e-19,0,-3.93487e-20,0,-1.46865e-19,0,9.11597e-20,0,-2.08128e-19,0,-1.92097e-19,0,1.25226e-19,0,-1.36867e-19,0,-1.23723e-19,0,1.52549e-19,0,-1.86949e-19,0,1.47831e-19,0,-1.54639e-19,0,1.96686e-19,0,-1.08776e-19,0,-2.12767e-19,0,-1.23975e-19,0,1.49305e-19,0,1.65467e-19,0,-8.30553e-20,0,-1.69814e-19,0,-1.01721e-19,0,1.14616e-19,0,3.91996e-20,0,9.96673e-20,0,-1.43442e-19,0,-4.51359e-20,0,-4.43892e-20,0,7.05733e-20,0,7.80615e-20,0,-2.65681e-20,0,-3.09216e-20,0,6.07419e-20,0,2.75029e-20,0,8.22943e-20,0,4.53242e-21,0,7.4721e-21,0,8.76788e-20,0,2.50224e-20,0,3.31935e-20,0,-1.07664e-19,0,3.32433e-20,0,1.94738e-20,0,6.52264e-20,0,-4.88638e-20,0,-1.08368e-19,0,1.0125e-19,0,3.56948e-20,0,1.81308e-20,0,4.65628e-20,0,1.0671e-20,0,1.70685e-20,0,-4.43826e-20,0,4.15266e-20,0,-5.2014e-20,0,-1.21401e-21,0,-2.4309e-20,0,-1.42025e-20,0,2.78489e-20,0,-7.76801e-21,0,-1.37674e-20,0,8.77142e-21,0,-4.96011e-20,0,2.69721e-20,0,2.07087e-20,0,3.91241e-20,0,-2.70742e-20,0,-1.60995e-20,0,1.70188e-20,0,1.72721e-20,0,-1.6121e-20,0,2.44921e-20,0,-2.42756e-20,0,-5.42038e-22,0,-1.34697e-20,0,-9.58633e-21,0,1.03736e-20,0,-8.53267e-21,0,-1.28255e-20,0,-3.23388e-21,0,-7.58908e-21,0,4.91121e-22,0,-6.81526e-21,0,-3.10911e-21,0,1.09286e-20,0,7.57748e-21,0,-1.35424e-20,0,1.87096e-21,0,4.70266e-21,0,0,0,0,0,0]
[Debug: integrate::1117] ==========> Consistency error post Full: 1.27983e-08
[Debug: integrate::1132] y = [10,0,10,0,10.0033,0.00634211,10.0048,0.00619088,10.0068,0.00600172,10.0087,0.00581023,10.0106,0.00562444,10.0124,0.00544469,10.0141,0.00527072,10.0158,0.0051023,10.0175,0.00493926,10.0191,0.00478144,10.0206,0.00462866,10.0221,0.00448076,10.0236,0.00433758,10.025,0.00419898,10.0263,0.00406481,10.0277,0.00393493,10.0289,0.00380919,10.0302,0.00368748,10.0313,0.00356965,10.0325,0.00345559,10.0336,0.00334517,10.0347,0.00323828,10.0357,0.00313481,10.0368,0.00303464,10.0377,0.00293767,10.0387,0.0028438,10.0396,0.00275294,10.0405,0.00266497,10.0414,0.00257982,10.0422,0.00249738,10.043,0.00241758,10.0438,0.00234033,10.0445,0.00226555,10.0453,0.00219316,10.046,0.00212308,10.0466,0.00205524,10.0473,0.00198957,10.0479,0.001926,10.0486,0.00186445,10.0492,0.00180488,10.0497,0.00174721,10.0503,0.00169138,10.0508,0.00163733,10.0513,0.00158501,10.0518,0.00153436,10.0523,0.00148533,10.0527,0.00143786,10.0532,0.00139191,10.0536,0.00134742,10.0539,0.00130436,10.0543,0.00126266,10.0546,0.00122229,10.0549,0.0011832,10.0552,0.00114535,10.0554,0.0011087,10.0556,0.0010732,10.0557,0.00103881,10.0558,0.0010055,10.0558,0.000973212,10.0558,0.000941917,10.0557,0.000911572,10.0556,0.000882134,10.0554,0.000853561,10.0551,0.000825812,10.0548,0.000798842,10.0543,0.000772609,10.0538,0.000747066,10.0532,0.000722169,10.0524,0.000697871,10.0516,0.000674126,10.0507,0.000650888,10.0497,0.000628109,10.0486,0.000605745,10.0474,0.000583751,10.0461,0.000562085,10.0447,0.000540707,10.0433,0.00051958,10.0417,0.000498674,10.0401,0.00047796,10.0384,0.000457417,10.0366,0.00043703,10.0349,0.000416792,10.033,0.0003967,10.0312,0.000376763,10.0293,0.000356994,10.0275,0.000337417,10.0256,0.000318059,10.0238,0.000298958,10.022,0.000280156,10.0203,0.000261699,10.0186,0.000243638,10.0169,0.000226025,10.0154,0.000208915,10.0139,0.000192362,10.0125,0.000176418,10.0112,0.000161139,10.01,0.000146588,10.0089,0.000132875,10.0078,0.000120213,10.007,0.000109974,10.0674,2.99767e-16,1390.77,0.913417,10.0674,2.89676e-16,1391.06,0.884545,10.0674,2.77331e-16,1391.42,0.849059,10.0674,2.64939e-16,1391.78,0.813257,10.0674,2.53063e-16,1392.13,0.778773,10.0674,2.4172e-16,1392.46,0.745675,10.0674,2.30881e-16,1392.78,0.7139,10.0674,2.2052e-16,1393.09,0.683393,10.0674,2.10617e-16,1393.39,0.654106,10.0674,2.01149e-16,1393.67,0.625992,10.0674,1.92098e-16,1393.94,0.599007,10.0674,1.83443e-16,1394.21,0.573108,10.0674,1.75168e-16,1394.46,0.548251,10.0674,1.67254e-16,1394.7,0.524398,10.0674,1.59686e-16,1394.93,0.50151,10.0674,1.52448e-16,1395.15,0.479548,10.0674,1.45525e-16,1395.36,0.458479,10.0674,1.38903e-16,1395.57,0.438266,10.0674,1.32569e-16,1395.77,0.418876,10.0674,1.26511e-16,1395.95,0.400278,10.0674,1.20716e-16,1396.13,0.382441,10.0674,1.15172e-16,1396.31,0.365336,10.0674,1.09869e-16,1396.47,0.348933,10.0674,1.04796e-16,1396.63,0.333205,10.0674,9.99433e-17,1396.78,0.318126,10.0674,9.5301e-17,1396.93,0.30367,10.0674,9.08602e-17,1397.07,0.289814,10.0674,8.66122e-17,1397.2,0.276533,10.0674,8.25487e-17,1397.33,0.263805,10.0674,7.86617e-17,1397.46,0.251607,10.0674,7.49437e-17,1397.57,0.23992,10.0674,7.13875e-17,1397.69,0.228723,10.0674,6.79862e-17,1397.8,0.217997,10.0674,6.47331e-17,1397.9,0.207722,10.0674,6.16219e-17,1398,0.197882,10.0674,5.86466e-17,1398.09,0.188458,10.0674,5.58014e-17,1398.19,0.179435,10.0674,5.30808e-17,1398.27,0.170795,10.0674,5.04794e-17,1398.36,0.162525,10.0674,4.79923e-17,1398.44,0.154609,10.0674,4.56146e-17,1398.51,0.147033,10.0673,4.33415e-17,1398.59,0.139783,10.0673,4.11688e-17,1398.66,0.132846,10.0673,3.9092e-17,1398.72,0.12621,10.0672,3.71072e-17,1398.79,0.119862,10.0672,3.52104e-17,1398.85,0.113791,10.0671,3.3398e-17,1398.91,0.107986,10.0671,3.16662e-17,1398.96,0.102436,10.067,3.00117e-17,1399.02,0.0971297,10.0669,2.84311e-17,1399.07,0.0920582,10.0667,2.69214e-17,1399.12,0.0872117,10.0666,2.54795e-17,1399.17,0.082581,10.0664,2.41025e-17,1399.21,0.0781572,10.0662,2.27877e-17,1399.25,0.0739319,10.066,2.15324e-17,1399.29,0.0698969,10.0657,2.03341e-17,1399.33,0.0660444,10.0654,1.91904e-17,1399.37,0.0623668,10.065,1.8099e-17,1399.4,0.0588571,10.0646,1.70577e-17,1399.44,0.0555083,10.0641,1.60643e-17,1399.47,0.0523137,10.0635,1.5117e-17,1399.5,0.0492669,10.0629,1.42137e-17,1399.53,0.046362,10.0622,1.33528e-17,1399.56,0.0435931,10.0614,1.25324e-17,1399.59,0.0409545,10.0606,1.17509e-17,1399.61,0.038441,10.0596,1.10068e-17,1399.64,0.0360474,10.0586,1.02987e-17,1399.66,0.033769,10.0575,9.62509e-18,1399.68,0.0316009,10.0562,8.98468e-18,1399.7,0.029539,10.0549,8.37621e-18,1399.72,0.0275788,10.0535,7.79849e-18,1399.74,0.0257164,10.052,7.25039e-18,1399.76,0.0239481,10.0504,6.73082e-18,1399.77,0.0222701,10.0488,6.23877e-18,1399.79,0.0206791,10.047,5.77324e-18,1399.81,0.0191718,10.0452,5.3333e-18,1399.82,0.017745,10.0433,4.91803e-18,1399.83,0.0163959,10.0414,4.52657e-18,1399.85,0.0151216,10.0394,4.15808e-18,1399.86,0.0139195,10.0374,3.81173e-18,1399.87,0.012787,10.0354,3.48672e-18,1399.88,0.0117216,10.0333,3.18228e-18,1399.89,0.010721,10.0313,2.89763e-18,1399.9,0.00978285,10.0293,2.63202e-18,1399.91,0.00890492,10.0273,2.3847e-18,1399.92,0.00808502,10.0253,2.15493e-18,1399.93,0.00732098,10.0233,1.94198e-18,1399.93,0.00661069,10.0215,1.7451e-18,1399.94,0.00595201,10.0197,1.56356e-18,1399.95,0.00534282,10.0179,1.39664e-18,1399.95,0.00478099,10.0163,1.2436e-18,1399.96,0.00426438,10.0147,1.10372e-18,1399.96,0.00379086,10.0132,9.76273e-19,1399.97,0.00335825,10.0118,8.60546e-19,1399.97,0.0029644,10.0105,7.55832e-19,1399.97,0.00260715,10.0094,6.6145e-19,1399.98,0.00228441,10.0083,5.76784e-19,1399.98,0.00199426,10.0073,5.01454e-19,1399.98,0.00173559,10.0064,4.35552e-19,1399.98,0.00150888,10.0057,3.84173e-19,1399.99,0.00133185,-0.0641187,0.00634211,-0.0625898,0.00619088,-0.0606774,0.00600172,-0.0587414,0.00581023,-0.0568631,0.00562444,-0.0550458,0.00544469,-0.0532869,0.00527072,-0.0515842,0.0051023,-0.049936,0.00493926,-0.0483403,0.00478144,-0.0467957,0.00462866,-0.0453004,0.00448076,-0.0438529,0.00433758,-0.0424517,0.00419898,-0.0410952,0.00406481,-0.0397821,0.00393493,-0.0385109,0.00380919,-0.0372804,0.00368748,-0.0360891,0.00356965,-0.0349359,0.00345559,-0.0338196,0.00334517,-0.0327389,0.00323828,-0.0316927,0.00313481,-0.0306799,0.00303464,-0.0296995,0.00293767,-0.0287503,0.0028438,-0.0278314,0.00275294,-0.0269418,0.00266497,-0.0260805,0.00257982,-0.0252466,0.00249738,-0.0244392,0.00241758,-0.0236573,0.00234033,-0.0229001,0.00226555,-0.0221666,0.00219316,-0.0214561,0.00212308,-0.0207677,0.00205524,-0.0201005,0.00198957,-0.0194536,0.001926,-0.0188261,0.00186445,-0.0182172,0.00180488,-0.0176259,0.00174721,-0.0170512,0.00169138,-0.0164923,0.00163733,-0.015948,0.00158501,-0.0154173,0.00153436,-0.0148991,0.00148533,-0.0143922,0.00143786,-0.0138955,0.00139191,-0.0134077,0.00134742,-0.0129275,0.00130436,-0.0124536,0.00126266,-0.0119847,0.00122229,-0.0115194,0.0011832,-0.0110564,0.00114535,-0.0105943,0.0011087,-0.0101318,0.0010732,-0.00966794,0.00103881,-0.00920144,0.0010055,-0.00873143,0.000973212,-0.0082571,0.000941917,-0.00777785,0.000911572,-0.00729336,0.000882134,-0.00680356,0.000853561,-0.00630865,0.000825812,-0.00580917,0.000798842,-0.00530596,0.000772609,-0.00480022,0.000747066,-0.00429347,0.000722169,-0.00378758,0.000697871,-0.0032847,0.000674126,-0.00278726,0.000650888,-0.00229794,0.000628109,-0.00181959,0.000605745,-0.00135518,0.000583751,-0.000907752,0.000562085,-0.000480317,0.000540707,-7.58028e-05,0.00051958,0.00030303,0.000498674,0.000653662,0.00047796,0.000973884,0.000457417,0.00126186,0.00043703,0.00151617,0.000416792,0.00173588,0.0003967,0.00192053,0.000376763,0.00207016,0.000356994,0.00218535,0.000337417,0.00226713,0.000318059,0.002317,0.000298958,0.00233689,0.000280156,0.00232908,0.000261699,0.00229616,0.000243638,0.00224092,0.000226025,0.00216634,0.000208915,0.00207548,0.000192362,0.00197143,0.000176418,0.00185725,0.000161139,0.00173605,0.000146588,0.00161137,0.000132875,0.00148774,0.000120213,0.0013842,0.000109974,10.007,0.000109974,10,0,10.007,0.000109974];
[Debug: integrate::1133] yDot = [0,0,0,0,3.00669e-14,-0.000863867,5.50541e-14,5.52265e-19,1.09879e-13,7.11508e-20,2.22338e-13,2.06676e-19,4.2963e-13,1.16552e-18,8.07838e-13,1.92446e-18,1.47756e-12,3.70323e-18,2.63941e-12,7.44373e-18,4.62028e-12,1.26614e-17,7.93551e-12,2.46893e-17,1.33986e-11,4.49436e-17,2.22757e-11,8.22469e-17,3.64978e-11,1.48519e-16,5.89966e-11,2.65975e-16,9.41622e-11,4.67569e-16,1.48495e-10,8.18366e-16,2.31533e-10,1.43368e-15,3.57123e-10,2.45703e-15,5.45186e-10,4.13728e-15,8.2409e-10,7.05492e-15,1.2339e-09,1.19592e-14,1.83072e-09,1.96797e-14,2.69235e-09,3.22288e-14,3.9258e-09,5.33004e-14,5.67723e-09,8.70407e-14,8.14449e-09,1.39598e-13,1.15929e-08,2.2337e-13,1.63762e-08,3.5665e-13,2.29619e-08,5.6325e-13,3.19635e-08,8.81491e-13,4.41789e-08,1.37248e-12,6.06372e-08,2.12229e-12,8.26613e-08,3.25592e-12,1.11934e-07,4.96199e-12,1.50568e-07,7.51069e-12,2.01225e-07,1.12818e-11,2.67221e-07,1.6825e-11,3.52612e-07,2.49281e-11,4.62389e-07,3.66844e-11,6.0263e-07,5.35987e-11,7.80607e-07,7.77573e-11,1.00507e-06,1.12034e-10,1.28637e-06,1.60321e-10,1.6366e-06,2.27832e-10,2.07001e-06,3.2153e-10,2.6029e-06,4.50643e-10,3.25397e-06,6.27253e-10,4.04456e-06,8.67049e-10,4.99832e-06,1.19027e-09,6.14171e-06,1.62277e-09,7.50394e-06,2.19714e-09,9.11611e-06,2.95424e-09,1.10123e-05,3.94488e-09,1.3228e-05,5.23146e-09,1.57998e-05,6.88967e-09,1.87662e-05,9.01065e-09,2.21646e-05,1.17031e-08,2.60313e-05,1.5095e-08,3.0402e-05,1.9335e-08,3.5303e-05,2.45941e-08,4.07672e-05,3.10665e-08,4.68143e-05,3.89695e-08,5.34565e-05,4.85429e-08,6.06977e-05,6.0047e-08,6.85318e-05,7.37594e-08,7.69406e-05,8.99709e-08,8.5893e-05,1.08979e-07,9.5344e-05,1.3108e-07,0.000105234,1.56559e-07,0.000115489,1.8568e-07,0.000126021,2.18675e-07,0.000136726,2.55724e-07,0.000147489,2.96951e-07,0.000158185,3.42399e-07,0.000168676,3.92027e-07,0.000178822,4.45688e-07,0.000188477,5.03125e-07,0.000197496,5.63963e-07,0.000205736,6.27701e-07,0.000213064,6.93715e-07,0.000219353,7.61262e-07,0.000224496,8.29491e-07,0.000228397,8.97456e-07,0.000230986,9.64135e-07,0.000232211,1.02846e-06,0.000232046,1.08932e-06,0.00023049,1.14564e-06,0.000227566,1.19637e-06,0.000223323,1.24053e-06,0.000217831,1.27724e-06,0.000211183,1.30576e-06,0.000203491,1.32549e-06,0.000194881,1.33604e-06,0.000185492,1.33719e-06,0.000175474,1.32894e-06,0.000164983,1.3115e-06,0.000154193,1.28542e-06,0.000143326,1.25175e-06,0.000132715,1.21258e-06,0.000123818,1.17576e-06,-17493.5,1730.31,85409.3,-8448,3445.68,-340.819,-16823,1664,265.05,-26.2166,-1294.08,128,-21734.3,2149.78,106115,-10496,-1060.21,104.868,5176.32,-512,-265.055,26.2171,1294.08,-128,530.103,-52.4335,-2588.16,256,-0.00216801,0.000214442,-0,0,-4108.32,406.362,20058.2,-1984,-3710.74,367.036,18117.1,-1792,-2120.42,209.735,10352.6,-1024,-12457.5,1232.19,60821.8,-6016,-3975.79,393.253,19411.2,-1920,-24384.8,2411.95,119055,-11776,-21469.3,2123.57,104820,-10368,-2120.42,209.735,10352.6,-1024,56853.8,-5623.52,-277580,27456,12324.9,-1219.08,-60174.7,5952,-3313.16,327.711,16176,-1600,-14710.4,1455.04,71821.4,-7104,12192.4,-1205.98,-59527.7,5888,-6029.95,596.434,29440.3,-2912,2783.05,-275.277,-13587.8,1344,7288.94,-720.964,-35587.2,3520,7819.05,-773.397,-38175.4,3776,5831.15,-576.771,-28469.8,2816,3710.73,-367.036,-18117.1,1792,30878.6,-3054.26,-150760,14912,28691.9,-2837.98,-140084,13856,18951.3,-1874.51,-92526.7,9152,9276.84,-917.59,-45292.8,4480,23390.9,-2313.64,-114203,11296,53474.3,-5289.25,-261081,25824,95551.4,-9451.18,-466516,46144,18156.1,-1795.86,-88644.5,8768,124376,-12302.3,-607247,60064,109798,-10860.3,-536073,53024,-147469,14586.4,719994,-71216,-128749,12734.8,628599,-62176,843033,-83386,-4.11598e+06,407120,502672,-49720.3,-2.45422e+06,242752,577848,-57156,-2.82126e+06,279056,1.41985e+06,-140440,-6.93222e+06,685680,986128,-97539.9,-4.81462e+06,476224,-1.31996e+06,130560,6.44452e+06,-637440,1.55692e+06,-153998,-7.60143e+06,751872,-3.51957e+06,348127,1.71838e+07,-1.69968e+06,3.96933e+06,-392614,-1.93797e+07,1.91688e+06,-5.25854e+06,520133,2.56741e+07,-2.53947e+06,3.09235e+06,-305871,-1.5098e+07,1.49337e+06,-2.03383e+06,201170,9.92988e+06,-982184,-1.32141e+07,1.30704e+06,6.4516e+07,-6.38141e+06,6.46864e+06,-639826,-3.15822e+07,3.12386e+06,-1.23057e+07,1.21718e+06,6.00806e+07,-5.94269e+06,1.2329e+07,-1.21949e+06,-6.01946e+07,5.95397e+06,-2.41214e+07,2.3859e+06,1.17769e+08,-1.16488e+07,1.32248e+07,-1.30809e+06,-6.4568e+07,6.38654e+06,6.78301e+06,-670921,-3.3117e+07,3.27567e+06,1.7008e+07,-1.68229e+06,-8.30388e+07,8.21354e+06,8.35383e+06,-826293,-4.07863e+07,4.03426e+06,-6.56333e+06,649192,3.20445e+07,-3.16958e+06,-6.76359e+06,669000,3.30222e+07,-3.26629e+06,4.38893e+07,-4.34118e+06,-2.14283e+08,2.11952e+07,-2.40558e+07,2.37941e+06,1.17449e+08,-1.16171e+07,1.34702e+07,-1.33237e+06,-6.57664e+07,6.50509e+06,6.00174e+07,-5.93644e+06,-2.93026e+08,2.89838e+07,3.21703e+07,-3.18203e+06,-1.57067e+08,1.55358e+07,-2.60012e+07,2.57183e+06,1.26947e+08,-1.25566e+07,1.1103e+07,-1.09822e+06,-5.42087e+07,5.36189e+06,-1.44355e+07,1.42785e+06,7.04794e+07,-6.97125e+06,3.30279e+06,-326686,-1.61254e+07,1.595e+06,1.7931e+07,-1.77359e+06,-8.75455e+07,8.6593e+06,5.81975e+07,-5.75643e+06,-2.84141e+08,2.81049e+07,5.31945e+07,-5.26157e+06,-2.59714e+08,2.56888e+07,5.25372e+07,-5.19656e+06,-2.56505e+08,2.53714e+07,9.16475e+06,-906503,-4.47455e+07,4.42587e+06,6.06074e+07,-5.9948e+06,-2.95907e+08,2.92687e+07,1.8303e+07,-1.81039e+06,-8.93618e+07,8.83896e+06,1.64212e+08,-1.62426e+07,-8.01742e+08,7.93019e+07,8.07506e+07,-7.9872e+06,-3.94253e+08,3.89963e+07,9.25396e+07,-9.15328e+06,-4.51811e+08,4.46895e+07,1.32845e+08,-1.31399e+07,-6.48595e+08,6.41538e+07,-9.71906e+07,9.61331e+06,4.74519e+08,-4.69356e+07,-2.67699e+07,2.64786e+06,1.307e+08,-1.29278e+07,1.15973e+08,-1.14711e+07,-5.66223e+08,5.60062e+07,8.60789e+07,-8.51423e+06,-4.20268e+08,4.15695e+07,1.31991e+07,-1.30555e+06,-6.44428e+07,6.37417e+06,2.87536e+07,-2.84407e+06,-1.40385e+08,1.38858e+07,8.52537e+06,-843261,-4.16239e+07,4.1171e+06,1.54724e+07,-1.53041e+06,-7.55417e+07,7.47198e+06,3.26077e+06,-322529,-1.59202e+07,1.5747e+06,-5.83851e+06,577499,2.85057e+07,-2.81955e+06,3.78765e+07,-3.74644e+06,-1.84926e+08,1.82914e+07,-247057,24436.9,1.20622e+06,-119310,1.21921e+08,-1.20594e+07,-5.95261e+08,5.88784e+07,9.92738e+07,-9.81937e+06,-4.8469e+08,4.79416e+07,-3.3819e+07,3.34511e+06,1.65116e+08,-1.6332e+07,-1.36246e+08,1.34763e+07,6.652e+08,-6.57962e+07,1.00941e+08,-9.98423e+06,-4.92827e+08,4.87465e+07,-3.30508e+07,3.26912e+06,1.61366e+08,-1.5961e+07,17493.5,-1730.31,-3445.68,340.819,-265.05,26.2166,21734.3,-2149.78,1060.21,-104.868,265.055,-26.2171,-530.103,52.4335,0.00216801,-0.000214442,4108.32,-406.362,3710.74,-367.036,2120.42,-209.735,12457.5,-1232.19,3975.79,-393.253,24384.8,-2411.95,21469.3,-2123.57,2120.42,-209.735,-56853.8,5623.52,-12324.9,1219.08,3313.16,-327.711,14710.4,-1455.04,-12192.4,1205.98,6029.95,-596.434,-2783.05,275.277,-7288.94,720.964,-7819.05,773.397,-5831.15,576.771,-3710.73,367.036,-30878.6,3054.26,-28691.9,2837.98,-18951.3,1874.51,-9276.84,917.59,-23390.9,2313.64,-53474.3,5289.25,-95551.4,9451.18,-18156.1,1795.86,-124376,12302.3,-109798,10860.3,147469,-14586.4,128749,-12734.8,-843033,83386,-502672,49720.3,-577848,57156,-1.41985e+06,140440,-986128,97539.9,1.31996e+06,-130560,-1.55692e+06,153998,3.51957e+06,-348127,-3.96933e+06,392614,5.25854e+06,-520133,-3.09235e+06,305871,2.03383e+06,-201170,1.32141e+07,-1.30704e+06,-6.46864e+06,639826,1.23057e+07,-1.21718e+06,-1.2329e+07,1.21949e+06,2.41214e+07,-2.3859e+06,-1.32248e+07,1.30809e+06,-6.78301e+06,670921,-1.7008e+07,1.68229e+06,-8.35383e+06,826293,6.56333e+06,-649192,6.76359e+06,-669000,-4.38893e+07,4.34118e+06,2.40558e+07,-2.37941e+06,-1.34702e+07,1.33237e+06,-6.00174e+07,5.93644e+06,-3.21703e+07,3.18203e+06,2.60012e+07,-2.57183e+06,-1.1103e+07,1.09822e+06,1.44355e+07,-1.42785e+06,-3.30279e+06,326686,-1.7931e+07,1.77359e+06,-5.81975e+07,5.75643e+06,-5.31945e+07,5.26157e+06,-5.25372e+07,5.19656e+06,-9.16475e+06,906503,-6.06074e+07,5.9948e+06,-1.8303e+07,1.81039e+06,-1.64212e+08,1.62426e+07,-8.07506e+07,7.9872e+06,-9.25396e+07,9.15328e+06,-1.32845e+08,1.31399e+07,9.71906e+07,-9.61331e+06,2.67699e+07,-2.64786e+06,-1.15973e+08,1.14711e+07,-8.60789e+07,8.51423e+06,-1.31991e+07,1.30555e+06,-2.87536e+07,2.84407e+06,-8.52537e+06,843261,-1.54724e+07,1.53041e+06,-3.26077e+06,322529,5.83851e+06,-577499,-3.78765e+07,3.74644e+06,247057,-24436.9,-1.21921e+08,1.20594e+07,-9.92738e+07,9.81937e+06,3.3819e+07,-3.34511e+06,1.36246e+08,-1.34763e+07,-1.00941e+08,9.98423e+06,3.30508e+07,-3.26912e+06,0.000123818,1.17576e-06,0,0,0.000123818,1.17576e-06];
[Debug: integrate::1134] Contains NaN: y = 0 yDot = 0
[Trace: residualDaeWrapper::217] ==> Residual at t = 713.22 sec = 1
[Debug: updateDynamicModelFlowRates::226] Flow out unit 0 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::215] Flow in unit 1 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::226] Flow out unit 1 port 0: 2.312e-08
[Debug: updateDynamicModelFlowRates::215] Flow in unit 2 port 0: 2.312e-08
[Trace: linearSolveWrapper::313] ==> Solve at t = 713.22 alpha = 1e+06 tol = 0.33
My current theory is, that the kinetic constant is too small (i.e. too fast), and that CADET overshoots, but I don’t really know. I’ll put this onto the agenda for our next team meeting.
But regarding your current issue @danPh :
- For the reproduction of your GoSilico results: that’s all rapid equilibrium anyways with a kKin that fast. With that combination of parameters for charge, capactiy etc. the kKin parameter only starts getting noticeable above 1e25, so some 30 orders of magnitude above your GoSilico values. So you can run your simulations with is_kinetic=False or set kKin to anything higher than 1e-6 (e.g. 1) and you should get the same results you would get if CADET didn’t crash with kKin=1e-8.
- I think 10.11 for the characteristic charge is reasonable.
- For your own simulations/ parameter estimations etc moving forward, I would recommend using reference concentrations as much as you can as they stabilize the numerics of the SMA isotherm. The values we recommend are the stationary phase capacity and the maximum salt concentration for bound and solved reference concentrations respectively. But note that the ka and kd CADET takes are the transformed ka and kd, so changing the reference concentrations is going to change the simulation results. If you want to have an exchange about reference concentrations feel free to join us at the CADET Office hour and we can talk about it