ModelingToolkit v11.47.0
Merged pull requests:
- ci: revert the env: blocks that invalidated Tests.yml and SublibraryCI.yml (#4873) (@ChrisRackauckas-Claude)
- feat: resolve symbolic loop-opening op values from the solution (#4894) (@baggepinnen)
- fix: don't leak the operating point into unbounded nonlinear bounds (#4902) (@ChrisRackauckas-Claude)
- Avoid piracy in jump dependency traversal (#4907) (@ChrisRackauckas-Claude)
- Support Symbolic Struct handling in mtkcompile and solve calls (#5008) (@Shreyas-Ekanathan)
- Add SciMLLogging support to MTK (#5014) (@jClugstor)
- test: cover equivalent scalar DAE residual Jacobians (#5142) (@ChrisRackauckas-Claude)
- Add
linearize_hybridfor partition-wise linearization of clocked systems (#5173) (@baggepinnen) - Reject multi-block time-dependent SCCNonlinearProblem with a clear error (#5182) (@ChrisRackauckas-Claude)
- Array constraints: dims beyond ndims in the dims workaround; NoAD laziness test (#5195) (@ChrisRackauckas-Claude)
- Make AutoDespecialize initialization data model-independent (#5221) (@ChrisRackauckas-Claude)
- Zero array-element derivatives in NonlinearSystem conversion (facet A of #5066) (#5240) (@ChrisRackauckas-Claude)
- Reject wrong-shape parameter bindings at System construction (#5262) (@ChrisRackauckas-Claude)
- Hold signals disconnected by loop openings at their loop-closed values (#5265) (@baggepinnen)
- Write one-element slice equations without scalar indexing in DAE residuals (#5274) (@xtalax)
- Document local QA setup and reduced-test loading context (#5300) (@ChrisRackauckas-Claude)
- Fix Initial parameters for unsplit array systems (#5302) (@ChrisRackauckas-Claude)
- Keep custom-function array caches outside parameter buffers (#5304) (@ChrisRackauckas-Claude)
- Fix LTS benchmarks with per-revision local sublibrary sources (#5305) (@ChrisRackauckas-Claude)
- Chunk large in-place RHS functions in build_function_wrapper to keep first-call compile near linear (#5308) (@xtalax-droid)
- Skip O(length) sentinel scans over constant numeric array values (#5312) (@xtalax-droid)
- Read each vertex's isouter when interpreting an Equality cset causally (#5317) (@pankgeorg)
- Fully specialized linearization functions (specialize = FullSpecialize) (#5320) (@pankgeorg)
- Infer the reconstruction of nonnumeric parameter buffers (#5322) (@pankgeorg)
- Resolve symbolic array operating points in linear time (#5327) (@xtalax-droid)
- Fall back to BigInt Bareiss in alias elimination when the Int factorization overflows (#5332) (@xtalax-droid)
- Fix master's Runic format check: format src/linearization.jl (greens the check for all open PRs) (#5333) (@xtalax-droid)
- test: restore causal-direction contract for causal connection equations (#5335) (@ChrisRackauckas-Claude)
- Apply Runic formatter (mechanical) (#5338) (@ChrisRackauckas-Claude)
- Hold signals disconnected by loop openings at their loop-closed values (#5339) (@baggepinnen)
- test: pass
use_literal_pow = falseto Ipopt solves (#5341) (@AayushSabharwal) - Index non-tunable parameter buffers without dynamic dispatch (#5342) (@Drvi)
- Fix per-System task-local caches leaking in
task_local_storage(#5343) (@AayushSabharwal) - Bind arrays indexed by a symbolic index in generated code (#5345) (@ramlakhanmadheshiya)
- Keep MTKParameters buffer types in FullSpecialize initializeprobpmap (#5346) (@pankgeorg)
- Support loop openings at analysis points on array-valued connections (#5349) (@baggepinnen)
- Do not tear large linear blocks of stationary systems (#5352) (@xtalax-droid)
- Preserve contiguous array derivative views in implicit residual codegen (supersedes #5242) (#5353) (@xtalax-droid)
- Give
add_diffcachebuffers no cotangent through theMTKParametersconstructor (#5354) (@AJ0070) - refactor: avoid caching cheap inputs in
split_indexed_var(#5355) (@AayushSabharwal) - Track source information for initialization equations (#5356) (@kpamnany)
- Raise an informative error for element-wise
missingarray parameter values (#5357) (@baggepinnen) - Reject an analysis point used both as input and output of a linearization (#5358) (@baggepinnen)
- Apply
loop_openingswhen linearizing between variables (#5359) (@baggepinnen) - Fix
BifurcationKit Extensiontest failure (#5360) (@kpamnany) - Merge pull request #1 from SciML/master (#5361) (@bobby404-K)
- Accept operating points that give some elements of an array variable in
linearize(#5363) (@baggepinnen) - Keep the types of nonnumeric and cache buffers through
SciMLStructures.replace(#5365) (@AJ0070) - build: bump MTKBase minor version (#5366) (@AayushSabharwal)
- Scalarize Record Equations (#5372) (@Shreyas-Ekanathan)
- Pass code-generation options of a problem to its event code (#5376) (@ramlakhanmadheshiya)
- fix: copy
ReinterpretArraybuffers inreplaceforMTKParameters(#5377) (@SebastianM-C) - Zero-initialize SCC cache buffers (#5379) (@SebastianM-C)
- Export poissonians, like brownians and jumps (#5390) (@isaacsas)
- QA: ignore non-public expand_record_equations access (#5399) (@bobby404-K)
- fix: include
reinitializealgin the hash of symbolic events (#5400) (@SebastianM-C) - Do not make non-floating point inputs solvable parameters (#5402) (@baggepinnen)
- Convert operating point values to declared integer types and do not make
Float64guesses for integer type variables (#5407) (@kpamnany) - Preserve array derivative zero shapes in NonlinearSystem conversion (#5408) (@asinghvi17)
- Support sparsity tracers in assertion residuals (#5409) (@asinghvi17)
- build: bump MTKBase minor, MTK minor, MTKBase compat (#5410) (@AayushSabharwal)
- Size inverse matching by equations in large_linear_sccs (#5412) (@asinghvi17)
- Keep an integer
u0whenremakefills in unknowns from float defaults (#5414) (@isaacsas) - Name
missing-valued parameters in underdetermined initialization errors (#5422) (@bobby404-K) - docs: document ZeroCrossing callbacks (#5423) (@wozhenbang2004)
- Allow nonnumerics to take shift indexes (#5424) (@BenChung)
- Make
getpoissonianrateandtopoissonianpublic (#5426) (@isaacsas) - Hotfix: reject array unknowns in
JumpProblem, which gave silently incorrect results (#5429) (@isaacsas) - Approve Symbolics derivative operator re-exports in QA (#5433) (@ChrisRackauckas-Claude)
- Use named tuple unpacking syntax (#5436) (@abhro)
Closed issues:
- Adding SciMLLogging Integration (#4357)
MTKParameterstype mismatch ininit_dae!when tunable buffer is aReinterpretArray(DiffCache + setsym parameter-estimation pattern) (#4530)- Preserve array derivatives in implicit DAE residual code generation (#5097)
- Emit MultiObjectiveOptimizationFunction for Systems with several costs (#5150)
- Linearizing a model that contains discrete callbacks (synchronous / clocked subsystems) (#5166)
- SCC solve of algebraic System with independent variable indexes parameter tuple out of bounds (#5174)
- Initialization fails for residual-form equations over array slices (Differential(t) with independent variable nothing) (#5188)
- A binding whose value has the wrong shape for its array parameter fails late, with an error that does not name the parameter (#5259)
- Equality connection sets interpreted causally depend on connect argument order (#5318)
- Rebuilding nonnumeric parameter buffers during initialization is not inferred (#5321)
- format-check (Runic) is red on master: formatter drift on ~200 files (#5337)
UndefVarErrorin the generated right-hand side when an array unknown is indexed by a parameter (#5340)- Follow-ups from review of #5342: shorten comments in parameter buffer indexing (#5347)
- Code-generation options passed to
ODEProblem(e.g.sort_addmul) do not reach the functions generated for symbolic events (#5370) poissoniansis not public, unlikebrowniansandjumps(#5389)- QA: all_qualified_accesses_are_public fails on master for expand_record_equations (#5393)
- Underdetermined initialization names D(x) instead of the parameter without a value (#5405)
- Default stationary tearing can index past the inverse matching (#5411)
- QA fails on unapproved public reexports of Symbolics vector derivative operators (#5432)