You apparently mean "simulate" when you used the word "model".
You'll need two things to accomplish this:
A better rotational integrator than the one presented in this answer to your other question, and
A physical model of a system that loses energy while conserving angular momentum.
Regarding the first item, that integrator is not bad. It has the basics of Lie group integration built into it, and it also has built-in conservation of angular momentum. But it's not that good, either. It's the rotational analog of the Euler-Cromer integration technique (aka symplectic Euler, aka semi-implicit Euler, aka Newton–Størmer–Verlet, aka a bunch of other names). Euler-Cromer is first order in terms of error. You can do better than that, and you will need to do better than that to see this subtle effect. Unfortunately, the mathematics that underlies these better rotational integrators is rather deep.
A lot of work has been done on this topic in the last 25 years or so. I've listed a small number of references on this body of work at the end of this answer. The first paper by Iserles et al. is 128 pages long. This is the must-read seminal paper on this topic. At 128 pages, all I can do in a Q&A website such as this is point you to the paper. The second paper be Cellodini et al. is a much shorter 28 pages long. This summary paper provides an overview of the techniques and describes developments since the paper by Iserles et al. The last paper describes a couple of specific applications that use Lie group integration techniques.
You can query scholar.google.com for "Lie group integrators" to get a whole lot more -- and many of the paper you find are freely available online. No paywall!
Regarding the second item, you'll need a model of a non-rigid body. Some ways to do this:
Use coupled rigid bodies that exchange linear and angular momentum one another, in a manner consistent with Newton's third law but that lose energy during the momentum transfer.
Use a flexible body model. Once again, scholar.google.com is your friend.
Use a slosh model. Properly modeling non-ideal solid bodies is a non-trivial problem. Modeling fluids is much, much harder problem. You could use a computational fluid dynamics (CFD) model, but you'll need a supercomputer to do that. Slosh models provide a moderate fidelity model of the physics of fluids sloshing around inside a container. Once again, scholar.google.com is your friend.
Iserles, A., Munthe-Kaas, H. Z., Nørsett, S. P., & Zanna, A. (2000). Lie-group methods. Acta Numerica, 9, 215-365.
Celledoni, E., Marthinsen, H., & Owren, B. (2012). An introduction to Lie group integrators--basics, new developments and applications. arXiv preprint, arXiv:1207.0069.
Kobilarov, M., Crane, K., & Desbrun, M. (2009). Lie group integrators for animation and control of vehicles. ACM Transactions on Graphics, 28(2), 16.