Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
332 commits
Select commit Hold shift + click to select a range
6dc4f28
refactor: make `AnalysisPoint` more type-stable
AayushSabharwal Oct 14, 2025
f0349b0
fix: fix parameter default parsing in `@mtkmodel`
AayushSabharwal Oct 14, 2025
541c12d
fix: handle symbolic consts in unit checking
AayushSabharwal Oct 14, 2025
a5b6acc
fix: handle wrapped constants in `dummy_derivative_graph`
AayushSabharwal Oct 14, 2025
d8cc99e
fix: better handle absent parameter derivatives in simplification
AayushSabharwal Oct 14, 2025
8775126
fix: handle wrapped constants in `find_eq_solvables!`
AayushSabharwal Oct 14, 2025
f0e5022
fix: minor bug fix in initsys generation
AayushSabharwal Oct 14, 2025
0e8955f
refactor: avoid using `vars!` in initsys generation
AayushSabharwal Oct 14, 2025
14a6d2b
fix: unwrap symbolic constants in initsys generation
AayushSabharwal Oct 14, 2025
85f8957
fix: add edge case for unit handling in `@mtkmodel`
AayushSabharwal Oct 14, 2025
103f64c
fix: handle new `guesses` type in initprob generation
AayushSabharwal Oct 14, 2025
bb55795
fix: improve type-stability of `System` constructor
AayushSabharwal Oct 14, 2025
7a8379c
fix: properly hashcons constant global symbolics
AayushSabharwal Oct 14, 2025
7b3cc1b
fix: improve type-stability of `subexpressions_not_involving_vars!`
AayushSabharwal Oct 14, 2025
9da8ade
fix: handle `Shift` applied to `Equation`
AayushSabharwal Oct 14, 2025
cf16279
refactor: reorganize imports to recompile invalidations
AayushSabharwal Oct 14, 2025
b8b46b3
fix: fix `pantelides_reassemble`
AayushSabharwal Oct 15, 2025
0f7447b
fix: fix `change_independent_variable`
AayushSabharwal Oct 15, 2025
27408dc
fix: unwrap consts in `respecialize`
AayushSabharwal Oct 15, 2025
71c8278
fix: handle edge case in `add_initialization_parameters`
AayushSabharwal Oct 15, 2025
68c82e5
fix: do not use `vars` in `ImperativeAffect`
AayushSabharwal Oct 15, 2025
77fd612
chore: additional precompile statements
AayushSabharwal Oct 15, 2025
8f15a15
refactor: remove `vars`, `vars!`
AayushSabharwal Oct 15, 2025
ab1583b
refactor: improve type-stability of `subexpressions_not_involving_vars!`
AayushSabharwal Oct 15, 2025
ccfba02
fix: unwrap noise equations in `modelingtoolkitize(::SDEProblem)`
AayushSabharwal Oct 15, 2025
c40eef2
fix: fix `collect_vars!` for jumps
AayushSabharwal Oct 15, 2025
c50623f
fix: improve stability of `domain_connect`
AayushSabharwal Oct 15, 2025
8f843db
fix: handle edge case in `initializeprobmap` construction
AayushSabharwal Oct 15, 2025
ddaa834
fix: fix `getbounds`
AayushSabharwal Oct 15, 2025
289819b
build: bump SymbolicUtils compat
AayushSabharwal Oct 15, 2025
2f1e196
fix: fix `modelingtoolkitize`
AayushSabharwal Oct 24, 2025
b2f92c2
fix: require appropriately sized bounds in `getbounds`, `hasbounds`
AayushSabharwal Oct 24, 2025
35f2982
fix: handle indexed arrays in `getguess`
AayushSabharwal Oct 24, 2025
da6d79b
fix: handle edge cases in `EvalAt`
AayushSabharwal Oct 24, 2025
9e7b4d5
refactor: specialize `check_lhs` on `Differential`
AayushSabharwal Oct 24, 2025
637ea98
refactor: update `collect_ivs`
AayushSabharwal Oct 24, 2025
af87541
fix: add fallback `collect_vars!` for wrapped variables
AayushSabharwal Oct 24, 2025
15bd861
refactor: handle consts and new `reorder_parameters` in linearization
AayushSabharwal Oct 24, 2025
3fc3443
refactor: remove `markio!`
AayushSabharwal Oct 24, 2025
bbaf4b0
refactor: do not change metadata in `inputs_to_parameters!`
AayushSabharwal Oct 24, 2025
bb6d520
fix: update `ShiftIndex` implementation
AayushSabharwal Oct 24, 2025
5c7b859
refactor: handle new `Differential` in unit checking
AayushSabharwal Oct 24, 2025
deb85f2
refactor: handle new `Differential` in `TearingState` ctor
AayushSabharwal Oct 24, 2025
d61a120
refactor: avoid changing metadata in `mtkcompile`'s IO handling
AayushSabharwal Oct 24, 2025
a3c9a7b
fix: fix non-concrete symtype in `SymbolicTstops`
AayushSabharwal Oct 24, 2025
869ea56
fix: handle unwrapping in `MTKParameters`
AayushSabharwal Oct 24, 2025
66a0b24
fix: get `@mtkmodel` to work
AayushSabharwal Oct 24, 2025
712f1b0
fix: handle array indexing in `parameter_index`
AayushSabharwal Oct 24, 2025
8bb820b
fix: update iflifting
AayushSabharwal Oct 24, 2025
a45571e
refactor: remove `SymbolicWithNameof`
AayushSabharwal Oct 24, 2025
26ad3f7
refactor: improve `AnalysisPoint` type stability
AayushSabharwal Oct 24, 2025
174e2af
fix: improve `is_parameter` type-stability
AayushSabharwal Oct 24, 2025
3fe0bf8
fix: handle `Const` values in `SII.default_values`
AayushSabharwal Oct 24, 2025
04d97ac
refactor: update `basic_transformations.jl`
AayushSabharwal Oct 24, 2025
c3d3316
fix: handle new `Differential` in tearing
AayushSabharwal Oct 24, 2025
4f6a31c
fix: handle new `Differential` in initsys generation
AayushSabharwal Oct 24, 2025
5ba1d36
refactor: update time independent initsys generation
AayushSabharwal Oct 24, 2025
3241c95
fix: update codegen methods
AayushSabharwal Oct 24, 2025
f187469
refactor: handle wrapped values in `build_explicit_observed_function`
AayushSabharwal Oct 24, 2025
677b65a
refactor: fix `get_array_variable_assignments`
AayushSabharwal Oct 24, 2025
f097b0f
fix: fix global argument name symtypes
AayushSabharwal Oct 24, 2025
4d8f8ad
refactor: move Latexify items to extension
AayushSabharwal Oct 24, 2025
eea1955
fix: HACK: workaround inference bug
AayushSabharwal Oct 24, 2025
e385f85
fix: unwrap consts in `timeseries_parameter_index`
AayushSabharwal Oct 24, 2025
5c7495a
chore: remove unused dependencies
AayushSabharwal Oct 24, 2025
ce0436f
refactor: move DiffEqNoiseProcess to extension
AayushSabharwal Oct 24, 2025
2785a86
refactor: move DynamicQuantities to extension
AayushSabharwal Oct 24, 2025
d7d6f1b
test: update tests
AayushSabharwal Oct 28, 2025
0647c3e
TEMP: Use branch of MTKStdlib
AayushSabharwal Nov 12, 2025
300e329
fix: fix incorrect indepvar in `ShiftIndex` implementation
AayushSabharwal Nov 11, 2025
1b54380
refactor: update `SemilinearODEProblem`
AayushSabharwal Nov 17, 2025
c62a8c9
TEMP: Use branch of Optimization
AayushSabharwal Nov 17, 2025
e9c93c9
ci: run CI on PRs to `as/su-v4`
AayushSabharwal Nov 17, 2025
01d7419
refactor: rm `parameter_dependencies` from `System`
AayushSabharwal Nov 5, 2025
ecdac2b
build: bump SymbolicUtils compat
AayushSabharwal Nov 18, 2025
165a835
feat: add `AtomicArrayDict`
AayushSabharwal Nov 5, 2025
4de68c5
build: bump Symbolics compat
AayushSabharwal Nov 18, 2025
ae01f3c
refactor: rm `defaults` for `bindings` and `initial_conditions`
AayushSabharwal Nov 5, 2025
4f9fbe8
test: add tests for new binding semantics
AayushSabharwal Nov 5, 2025
2845192
refactor: rm some occurrences of defaults
AayushSabharwal Nov 5, 2025
2f65d60
refactor: use bindings instead of defaults in domain connections
AayushSabharwal Nov 5, 2025
5c76487
refactor: add `@discretes` and corresponding validation
AayushSabharwal Nov 5, 2025
d4bbcea
test: test `@parameters` and `@discretes` validation
AayushSabharwal Nov 5, 2025
ca755e4
feat: add `AtomicArraySet`
AayushSabharwal Nov 6, 2025
500f598
refactor: validate parameter bindings in `System` constructor
AayushSabharwal Nov 6, 2025
e72cafd
refactor: define `discretes(::SymbolicAffect)`
AayushSabharwal Nov 6, 2025
ed917de
refactor: convert discrete unknowns to parameters in `complete` and `…
AayushSabharwal Nov 6, 2025
73f8142
feat: add `ParameterBindingsGraph`
AayushSabharwal Nov 6, 2025
c4fb418
feat: build `ParameterBindingsGraph` in `complete`
AayushSabharwal Nov 6, 2025
2adda82
refactor: update `build_function_wrapper` to use `ParameterBindingsGr…
AayushSabharwal Nov 6, 2025
f3b8e07
test: add test for `missing` bindings
AayushSabharwal Nov 6, 2025
a1c4a7a
refactor: update initsys generation to new bindings semantics
AayushSabharwal Nov 5, 2025
86ec948
refactor: disallow parameter-only equations
AayushSabharwal Nov 6, 2025
9d3fe01
refactor: ensure no bound parameters have initial conditions in `comp…
AayushSabharwal Nov 6, 2025
4234660
refactor: update `evaluate_varmap!`
AayushSabharwal Nov 6, 2025
6fb8248
feat: add `bound_parameters(sys)`
AayushSabharwal Nov 6, 2025
13edab6
refactor: update `MTKParameters` constructor
AayushSabharwal Nov 6, 2025
395351c
feat: add utilities for working with `AtomicArrayDict`/`*Set`
AayushSabharwal Nov 7, 2025
94b7b51
feat: add `COMMON_FALSE`
AayushSabharwal Nov 7, 2025
ffc719e
refactor: update `add_observed_equations!`
AayushSabharwal Nov 7, 2025
e26e7af
refactor: update `build_explicit_observed_function`
AayushSabharwal Nov 7, 2025
1c7dd00
refactor: update `SII.all_symbols`
AayushSabharwal Nov 7, 2025
f3a32a7
refactor: update `SCCNonlinearProblem`
AayushSabharwal Nov 7, 2025
efcb5bb
refactor: update `InitializationProblem`
AayushSabharwal Nov 7, 2025
eded745
refactor: update `process_SciMLProblem`
AayushSabharwal Nov 7, 2025
80813f0
refactor: update `MTKParameters`
AayushSabharwal Nov 7, 2025
f1d4984
refactor: improved `GlobalScope` handling in `TearingState`
AayushSabharwal Nov 7, 2025
58d401e
fix: use `AtomicArrayDict` in `linearize`
AayushSabharwal Nov 10, 2025
c177fff
refactor: add `__legacy_defaults__` parsing for `@mtkmodel`
AayushSabharwal Nov 10, 2025
50ef8a4
refactor: remove `DisturbanceModel`
AayushSabharwal Nov 10, 2025
a22406d
refactor: improve IO validation and canonicalization
AayushSabharwal Nov 10, 2025
0272130
fix: handle new edge case in `build_explicit_observed_function`
AayushSabharwal Nov 10, 2025
ba827ed
fix: properly handle addition of initialization parameters
AayushSabharwal Nov 10, 2025
0d8ebe5
refactor: update input ordering validation
AayushSabharwal Nov 10, 2025
282b4d7
fix: fix unflattening of array parameters in `complete`
AayushSabharwal Nov 10, 2025
0b9becd
fix: update `missingvars` to `AtomicArrayDict` semantics
AayushSabharwal Nov 10, 2025
1e550da
fix: allow user-provided mappings in `varmap_to_vars`
AayushSabharwal Nov 10, 2025
5c2fca9
refactor: use `initial_conditions` instead of `defaults` in `modeling…
AayushSabharwal Nov 11, 2025
6fb08d3
fix: fix incorrect indepvar in `ShiftIndex` implementation
AayushSabharwal Nov 11, 2025
775841a
fix: allow running `mtkcompile` on completed systems with bound params
AayushSabharwal Nov 11, 2025
e7699ed
fix: handle bound parameters when adding observed eqs to operating point
AayushSabharwal Nov 11, 2025
bd4c788
refactor: make `InitializationMetadata` concrete
AayushSabharwal Nov 11, 2025
a785adc
fix: update `float_type_from_varmap`
AayushSabharwal Nov 11, 2025
746a0d8
fix: better handle scalarized arrays in tunables
AayushSabharwal Nov 11, 2025
651cba8
fix: handle dummy derivatives in `build_function_wrapper`
AayushSabharwal Nov 11, 2025
21d5f96
fix: better handle dummy derivatives in `build_explicit_observed_func…
AayushSabharwal Nov 11, 2025
b1f4b56
fix: add `Initial` params for discretes
AayushSabharwal Nov 11, 2025
775dfbf
fix: fix `parameters` implementation
AayushSabharwal Nov 11, 2025
5cf553c
fix: update `toexpr` for `AbstractSystem`
AayushSabharwal Nov 11, 2025
27505de
refactor: rm `missing_variable_defaults`
AayushSabharwal Nov 11, 2025
4df607e
fix: remove piracy of `keytype`
AayushSabharwal Nov 11, 2025
3b6279c
refactor: update `remake_initialization_data`
AayushSabharwal Nov 11, 2025
e11bd24
fix: fix `IncompleteInitializationError` printing
AayushSabharwal Nov 11, 2025
23dbe1b
refactor: update model transformations to not use pdeps/defaults
AayushSabharwal Nov 11, 2025
d3a8b39
refactor: update analysis points to not use defaults
AayushSabharwal Nov 11, 2025
6bdae6b
fix: make `@mtkmodel` compatible with new `@discretes`
AayushSabharwal Nov 11, 2025
290e233
fix: handle discretes in `check_no_parameter_equations`
AayushSabharwal Nov 11, 2025
69ebada
fix: handle scalarized vars in `evaluate_varmap!`
AayushSabharwal Nov 11, 2025
fae3a7c
fix: properly calculate `floatT` in `process_SciMLProblem`
AayushSabharwal Nov 11, 2025
8cee06b
fix: properly calculate and respect `floatT` in `MTKParameters`
AayushSabharwal Nov 11, 2025
58b74b3
fix: handle `missing` values in bindings
AayushSabharwal Nov 11, 2025
90e0901
refactor: update `OptimizationProblem` ctor
AayushSabharwal Nov 12, 2025
0970c47
feat: add fast path override for `InitializationProblem`
AayushSabharwal Nov 13, 2025
dd862a3
refactor: minor type-stability improvement
AayushSabharwal Nov 13, 2025
e38e14b
fix: fix bug preventing parameter observed for non-markovian systems
AayushSabharwal Nov 13, 2025
4b68560
fix: update `GetUpdatedU0` to new semantics
AayushSabharwal Nov 13, 2025
367fec1
fix: allow `=> nothing` overrides for initial conditions
AayushSabharwal Nov 13, 2025
1652fa8
fix: fix `mtkcompile` for SDEs
AayushSabharwal Nov 13, 2025
fb9b745
fix: add special-case `left_merge!` for atomic dicts
AayushSabharwal Nov 13, 2025
b2b7762
fix: allow ignoring variable bindings with `build_initializeprob = fa…
AayushSabharwal Nov 13, 2025
1a9000a
fix: flatten initsys parameters for non-split systems
AayushSabharwal Nov 15, 2025
7fce769
fix: handle `nothing` values for `symbolic_u0`
AayushSabharwal Nov 15, 2025
b5aabfe
refactor: update `IfLifting`
AayushSabharwal Nov 15, 2025
8af2af3
fix: store bound parameter names in index cache
AayushSabharwal Nov 15, 2025
ea70269
fix: handle missing values for `Initial` parameters in `MTKParameters`
AayushSabharwal Nov 15, 2025
c939153
refactor: update `NonlinearSystem` transformation
AayushSabharwal Nov 15, 2025
b83b6de
refactor: update `get_u0` and `get_p`
AayushSabharwal Nov 15, 2025
e80dd41
refactor: update PDESystem
AayushSabharwal Nov 15, 2025
822dc70
fix: avoid storing namespaced discretes
AayushSabharwal Nov 17, 2025
5d8af5e
fix: copy operating point appropriately in `InitializationProblem`
AayushSabharwal Nov 18, 2025
e8f4e72
refactor: update `SemilinearODEProblem`
AayushSabharwal Nov 18, 2025
deaba62
refactor: update `basic_transformations.jl`
AayushSabharwal Nov 18, 2025
1c0bcb0
fix: handle bindings in time-independent initsys generation
AayushSabharwal Nov 18, 2025
89edb50
fix: better handle unknown sized arrays
AayushSabharwal Nov 18, 2025
bfd25bb
fix: handle delayed variables in observed generation
AayushSabharwal Nov 18, 2025
8fc0da0
fix: disallow variable bindings for time-independent systems
AayushSabharwal Nov 18, 2025
d25fd10
feat: add inline linear SCC tearing
AayushSabharwal Oct 30, 2025
5b7af90
feat: support analytical solving for small linear SCCs
AayushSabharwal Oct 30, 2025
cee32ab
docs: document options for `DefaultReassembleAlgorithm`
AayushSabharwal Nov 18, 2025
bea9c19
temp commit
AayushSabharwal Nov 18, 2025
d31febd
test: test inline linear SCC solving
AayushSabharwal Nov 18, 2025
c275346
Merge pull request #13 from JuliaComputing/as/new-params-new
AayushSabharwal Nov 18, 2025
c7c251d
Merge pull request #14 from JuliaComputing/as/inline-linear-sccs
AayushSabharwal Nov 18, 2025
cc18c35
TEMP: use branch of DataInterpolations
AayushSabharwal Nov 18, 2025
d9da650
oops: uncomment tests
AayushSabharwal Nov 18, 2025
996bfaa
refactor: remove dead code
AayushSabharwal Nov 19, 2025
1c3d747
test: update array hack test
AayushSabharwal Nov 19, 2025
c38221c
test: remove dead test
AayushSabharwal Nov 20, 2025
ed9acb0
test: fix tests
AayushSabharwal Nov 20, 2025
fb2450e
refactor: split out `ModelingToolkitBase`
AayushSabharwal Nov 20, 2025
92a5505
fix: make initialization more ergonomic with barebones `mtkcompile`
AayushSabharwal Nov 21, 2025
90a6db0
fix: make `DAEProblem` utilize the initialization problem better
AayushSabharwal Nov 21, 2025
bc6d002
feat: handle dummy derivatives in `build_explicit_observed_function` …
AayushSabharwal Nov 21, 2025
c53005b
fix: only floating point discretes are solvable
AayushSabharwal Nov 25, 2025
de514f4
fix: minor fix to `AffectSystem` construction
AayushSabharwal Nov 25, 2025
937adde
fix: handle `Const` variants in `Pre`
AayushSabharwal Nov 25, 2025
8c50933
fix: allow codegen of dummy derivatives without `Schedule`
AayushSabharwal Nov 25, 2025
fd0d643
fix: handle steady state form of ODEs in initialization
AayushSabharwal Nov 25, 2025
a245239
fix: edge case in dummy derivative handling in initsys generation
AayushSabharwal Nov 25, 2025
d8d2202
fix: handle reshaped/view-ed arrays in initsys infrastructure
AayushSabharwal Nov 25, 2025
bb18f49
fix: edge case with `symbolic_u0`
AayushSabharwal Nov 25, 2025
848e401
fix: handle called function symbolics in metadata default parsing
AayushSabharwal Nov 25, 2025
11c330e
fix: remove outdated `vars!` methods
AayushSabharwal Nov 26, 2025
3012703
fix: update `BifurcationKitExt`
AayushSabharwal Nov 28, 2025
61087dc
fix: update `CasADiDynamicOptExt`
AayushSabharwal Nov 28, 2025
7a7f4d2
fix: update `InfiniteOptExt`
AayushSabharwal Nov 28, 2025
14ada46
fix: update homotopy continuation interface
AayushSabharwal Nov 28, 2025
16198d7
fix: fix default dummy derivative guess handling
AayushSabharwal Nov 28, 2025
8da9403
fix: update dynamic optimization interface
AayushSabharwal Nov 28, 2025
603ae94
fix: update `supports_initialization`
AayushSabharwal Nov 28, 2025
8148654
refactor: move some utility functions to MTK
AayushSabharwal Nov 28, 2025
8454446
test: disable Pyomo tests, update other dynamic opt tests
AayushSabharwal Nov 28, 2025
3613c22
test: update homotopy continuation tests
AayushSabharwal Nov 28, 2025
8f2ef32
test: update AD tests
AayushSabharwal Nov 28, 2025
45a23b1
test: add missing guesses
AayushSabharwal Nov 28, 2025
aea75e4
test: update reduction test
AayushSabharwal Nov 28, 2025
6769a5a
build: bump DataInterpolations compat
AayushSabharwal Nov 28, 2025
2aeccae
test: update extensions test environment
AayushSabharwal Nov 28, 2025
97145cb
ci: update `Tests.yml` workflow
AayushSabharwal Nov 28, 2025
3b48f86
ci: update `Documentation.yml` workflow
AayushSabharwal Nov 28, 2025
75f586b
ci: update `Downstream.yml`
AayushSabharwal Nov 28, 2025
3568456
build: bump Symbolics, SymbolicUtils compat
AayushSabharwal Nov 28, 2025
7938f74
ci: avoid commenting formatting suggestions
AayushSabharwal Nov 28, 2025
84fafc0
build!: bump MAJOR version
AayushSabharwal Nov 28, 2025
952a350
build: add OptimizationBase to `[sources]`
AayushSabharwal Nov 28, 2025
89f5b19
fix: fix world age issues in generated `remake_buffer` on Julia 1.12
AayushSabharwal Nov 28, 2025
23c388b
ci: avoid eager precompilation in CI
AayushSabharwal Nov 28, 2025
7a6c060
fix: fix `toexpr(::AbstractSystem)`
AayushSabharwal Nov 28, 2025
fc0be01
test: disable AD tests
AayushSabharwal Nov 28, 2025
96db8ae
test: fix some tolerances in initialization tests
AayushSabharwal Nov 28, 2025
bcaa68f
test: try to make MTKBase tests pass
AayushSabharwal Nov 28, 2025
3f72da9
test: make test independent of printing order
AayushSabharwal Nov 28, 2025
09189e4
test: update homotopy continuation tests
AayushSabharwal Nov 28, 2025
78ff18b
test: update BifurcationKit tests
AayushSabharwal Dec 1, 2025
d254845
refactor: split out `@mtkmodel` into `SciCompDSL.jl`
AayushSabharwal Dec 1, 2025
afcaed4
test: try to make FMI tests resolve
AayushSabharwal Dec 1, 2025
d5bf4c9
build: remove unnecessary dependencies in MTKBase, MTK
AayushSabharwal Dec 1, 2025
0225fd2
test: update serialization tests
AayushSabharwal Dec 1, 2025
a8a9fcd
test: use SciCompDSL in tests
AayushSabharwal Dec 1, 2025
5da3dc0
refactor: update MTKFMIExt
AayushSabharwal Dec 1, 2025
4bbffdb
ci: run SciCompDSL tests in CI
AayushSabharwal Dec 1, 2025
6a75958
test: update FMI tests
AayushSabharwal Dec 1, 2025
425ade7
test: make some tests more friendly to MTKBase
AayushSabharwal Dec 1, 2025
0d121c3
test: update InfiniteOpt tests
AayushSabharwal Dec 1, 2025
815a304
build: bump BipartiteGraphs.jl compat
AayushSabharwal Dec 1, 2025
5f899bf
Merge pull request #18 from JuliaComputing/as/mtkbase
AayushSabharwal Dec 1, 2025
c4177c3
Merge pull request #20 from JuliaComputing/as/mtkmodel
AayushSabharwal Dec 2, 2025
fce566c
refactor: use StateSelection.jl
AayushSabharwal Dec 2, 2025
1c1a1e4
fix: minor bug fix in `full_equations`
AayushSabharwal Dec 3, 2025
ba3c274
refactor: use `BipartiteGraphs.HyperGraph`
AayushSabharwal Dec 3, 2025
a15c57b
fix: use macro to import MTKBase instead of `@eval`
AayushSabharwal Dec 3, 2025
e324758
test: update tests to StateSelection.jl split
AayushSabharwal Dec 3, 2025
b9977f4
chore: update LICENSE file
AayushSabharwal Dec 4, 2025
167ccc9
chore: add LICENSE file for ModelingToolkitBase.jl
AayushSabharwal Dec 4, 2025
9de8e5e
chore: add LICENSE file for SciCompDSL.jl
AayushSabharwal Dec 4, 2025
f37415e
Merge pull request #21 from JuliaComputing/as/state-selection
AayushSabharwal Dec 5, 2025
55e7dec
fix: fix unit checking for connection equations
AayushSabharwal Dec 5, 2025
50d52a6
test: update event test to use `@discretes`
AayushSabharwal Dec 5, 2025
69d2800
refactor: fix inference of `split_indexed_var`
AayushSabharwal Dec 5, 2025
49115cb
refactor: improve precompilation of MTKBase, MTK
AayushSabharwal Dec 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
- v10
- 'as/su-v4'
tags: '*'
pull_request:

Expand All @@ -24,7 +25,7 @@ jobs:
version: 'lts'
- run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev
- name: Install dependencies
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs/ -e 'using Pkg; Pkg.develop([PackageSpec(path=pwd()), PackageSpec(path=joinpath(pwd(), "lib", "ModelingToolkitBase"))]); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/Downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
using Pkg
try
# force it to use this PR's version of the package
Pkg.develop(PackageSpec(path="./lib/ModelingToolkitBase")) # resolver may fail with main deps
Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps
Pkg.update()
Pkg.test(coverage=true) # resolver may fail with test time deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/FormatCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ on:
jobs:
format-check:
name: "Format Check"
uses: "SciML/.github/.github/workflows/format-suggestions-on-pr.yml@v1"
uses: "SciML/.github/.github/workflows/format-check.yml@v1"
98 changes: 78 additions & 20 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
- 'release-'
- v10
- as/su-v4
paths-ignore:
- 'docs/**'
push:
Expand All @@ -31,22 +31,80 @@ jobs:
- "1"
- "lts"
- "pre"
group:
- InterfaceI
- InterfaceII
- Initialization
- SymbolicIndexingInterface
- Extended
- Extensions
- Downstream
- RegressionI
- FMI
uses: "SciML/.github/.github/workflows/tests.yml@master"
with:
julia-version: "${{ matrix.version }}"
group: "${{ matrix.group }}"
# Disable cache for self-hosted runners since they persist between runs
# Set USE_SELF_HOSTED repository variable to 'true' when using self-hosted runners
self-hosted: ${{ vars.USE_SELF_HOSTED == 'true' }}
cache: ${{ vars.USE_SELF_HOSTED != 'true' }}
secrets: "inherit"
pkggroup:
- ModelingToolkit/InterfaceI
- ModelingToolkit/InterfaceII
- ModelingToolkit/Initialization
- ModelingToolkit/SymbolicIndexingInterface
- ModelingToolkit/Extensions
- ModelingToolkit/Downstream
- ModelingToolkit/FMI
- ModelingToolkitBase/InterfaceI
- ModelingToolkitBase/InterfaceII
- ModelingToolkitBase/Initialization
- ModelingToolkitBase/SymbolicIndexingInterface
- ModelingToolkitBase/Extended
- ModelingToolkitBase/RegressionI
- ModelingToolkitBase/Extensions
- SciCompDSL/All
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v5
- name: "Setup Julia ${{ matrix.version }}"
uses: julia-actions/setup-julia@v2
with:
version: "${{ matrix.version }}"
arch: "${{ runner.arch }}"
- uses: julia-actions/cache@v2
if: ${{ vars.USE_SELF_HOSTED != 'true' }}
with:
token: "${{ secrets.GITHUB_TOKEN }}"
- name: "Test ${{ matrix.pkggroup }}"
env:
PKGGROUP: ${{ matrix.pkggroup }}
JULIA_PKG_PRECOMPILE_AUTO: 0
shell: julia --color=yes --check-bounds=yes --depwarn=yes {0}
run: |
using Pkg
const PKGGROUP = ENV["PKGGROUP"]
const PKG = split(PKGGROUP, "/")[1]
const GROUP = split(PKGGROUP, "/")[2]
ENV["GROUP"] = GROUP

if PKG == "ModelingToolkitBase"
@info "Testing ModelingToolkitBase"
Pkg.activate("lib/ModelingToolkitBase")
@info "`dev`ing SciCompDSL"
Pkg.develop(; path = "lib/SciCompDSL")
@info "Running tests" GROUP
Pkg.test()
elseif PKG == "ModelingToolkit"
@info "Testing ModelingToolkit"
Pkg.activate(".")
@info "`dev`ing ModelingToolkitBase"
Pkg.develop(; path = "lib/ModelingToolkitBase")
@info "`dev`ing SciCompDSL"
Pkg.develop(; path = "lib/SciCompDSL")
@info "Running tests" GROUP
Pkg.test()
elseif PKG == "SciCompDSL"
@info "Testing SciCompDSL"
Pkg.activate("lib/SciCompDSL")
@info "`dev`ing ModelingToolkitBase"
Pkg.develop(; path = "lib/ModelingToolkitBase")
@info "`dev`ing ModelingToolkit"
Pkg.develop(; path = ".")
@info "Running tests" GROUP
Pkg.test()
else
error("Invalid package $PKG")
end
- uses: julia-actions/julia-processcoverage@v1
with:
directories: "src,ext,lib/ModelingToolkitBase/src,lib/ModelingToolkitBase/ext"
- name: "Report Coverage with Codecov"
uses: codecov/codecov-action@v5
with:
files: lcov.info
token: "${{ secrets.CODECOV_TOKEN }}"
fail_ci_if_error: true
26 changes: 0 additions & 26 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,3 @@ The ModelingToolkit.jl package is licensed under the MIT "Expat" License:
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
>
> SOFTWARE.
The code in `src/structural_transformation/bipartite_tearing/modia_tearing.jl`,
which is from the [Modia.jl](https://github.com/ModiaSim/Modia.jl) project, is
licensed as follows:

MIT License

Copyright (c) 2017-2018 ModiaSim developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading