Skip to content
Troubleshooting

Troubleshooting

Common symptoms, their causes, and what to do.

Symptoms sit under phase headings. Each symptom has a fixed anchor, such as troubleshooting.html#no-license-installed.

Phases:

Install and license

No license installed

Cause. A build with the license gate on needs an installed license. Without one, the landing page, the Monitor and the status bar show the line No license is installed. Every command except license prints it too. A build with the gate off reads no license file and opens without one.

Fix. Choose File, Install License. Paste the license block from your email, or choose the license file. From a terminal, run experimenter license install - < block.txt or pass the file path. experimenter license show prints the state the build now reads.

A license does not install

Cause. The install checks a license before it replaces the installed one, and gives one of three lines:

  • This license did not verify. It may be damaged or edited. The signature does not match.
  • The license file could not be read. The file is not a license.
  • The license block is incomplete. The text lacks its opening or closing marker line.

The installed license stays. The terminal prints The license file was not installed and exits with code 2.

Fix. Copy the whole block from your email again, from -----BEGIN EXPERIMENTER LICENSE----- to -----END EXPERIMENTER LICENSE-----. Do not edit it. If a fresh copy fails, ask the license contact for a new one.

A license needs a newer Experimenter

Cause. The license uses a format that this build does not know. The line reads This license needs a newer version of Experimenter.

Fix. Install a newer build, then install the license again.

An install keeps the old license because the new one ends sooner

Cause. The new license ends before the installed one. The app keeps the installed license and names both end dates. A beta license that has ended is not compared, so any valid replacement installs.

Fix. Install the license with the later end date, or keep the one you have.

Files open but Runs stay off after a license ends

Cause. A beta license is past its end. The app opens Experiments and results. The status bar reads Read-only: this license ended on <date>. Runs are off. experimenter run and bundle verify refuse for the same reason. Commands that only read or write files still work.

Fix. Choose Request Extension in the File menu, or write to the license contact. Then install the new license with File, Install License.

An annual license does not cover this build

Cause. An annual license covers builds released up to its term end. This build came later. The app reads This build was released on <date>. Your license covers builds released up to <date>. and opens nothing. Older builds keep working.

Fix. Write to experimenter@aeternitat.is about your license. A replacement license file goes into File, Install License. Or run a build released before the term end.

A license shows as withdrawn

Cause. The issuer withdrew the license. The app reads This license was withdrawn. and opens nothing.

Fix. Contact the license contact that the message names.

A warning says the license ends soon

Cause. A beta license is near its end. The app still opens and runs. An annual license shows a different note: the build keeps working, and the term sets which builds it covers.

Fix. For a beta license, choose Request Extension in the File menu before the date. For any license, write to experimenter@aeternitat.is. Then install the new license with File, Install License.

The GUI does not launch from the CLI

experimenter gui needs the GUI dependencies. The .app bundles them. If a source install exits with a dependency hint, install the gui extra of the package.

A launch refuses because no engine is found

Engine architect needs a Stella Architect binary. Engine experimenter needs the Python packages that ship with the app. When the engine is missing, the launch refuses and names what to install. The GUI shows the message in the Monitor and the status bar. The CLI prints it and exits 2. No other engine runs in its place.

Install Stella Architect or the Experimenter engine, then choose the engine. Use the default-engine control in the Settings window, which applies to a NEW document, or pass --engine architect or --engine experimenter. An open document keeps its own engine: key. Change it by hand, from the CLI, or from the Engine control of a Run or a group on the Run Tab. If Stella is not in the default location, set its path in the same Settings window.

Launch and run

A launch refuses because the Experiment has no saved file

Cause. A Run starts from the saved file. A new, untitled or edited Experiment has nothing current on disk. The state line reads Save the Experiment to run it.

Fix. Save the Experiment, then start the Run again.

A launch refuses because a detached run still writes the folder

Cause. experimenter run --detach started a run that has not finished. A second launch into the same output folder, or run --resume on it, would write over the first. The check also covers a folder above the output folder and folders up to two levels below it. The Monitor and the CLI use the same check, and the message names the folder that holds the marker.

Fix. Read the folder while the run goes on with the results command that --detach printed. Start the next launch after the run ends, or set another output folder. There is no cancel command. A run whose process died no longer blocks the folder.

A launch refuses because it cannot write batch.json

Cause. Each batch writes batch.json into its own folder before the first job. The file records the software versions the batch ran on. If the write fails, the launch refuses with the message could not write batch.json to <folder> and the cause. No job starts.

Fix. Make the folder writable, or choose another output folder. Then launch again.

A launch warns that the model changed

Cause. The model on disk differs from the one the previous batch recorded. The model gained, lost, or changed variables. The run starts anyway. A change to start, stop, dt, layout, or documentation gives no warning.

Fix. None, if you meant the edit. Expect the new Output.csv to differ from the old one for that reason. See Model changes between batches.

Run is refused because of an error somewhere else in the file

Experimenter validates the whole file before every run and prints every finding to the Log. Only some findings block your selection:

  • A per-Run error blocks only that Run.
  • A per-group error blocks that group and every Run inside it.
  • A file-level error (broken model path, broken payoff reference, broken sequence stage) blocks every Run and group: Experimenter cannot prove your selection is safe.
  • A missing file follows the same scoping: a missing Run data file blocks that Run, a missing model or dataset folder blocks the whole file. The check covers the model, every dataset folder, every Run data file, and every section a Sequence stage names.
  • The Sequence tab always runs the whole file, so any error blocks it.

An out-of-scope error still prints to the Log. Fix it before you rely on that Run or group. The CLI experimenter validate runs the same check and exits non-zero on a problem.

Every Run in the file is refused, and nothing obviously changed

The Experiment names an optimizer, payoff, or Sensitivity routine you later renamed or deleted in Stella. This is a file-level error, so it blocks every Run, not only the one that used the node.

Open the Optimization or Sensitivity tab: the stale row shows with its Name in bold, warn-colored text and a tooltip naming the problem. Remove it, or re-add a matching node in Stella and reopen the file.

A batch was interrupted

Fix. Run experimenter run --resume <folder> on the batch folder, or choose Run ▸ Resume interrupted batch… on the Run tab. Finished jobs stay and the rest run again from a fresh copy. The command refuses, and names the job, when the configuration or the model changed since the interruption. See the CLI.

A failed job left no folder to inspect

Take a Run with Retention set to Outputs only and Keep failed runs in full off. The setting is on the Output tab of the Settings window. Cleanup reduces the output tree to the renamed output-<config>.csv and batch.json. It deletes the folders of failed jobs too. The Monitor log and batch.json record the failure. To keep the model copy or native export of a failed job, turn on Keep failed runs in full. Then run again.

an Experimenter engine job failed and was not retried

Cause. an Experimenter engine job fails the same way on every attempt when the model or its settings cause the failure. Two examples are a name that cannot be mapped and an error while translating the model. Experimenter does not retry such a job, because a fresh copy would fail again. It still retries a failure that comes from the machine, such as a full disk or too little memory.

Fix. Read the reason in the Monitor Detail column. Fix the model or the setting it names, then run again. The retries count covers the other failures only. See Simulation Engines.

A run produced no output / “empty run”

Cause. Stella Architect 4.3.1 intermittently exited with success but no output. This is engine behavior, not your configuration. On Stella 4.4.1 build 4060, none of 194 measured headless launches did this.

Fix. None needed: Experimenter verifies every job by non-empty expected output and retries an empty one automatically, so a scripted experimenter run is safe to leave unattended. If a job fails across all retries, the Monitor reports the detail. Check that the model opens and runs in Stella Architect directly.

Inside a Sequence: Experimenter validates each stage’s Run or Optimization section before it runs. An invalid section fails the stage with its own validation messages in the Monitor log. Run that section alone to see the same errors.

Files and validation

An Experiment refuses to load

Cause. An override value has the wrong type: an optimizer or Sensitivity parameter bound, a payoff element weight or tolerance, or a Sensitivity values entry holds a list or mapping where one number or short text is required. Experimenter refuses the file before validation, naming the field, its value, and the expected type.

Fix. Open the file and replace the named field’s value with a single number or short text.

An unknown key stops an Experiment

Cause. The file holds a key that Experimenter does not know. Validation reports unknown key(s): <name> and names the Run, group, step, hook, or entry that holds it. The usual cause is a misspelling, such as retires for retries. Experimenter stops on the key, so a typo cannot pass unseen.

Fix. Correct the spelling or delete the key. The YAML Configuration Reference lists every key.

You moved the model folder

Every file reference resolves relative to the Experiment file, so moving the model or a data folder breaks references. Experimenter writes one [Error] line per broken reference to the tab Log when you open the file, and the same check refuses a launch. Each line names the repair:

Broken referenceFix
The model (model / modules_dir)If the Experiment file moved with the model, reopen it (File ▸ Open). If not, re-pick the model in Settings.
A dataset folderRe-add the folder in the Dataset pane.
A sequence memberRe-add the member from the Add picker.
A list file (scope: / output_variables:)Re-pick the file with the “…” button.
A data file or comparison CSVCorrect the path in the Experiment file.

Do not open the model alone in Stella, without its sibling files. A model folder holds companions the model reads: imported CSVs, list files, the comparison database. Opened without them, Stella disables every import it cannot find and clears the comparison bindings on the next save. Experimenter runs never hit this: each run copy carries the whole model folder. See the Optimization Tab for how a run copy is built.

My model file changed after I saved a configuration

Expected: Write changes to model file (on by default) writes a chosen set of optimizer, payoff, and Sensitivity routine settings into the Template on Save, because those settings describe the model, not one Run. Structure, equations, and data files stay untouched, and a job still executes on a throwaway copy.

The tab Log names every setting written. The first write to a model also creates a pristine backup beside it, <model>.stmx.pre-experimenter-backup. Turn the feature off in Experimenter → Settings…. See Write changes to model file.

Missing dataset files

Each dataset folder should hold its own copy of every input file the model imports, matched by file name. A missing file does not fail the run: Experimenter falls back to the base copy and flags it with a Monitor warning naming the file and dataset, plus a dataset_fallbacks entry on the job in batch.json.

If a dataset produces base-like results, check the Monitor log for these warnings: a mistyped file name is the usual cause.

Read-side resolution order. When the file’s configured path stays inside the dataset folder, Experimenter tries that exact path first, then the file’s basename at the folder root, then the configured base copy. A flat dataset folder that mirrors the model layout always resolves this way.

When the configured path instead climbs outside the dataset folder, for example a shared ../../Model/Historical.csv reference, the order flips: Experimenter tries the dataset’s own basename copy first, and the escaping path is the fallback. This is what stops a comparison: file written for one shared model folder from scoring every dataset against the same history. Export targets never use basename matching, so a same-named file in a dataset folder is never picked as a write destination.

Validate checks the same way and reports every path tried. Take a Dataset with no comparison file of its own. If the shared file lies outside its folder, Validate adds a warning. The warning names the Dataset, the missing file and the shared path. A Dataset with active: false gets no warning. See Create Datasets for Sequencing.

Stella and engines

A job fails after a Stella upgrade

Cause. A Stella version Experimenter has not tested can fail where a tested one runs. At launch, Experimenter prints this warning once if any Stella the launch uses is not in the support table. That covers the Stella of the file, of a Run, and of a Sequence stage:

Stella Architect (your version) has not been tested with this Experimenter. Tested versions: (the versions in the table). A Run may fail or differ from a tested version.

If Experimenter cannot read the version, the warning reads “Experimenter could not read the Stella Architect version.” The warning never refuses a Run. Supported Stella versions explains what tested means.

Fix. Check your version against that page. Run the model in Stella directly. If it fails there too, the cause is the model or the Stella install.

An Excel import hangs a job or does not apply

Cause. Stella opens an Excel import through Microsoft Excel. macOS asks a person to grant two permissions: Excel file access, and Excel automation. Validation warns, and never errors, when a Run enables an import that is an Excel workbook. An import counts as Excel when its type is Excel, or when it has no type and names a .xls, .xlsx or .xlsm file. A database import gets no warning.

Measured on Stella 4.4.1 build 4060:

Where the job startedGrantsResult
An SSH sessionNone, and no prompt can appearThe job hung when the workbook was outside the Excel container. It ended on the values in the model when the workbook was inside it
The desktop session, started from TerminalThe user gave both during the first jobThe first job timed out at 110 seconds. Three later jobs applied the .xlsx import in 20 to 32 seconds

The grants held for later launches. They belong to the app that starts Stella, which was Terminal in the measurement. The charge for a launch from Experimenter.app goes to Experimenter. Look for an Experimenter row in Privacy & Security, not a Stella row. Not measured: a .xls file and a workbook already open in Excel.

Fix. Choose Help ▸ Setup Assistant…, go to the Permissions step and click Ask macOS now. Answer each prompt. See The setup assistant. Excel asks again for a new workbook path, so one prompt can still appear on a new workbook. Or save the data as CSV, or disable the import. A CSV import needs no permission.

A Stella window pops up on every run

Expected. Experimenter launches real Stella Architect, which cannot run offscreen, so a window appears for the few seconds of each run and can briefly take focus. A sweep flashes one window per run. Results are not affected.

If Stella is already open when you start a run in the GUI, a dialog offers OK (you closed Stella yourself), Force Close Stella (Experimenter closes it, and unsaved Stella work is lost), or Cancel. The CLI shows no dialog: experimenter run prints one warning and continues without closing Stella. Run experimenter force-close to close a stuck instance from a script. A run alongside an open Stella flakes more often, so close Stella for the most reliable runs.

Stella “quit unexpectedly” pops up after a run

On macOS, Stella Architect 4.3.1 ended every simulate run with a crash after it wrote the output. The results were already saved. macOS would show a “quit unexpectedly” dialog per run. On Stella 4.4.1 build 4060, 143 of 143 measured simulate runs exited with code 0. Whether the dialog can still appear on 4.4.1 is not measured, so the hiding below stays on. Experimenter does not use the Stella exit code to judge a job. It checks the expected output.

Experimenter hides the dialog while it runs: it sets the macOS crash-report setting at launch and puts the prior value back on quit. experimenter run does the same for one CLI run, silencing at the start and restoring at the end, cleanly or not. The setting is global for the session: while Experimenter runs, macOS hides the crash dialog for every app. Running experimenter run while the Experimenter window is open does not turn the dialog back on early: the CLI leaves an already-silenced session alone and restores only what it silenced itself.

Turn this off from the Silence Stella GUI errors checkbox in Experimenter → Settings… (⌘,). The GUI and experimenter run both read that persisted preference. The environment variable EXPERIMENTER_NO_CRASH_SILENCE (any value) is a hard override for both.

“Reopen the crashed version?” prompt blocks a run

Each crash leaves an orphaned session folder in Stella’s support tree. On Stella 4.4.1 build 4060, a run that exits cleanly also leaves folders there: 98 after one clean run, against about 20 on 4.3.1. Built up, they sometimes trigger a modal “reopen the crashed version?” prompt at a later Stella launch, which waits for input and pauses the whole batch.

Experimenter keeps the session tree clean around each run: before a run, when no Stella is open, it clears leftovers. After the run, it removes only the folders that run created, never your own open session. In the GUI, the same Silence Stella GUI errors checkbox governs this cleanup. A CLI run never reads the checkbox: it consults only the environment. EXPERIMENTER_NO_SESSION_CLEANUP (any value) turns the cleanup off, GUI and CLI alike.

“The last time you opened Stella Architect, it unexpectedly quit” prompt

This is a macOS system dialog, not the Stella crash-recovery prompt above. macOS offers to reopen a crashed app’s windows the next time it launches. On Stella 4.3.1, a simulate run ended in a crash every time (see “Stella ‘quit unexpectedly’ pops up after a run”). A crashed or killed run on any version leaves the state behind, so the prompt can appear at the next Stella launch and block it until someone dismisses it.

On first launch, Experimenter sets the macOS ApplePersistenceIgnoreState preference for Stella Architect. This stops the prompt from appearing, and Experimenter logs the change. The Suppress Stella’s reopen-windows prompt checkbox in Experimenter → Settings… (⌘,) controls this, on by default. Turn it off to restore the default Stella reopen behavior.

Calibration and optimization

A calibration warns that it has no fit carrier

A fit carrier is one file set as BOTH an enabled import and an enabled export, whatever their own interval or behavior. A Set parameters import paired with a one-set-of-values export is the common case, not a requirement. Experimenter checks the pair on the run copy (the model’s own blocks with your data entries applied), so a model that already imports and exports its Parameters.csv needs no entries. The warning names the missing half:

WarningFix
Import present, no exportAdd an export of the same file.
Export present, no importAdd an import of the same file.
No carrier at allAdd both halves on one file.

The run proceeds after the warning, but the fitted values do not carry forward. Check that no data entry disabled a half. Two complete pairs is an error: keep exactly one.

A fit list names a variable that is not a parameter

For a List-scoped fit carrier:

  • A parameter the list omits is an error: Stella drops its fitted value at quit, so the job does not start. Add the parameter.
  • An extra name that is not a parameter is a warning, named per variable: Experimenter exports it without fitting it. Exporting a policy lever this way is fine.

An optimization job failed: the fit carrier was not rewritten

An optimization job succeeds only when the engine rewrites the fit carrier. Experimenter records the carrier before the job and fails a job whose carrier kept its old content, then retries.

Cause. Usually an export that never fired. A list-scoped export needs its variable-list .txt beside the model. Experimenter carries every top-level file of the model folder into the run copy (its own capture files and the model backup excluded), so a list file in that folder is present.

Fix. If the export still does not fire, open the model in Stella Architect, check the export block and its list file, and run the model once by hand.

An optimization job hangs at start: the initial step is too large

A Powell optimizer needs an initial step smaller than the scaled range of every parameter (max minus min, times scaling). Stella refuses a larger step at run start, which a headless run shows as a hang until the watchdog times it out. Experimenter warns before the run, naming the optimizer and parameter, and does not block. Raise the parameter’s scaling or lower the initial step.

An optimization job failed: reading the evidence

The Monitor’s Detail column and the Log show the optimizer log’s own evidence. Three states:

EvidenceMeaningWhat to do
A warning line, word for wordThe optimizer wrote a warning (for example a diverging variable).Fix the cause it names. Re-run.
optimizer log ends without finishingThe fit stopped part way, most often a mid-fit crash. Experimenter shows the last completed pass when it records one.Re-run. If it repeats, run the optimization in Stella Architect to see where it breaks.
no optimizer log was writtenThe run never got as far as optimizing.Check the model opens and its optimization runs in Stella Architect.

The raw log stays in the run folder (<model>_optimizer_log.html, with attempt-suffixed copies per retry) unless Retention is Outputs only. Open it in a browser for the pass-by-pass trajectory.

A calibration Run is refused: a payoff element names no saved run

A Calibration payoff element scores model output against a saved run and must name it. Experimenter refuses a Run whose elements name no run in either the configuration or the model, and the message names those elements.

You do not have to set comparison_run:. Absent, Experimenter uses the model’s own per-element or per-payoff choice, exactly as the model opens in Stella. Set it only to point every element at one saved run.

Fix. Add comparison_run: to the calibration or the payoff override, or name the saved run in the model itself and re-open it.

With no comparison CSV, the payoffs score whatever the model results database already holds, unless the model’s bound run turns out to be missing or unusable there: Experimenter then refuses the Run rather than score against nothing or the wrong data (see the next entry below).

Related warnings that do not block:

  • Several distinct runs, one CSV. One CSV cannot serve several runs, so Experimenter keeps the model’s saved runs, ignores the CSV, and warns, naming the runs. Set an explicit comparison_run: if you meant one.
  • A comparison on an Outcome optimize Run. An Outcome payoff scores the own model result and needs no comparison run. Experimenter ignores comparison_run:, payoff_comparison_runs: and a role: comparison data entry on that Run, and warns once. Remove the entry, or use a Calibration payoff if you want the fit scored against data.
  • CSV columns that match no model variable. Experimenter writes the matching columns, skips the rest, and warns once, recording the skipped names in <CSV-name>-unmatched-columns.txt beside the database in the run copy.
  • A payoff element with no CSV column. Experimenter warns, naming the element and the file. Check the column header against the element’s compare name.

A calibration is suddenly refused, or fits nothing, with no configuration change

Symptom. An optimization that ran cleanly yesterday is now refused with a comparison error, and nothing in the configuration changed. On an older build, the same state runs but fits nothing instead of being refused.

Cause. Deleting the isdb sidecar, or deleting the saved runs inside it, then opening the model in Stella. Stella cannot resolve the saved run its payoff names, so it clears the binding when it saves the model. The model file changes without Experimenter touching it, so no Experimenter backup covers this (Experimenter only backs up a model file it writes itself, see “My model file changed after I saved a configuration” above).

Deleting saved runs is usually an attempt at a clean isdb before a fresh calibration. It is not needed. Every job already executes on its own fresh copy of the model folder, never the Template itself, so nothing an earlier run leaves behind reaches the next one. And whenever comparison_run: is set, or an inherited binding has a comparison CSV, Experimenter writes that bound run’s data into the run copy’s isdb from the CSV at the start of every scope, so the run scores against the CSV, not whatever the isdb happened to already hold.

An empty isdb is not a state you will find on disk: Stella deletes an isdb holding no saved runs when it closes the model. A genuinely clean isdb holds exactly one saved run, the comparison run.

Fix. Two repairs:

  • Rebind the payoff elements to a saved run in Stella, then save.
  • Set comparison_run: in the Experiment. This is the durable repair: it survives Stella clearing the binding again, because Experimenter then writes the comparison run itself at every run instead of relying on the model’s own binding.

An arrayed comparison column lands in the unmatched list

An arrayed column names module, variable, and element together (Demographics.Population[1]). Experimenter splits the header on the first ., then on [, and resolves each part against the database tables in the run copy. Any part that fails puts the whole column in <CSV-name>-unmatched-columns.txt:

  • Module mismatch. Check the spelling against the module name Stella shows, not the file name.
  • Element mismatch. Check the label inside [ ] against the element name Stella shows for that dimension.
  • No module or array tables in the database. Experimenter then matches the full header text alone, which an arrayed header cannot satisfy.

Experimenter never shortens an arrayed name to its base variable: a written name keeps its [element] suffix. See Arrayed variable.

Optimization reports a missing array element

Experimenter checks a List-scoped fit carrier element by element. A list that names Capital[Sector1] while the parameter also covers Capital[Sector2] gets the missing element reported, because Stella would drop its fitted value at quit.

  • Complete the list, adding every concrete element, or
  • use a <parameter_values/> carrier instead. The Parameters export carries every element in one file, needs no list, and is exempt from this check. It is the recommended fit carrier for an arrayed model.

An element whose dimension is unknown to the index degrades to a warning on the base name, so a partial-dimension model never fails a valid configuration.

A live check confirms Stella reads a concrete subscripted name back from a variable-list export file and expands a [*] slice to every element. A partial slice such as [1, *] is unverified. Experimenter still warns and skips a database comparison column that carries a bracketed wildcard or slice, without expanding it.

A chained optimization group re-fits the same parameter

When two or more Runs in a chained group calibrate one parameter, later Runs re-fit what earlier Runs set. Experimenter warns, naming the parameter and the Runs, and never blocks: a deliberate re-fit is valid.

Sequences

A sequence did not carry the calibration forward

A calibrate → simulate sequence runs, but the simulation uses the resting model parameters. Carry-forward needs two things, not only one:

  1. Nest the simulation member one level under the calibration member (Indent it, or set level: 1 by hand) so the calibration ENCLOSES it.
  2. The calibration member must resolve to exactly one model. Reference a single Run, or a Group whose Runs have Chain ticked on the Optimization tab.

Experimenter then builds the simulation’s model copy from the calibration’s folder. See The outline.

A Sequence finished, but some stages failed

A failed stage no longer halts the lane. Experimenter skips the stages nested under it, and every other branch keeps running. A lane can end with some stages failed and the rest fine. To read it:

  1. Go to the end of the Log in the Monitor. The last line is an [Error] summary: N failed, M skipped, of K active stages. It is the one line that stays on screen after later work scrolls the rest away.
  2. Find the [Error] line for each failed stage. It names the stage and the reason. Fix the failure there.
  3. Find the [Warn] lines. Each one names a skipped stage and the ancestor that left no folder to continue from. These stages are not at fault. They ran nothing, and they run again after the ancestor works.
  4. Check the sibling stages. A sibling of a failed stage, and any stage on another branch, ran normally. Its output is valid.

A dataset reads failed when any of its stages failed. Output from the stages that finished stays in the output folder. A Script with continue_on_error that fails writes no [Error] line and does not fail the dataset. See A failed member and a refused member.

Results

Results did not change between runs

  • Confirm the run that should differ carries a provided data: entry (a path-bearing file), not a configure-only entry (see Imports & Exports).
  • For a dataset sweep, confirm each dataset folder holds its own input files with the right basenames (see above).