DEP — DEVlink Engineering PlatformUser Guide

Running MIL and SIL

This chapter explains what happens when you press Run: how logical time advances, how a session moves between running, paused and stopped, how to watch values live, and where the results are stored. The same controls run the System with its models (MIL) or with its compiled software (SIL).

Before you start

RequirementWhat you need
EditionDEP Engineer or higher for MIL runs (runtime.mil.execute); DEP Integrator for SIL runs (runtime.sil.execute). See Licensing and Editions.
SystemA saved System that passes Check for the profile you run (see System Engineering).
ExecutionNo other execution owner active (see below).

How logical time works:

  • The System advances in ticks. A tick is the base step, typically 10 ms. Components can update every tick or every n-th tick (Timing → Update every (ms)).
  • Ticks per run (1–1000) sets the batch size. Run executes one batch as fast as possible and then pauses. 100 ticks at 10 ms is 1 s of logical time.
  • Within a tick, components run in the order shown by Check, and connected values are exchanged in that order. The result is deterministic: the same saved System and inputs give the same samples.
  • Logical time is not wall-clock time. A run can be faster or slower than real time, depending on the models and your PC.

Steps

Run from System Engineering

  1. Choose the profileSelect MIL or SIL above the canvas.
  2. CheckSelect Check and fix any finding.
  3. RunSet Ticks per run and select Run. The Execute bar changes to Continue, Step, Reset, Stop, and Reset & release session appears.
  4. ObserveUse Live debug during the run and Results afterwards.
  5. FinishStop ends execution but keeps the session's results. Reset & release session stops and releases the session so you can edit again.
ButtonEffect
Run / ContinueChecks (first time) and runs one batch. Continue runs the next batch in the same session.
StepAdvances exactly one tick and pauses.
Run to completionShown only for projects that define a completion output, for example a charge target. Runs until it is reached.
Cancel runInterrupts a batch in progress. Committed ticks are kept.
ResetReturns the models to their initial state and starts a new segment in the same session. The local trace is cleared, so export first if you need it.
StopStops the session. Results remain available.
Reset & release sessionStops and releases the session so you can edit structure and values.

A session moves between these states:

Execution session states: not started, running, paused, stopped and released, with the buttons that move between them No sessionvalues editable Runningbatch of N ticks Pausedsession kept Stoppedresults retained Faultedsee Diagnostics Run batch completes Continue / Step Stop Reset & release session error Ticks per run: 1–1000. Step advances one tick. A completed batch leaves the session paused. Edit component values only without a session. Stop in the top bar or run bar is a software stop, never an emergency stop.
A session and the buttons that move it between states.
StateHow you get thereWhat you can do
No sessionNew project, or after Reset & release sessionEdit structure and values. Check, Run.
RunningRun or ContinueWatch. Cancel run or Stop.
PausedA batch completed, or StepContinue (next batch from the same state), Step (one tick), Results, Stop, Reset.
StoppedStopResults are kept. Release the session to edit, or start a new run.
FaultedA component or software process failedRead Diagnostics, then Stop and Reset.

The top bar always shows the state, for example MIL · Running · 72.20 s, MIL · paused · 1.00 s or MIL · stopped · 271.00 s. This run banner updates as soon as a run, step, reset or stop finishes. Its Stop button requests a controlled stop of the System session.

The engineering step bar

Above every workspace except the Overview, a step bar leads you through a System: 1 Configure → 2 Check → 3 Run → 4 Diagnose → 5 Verify. The highlighted step is the suggested next one, and a guidance line explains why, for example Saved System check passed. Choose run controls; numerical verification is separate. Next to the steps you see the active profile.

StepWhat selecting it does
ConfigureOpens System Engineering to add components, assign implementations or fix an affected component.
CheckChecks the saved System (Check saved System). Issues are listed under Issues (n), each with Open affected configuration.
RunOpens the run controls of the active session.
DiagnoseOpens Live debug and Diagnostics, for example after a session faulted.
VerifyOpens scenarios and evidence. Execution alone is not verification.

