Individual skill

minimize-modelica-bug

Reduce a Modelica model that triggers a System Modeler compiler failure (an internal error, generated code that fails to compile, a simulator internal error or a kernel crash) to the smallest model that still fails the same way, and prepare a bug report for Wolfram support. Use this skill whenever the launcher prints a `=== compiler failure ===` block or reports a `compiler_failure`, or the user mentions an 'internal error', 'Fatal failure', 'the compiler crashed', 'generated code failed to compile', 'report this bug to Wolfram', 'make a minimal example' or 'reduce this model for a bug report'. It applies just as much when the failure turns up mid-task in a model you wrote yourself: a compiler failure is a fault in System Modeler, not something to work around silently.

minimize-modelica-bug/SKILL.md

Read pinned source

Source commit af6615a05ab455d4fb85b45f29343835f61a08c7

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 7, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
20
Repository last updated
Nov 6, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Minimize a Modelica Compiler Bug

A *compiler failure* is a fault in System Modeler itself rather than in the
model. Examples are an `Internal error`, generated code that does not compile,
and a simulator that stops with an internal error. This skill shrinks the
failing model to the smallest one that still fails with the same message, and
writes a short report the user can send to Wolfram support. A small
reproduction gets a bug fixed; a 5,000-line proprietary model usually does not.

Ordinary model errors are not compiler failures: type, lookup and balance errors,
failed assertions, or a solver giving up. Fix those in the model instead, using
`validate-modelica` or `diagnose-modelica`.

## Before you run anything