Why the result obtained by SStotal=∑(Yi−Y^i)2+∑(Y^i−Y¯)2 (the last column in attached Libre Office doc) doesn't equal to SStotal=∑(Yi−Y¯)2 ( column is marked as red) ?
It's not clear what you are computing exactly, but my guess would be that since 1) your model is not linear and 2) the value are not clearly the least-square values, there is no reason for the double products term to cancel out — in other words, no reason for the two terms to be equal.