Run controls, run status and recorded executions follow the active session, wherever you open them.

Watch values with Live debug

Live debug opens the Live Session Debug panel. It shows the progress of the current batch (100 / 100 committed ticks) and a table of recent samples: source, logical time, signal, value and unit.

Live Session Debug during a charging run.
Live Session Debug during a charging run.
  • Filter signals narrows the table.
  • Freeze display stops the table from updating while you read it. Execution continues.
  • Export displayed evidence saves what is shown as DEP-live-debug.json.

Run from the Execution Center

Runs → Execution & HIL shows the same session from an operator's point of view, independent of the canvas.

Execution Center: profile, execution host, session state, physical outputs, run controls, progress and the readiness and evidence panels.
Execution Center: profile, execution host, session state, physical outputs, run controls, progress and the readiness and evidence panels.
  • Cards: Profile, Execution (Local host), Session, Physical outputs (Unavailable in local execution).
  • Controls: Check readiness, Ticks per run, Run, Step, Stop session, Reset state.
  • Progress: Logical time, Total ticks, Observation (the wall-clock time of the last update).
  • Shortcuts: System configuration, Operator HMI, Results, Diagnostics, Networks, Refresh status, Show live samples.
  • Execution Readiness: the latest readiness result.
  • Execution Evidence: the runtime records saved for this session. No records does not establish healthy execution.

The Activity selector of this workspace also offers Target inspection, Signals and events, Software execution (start, restart and stop software processes and verify their SHA-256), Saved evidence, Reference example and Diagnostics (the Diagnostics Center).

One execution owner at a time

Only one part of DEP may drive execution at any moment: a System session, a restbus acquisition, a scenario campaign, an HMI-started run or a HIL deployment. Stop the current owner where it was started:

  • The status chip in the top bar always shows the current System session.
  • Restbus acquisition is stopped with Pause in Networks & restbus → Traffic / Streaming.
  • Software processes are stopped in Runs → Execution & HIL → Software execution or with Stop application in Component Properties.
  • HIL deployments are stopped in Runs → HIL runtime.

Results

Results opens Run results: choose a run (Run 1 · paused · 100 ticks) to see its status, completed ticks, logical time and every recorded output sample (segment, time, component/output, value with unit). Configuration and evidence identity shows exactly which revision and implementations produced the run. Bus traffic appears under Virtual bus communication.

Run results with every sample of the run.
Run results with every sample of the run.
  • Every session records its configuration identity, samples and frames in the project file.
  • Recent sessions are listed on the Overview under Recent System sessions.
  • For plots, comparisons and exports, use Results and Recordings. To judge behaviour against expected values, use Scenarios: execution alone is not verification.

Limits

  • One Run or Continue completes at most 1,000 ticks. For longer runs, select Continue repeatedly, use a scenario (up to 100,000 ticks per campaign), or use Coordinated SIL (up to 10,000 ticks per run, cancellable).
  • The default evidence budget is 2,000,000 rows or 512 MiB per project. Change it in Run options → Evidence storage limits. When the budget is reached, recording stops with DEP-EVIDENCE-LIMIT; no samples are silently dropped.
  • Live debug samples at most twice per second. It is not a full-rate recorder, so use Results for every sample.
  • The Stop button is a software stop, not an emergency stop.
  • Local execution has no physical outputs (Unavailable in local execution).

Troubleshooting

SymptomUsually meansAction
Choose 1–1000 ticks. For a cancellable 10000-tick run, open Coordinated SIL / deployment.Ticks per run is above 1000.Enter 1–1000 and use Continue, a scenario or Coordinated SIL.
Another runtime owns execution. Stop it in its owning workspace… (DEP-RUN-OWNER)A second execution owner was started. Nothing changed.Stop the current owner in its workspace (list above), then start again.
Session is FaultedA component or software process failed.Read Diagnostics, then Stop and Reset.
DEP-EVIDENCE-LIMITThe evidence budget is used up.Raise it in Run options → Evidence storage limits.
The trace is empty after ResetReset clears the local trace.Export before you reset; recorded samples stay in Results.