Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2025

Updates the requirements on ModelingToolkit to permit the latest version.
Updates ModelingToolkit to 11.0.0

Release notes

Sourced from ModelingToolkit's releases.

v11.0.0

ModelingToolkit v11.0.0

Diff since v10.31.1

Please refer to NEWS.md for a descriptive overview of the changes in this breaking release.

Merged pull requests:

Closed issues:

  • Linearization with bigfloat (#3752)
Changelog

Sourced from ModelingToolkit's changelog.

ModelingToolkit v11 Release Notes

Symbolics@7 and SymbolicUtils@4 compatibility

SymbolicUtils version 4 involved a major overhaul of the core symbolic infrastructure, which propagated to Symbolics as Symbolics version 7. ModelingToolkit has now updated to these versions. This includes significant type-stability improvements, enabling precompilation of large parts of the symbolic infrastructure and faster TTFX. It is highly recommended to read the Release Notes for SymbolicUtils@4 and the doc page describing the new variant structure before these release notes.

As part of these changes, ModelingToolkit has changed how some data is represented to allow precompilation. Notably, variable => value mappings (such as guesses) are stored as an AbstractDict{SymbolicT, SymbolicT}. Here, SymbolicT is a type that comes from Symbolics.jl, and is the type for all unwrapped symbolic values. This means that any non-symbolic values are stored as SymbolicUtils.Const variants. Mutation such as guesses(sys)[x] = 1.0 is still possible, and values are automatically converted. However, obtaining the value back requires usage of SymbolicUtils.unwrap_const or Symbolics.value.

Following is a before/after comparison of the TTFX for the most common operations in ModelingToolkit.jl. Further improvements are ongoing. Note that the timings do depend on many factors such as the exact system used, types passed to constructor functions, other packages currently loaded in the session, presence of array variables/equations, whether index reduction is required, and the behavior of various passes in mtkcompile. However, the numbers are good representations of the kinds of performance improvements that are possible due to the new infrastructure. There will continue to be improvements as this gets more extensive testing and we are better able to identify bottlenecks in compilation.

System constructor

The time to call System, not including the time taken for @variables or building the equations.

Before:

  0.243758 seconds (563.80 k allocations: 30.613 MiB, 99.48% compilation time: 3% of which was recompilation)
elapsed time (ns):  2.43757958e8
gc time (ns):       0
bytes allocated:    32099616
pool allocs:        563137
non-pool GC allocs: 16
malloc() calls:     651
free() calls:       0
minor collections:  0
full collections:   0

After:

</tr></table> 

... (truncated)

Commits
  • a485499 Merge pull request #4050 from SciML/as/compats
  • f98ce67 docs: add numbers for compile time improvements
  • 40f5248 docs: add release notes to NEWS.md
  • 7043677 build: add compats for StateSelection and MTKTearing
  • c3bd84a Merge pull request #4046 from ChrisRackauckas-Claude/fix-initialization-tutor...
  • 5a897cf docs: fix initialization tutorial example to use D(x) instead of y
  • 80d2645 Merge pull request #4043 from SciML/dependabot/github_actions/actions/checkout-6
  • 916c6fe build(deps): bump actions/checkout from 5 to 6
  • a78cf3a Merge pull request #3953 from SciML/as/su-v4
  • 49115cb refactor: improve precompilation of MTKBase, MTK
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [ModelingToolkit](https://github.com/SciML/ModelingToolkit.jl) to permit the latest version.

Updates `ModelingToolkit` to 11.0.0
- [Release notes](https://github.com/SciML/ModelingToolkit.jl/releases)
- [Changelog](https://github.com/SciML/ModelingToolkit.jl/blob/master/NEWS.md)
- [Commits](SciML/ModelingToolkit.jl@v10.0.0...v11.0.0)

---
updated-dependencies:
- dependency-name: ModelingToolkit
  dependency-version: 11.0.0
  dependency-type: direct:production
  dependency-group: all-julia-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file julia Pull requests that update julia code labels Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file julia Pull requests that update julia code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant