improve model generation time (#1068)
improve model generation time (#1068)

* fix #1066 but try to minimize impact on large scale model

* refactor conservation laws

* fixups, fixes #1062

* add smart_multiply and smart_jacobian functions

* Apply suggestions from code review

Co-authored-by: Daniel Weindl <9ea2767267be08d510ca4d6324b5627f79d1945b@users.noreply.github.com>

* add docstrings

* remove tcl dependency from (s)x_rdata

* Revert "remove tcl dependency from (s)x_rdata"

This reverts commit 32280c3e9763434dbd75d9945c6f30050e695e35.

* Revert "fixups, fixes #1062"

This reverts commit 9c081767f92dfa27a8f54b78e03cfc450363cb92.

* Revert "refactor conservation laws"

* simplify add_conservation_law interface

* fix & speedup cl

* Revert "fix & speedup cl"

This reverts commit f6ab282c35b5b925f9219e188df3f062b5680b63.

* Revert "simplify add_conservation_law interface"

This reverts commit 4ad8267a9ff9cb644726e3442e2b85ccefed2644.

* Update test-large-model.yml

Co-authored-by: Daniel Weindl <9ea2767267be08d510ca4d6324b5627f79d1945b@users.noreply.github.com>
AMICI-developer/AMICI,FFroehlich/AMICI,FFroehlich/AMICI,FFroehlich/AMICI,FFroehlich/AMICI,AMICI-developer/AMICI,AMICI-developer/AMICI,AMICI-developer/AMICI