Group Abstract Group Abstract

Message Boards Message Boards

System Modeler User Conference 2026

We've just added a new YouTube playlist featuring presentations from the System Modeler User Conference! This collection brings together all talks from industry experts as they dive into the intersection of Wolfram System Modeler, Modelica, and FMI-based workflows.

Start watching now on the Wolfram R&D YouTube channel!

enter image description here

POSTED BY: Keren Garcia
7 Replies

Thanks for reporting this, and I’m glad to hear you found the User Conference helpful!

I’ve attached an updated WSMExercises file. The error you encountered is caused by changes in the most recent version of the built-in libraries, which modified some component paths. As a result, a few references in the original exercise models no longer resolve correctly. We’re in the process of updating the exercise materials to fix these changes.

In the meantime, you can use the updated WSMExercises package that I have attached.

Please let me know if you run into any additional issues, or if anything else seems unclear.

Attachments:
POSTED BY: Ankit Naik

Ankit, Thanks for the quick reply! Your assessment of the problem is exactly what I suspected. I will try out the new exercises and let you know if there are any remaining issues. One more thing, though. It was actually a good thing that I had a few issues like this. It prompted me to do some really deep dives into the libraries of components, to look at the model from different viewpoints, and generally become more familiar with the tool. In other words, it was a good learning experience! Cheers, Mike

POSTED BY: Michael Ulrey

Ankit, Thanks for the new download of WSMExercises. That solved my original problem, but some others came up. I have a list of three issues below. And of course, feel free to pass one or more of these on to others. I don't want to burden you with my trivial learning curve stumbles!

  1. I downloaded the WSMExercises that you attached. That worked OK, But when I opened the exercises package, the following error message was generated: [1] 7:30 PM Unresolved dependency in WSMExercises WSMExercises has a declared dependency on MSL version 4.0.0. No version of MSL is currently loaded.
  2. Nevertheless, I was able to continue, and just to see how far I could get, I went through the steps to create and simulate Ex 1, with the two heat capacitors and the one body radiation element. It seemed to work fine, except then when I clicked Simulate, I got the following error message (note I was very careful to initialize all of the heat capacitor, body radiation, and simulation parameters as instructed)” Building "Model1" as experiment "Model1 1" started at 16:52:23 Notification: The initialization problem is underdetermined, the following variables were chosen to be initialized from their start values: heatCapacitor2.T, heatCapacitor1.T Build finished at 16:52:30 (took 00:07).
  3. This is a bonus question since it originates in my anti-virus software (Norton), not in Wolfram System Modeler. However, if there is anyone out there how uses WSM and Norton anti-virus, maybe you have experienced my problem and can help me out. The problem is this: When I click “Simulate” and WSM goes through the build of the simulation, it produces an executable file of the form sme.xxxxxxxxxxxx . Now Norton anti-virus flags this sme. File as “suspicious” and does a complete scan, which takes quite a while. Eventually it decides that the file is OK, but in the meantime an extra minute or so is consumed in building the simulation. It is not a killer, but it is very annoying. And of course, when I get beyond simple exercises to real projects, the time lag will be unacceptable. So are they’re any users out there who know the best thing to do? Supposedly I can declare an entire folder off-limits for Norton’s suspicions, but what if the executables go to another folder on occasion? (Desides, I tried this, and it didn’t seem to work.) Any hints are appreciated!!

POSTED BY: Michael Ulrey
  1. That is my fault, mixing up with "Modelica" and "MSL". You can ignore this.
  2. These notification messages are not errors, so you can still simulate and plot the results.

The reason you see them—even though you have specified initial values—is that those values are treated as guess values by the solver. They serve only as starting points, not as enforced conditions.

If you want to force the simulation to use a specific initial value, you need to set fixed = true, which instructs the solver to treat that value as fixed.

However, be cautious: forcing values can sometimes lead to unforeseen consequences. If the imposed values are inconsistent with the rest of the equation system, the solver may be unable to find a solution.enter image description here

POSTED BY: Ankit Naik
  1. Can you try the following?¨

a) Change the "Custom Temporary Directory" (Tools -> Options -> Global ->General) to a directory in your account (the default temporary directory that we use is sometimes considered extra dangerous by some antivirus software). Link here: https://reference.wolfram.com/system-modeler/UserGuide/SimulationCenterOptions.html#720972770

b) Make the antivirus "trust" that directory

POSTED BY: Ankit Naik

Ankit, Thank you for the tip on how to designate my own local temp directory and working directory. I created these and "Excluded" them both from scrutiny by Norton anti-virus software. And YEA!, no more annoying delays from unnecessary executable file examination. Thank you. Mike

POSTED BY: Michael Ulrey

I don't know if this is the right place to ask this question, so if it is not, please re-direct me. I attended the users' conference (very helpful and informative, by the way). However, I ran into a couple of snags when trying to do the exercises from the download materials. In particular, when I tried to simulate the Inverted Pendulum model, I get the error message Building "WSMExercises.Ex4.MyModels.InvertedPendulum" as experiment "InvertedPendulum 1" started at 19:40:14 Error: WSMExercises.Ex4.MyModels.InvertedPendulum [4:62-4:62] Invalid binding. Modelica.Mechanics.MultiBody.Forces.WorldForce does not have an element named Ntom.

I think this has something to do with the WorldForce icon being grayed out on the first pass (the notebook instructions say that "we will get to that later"), but being relatively new to SystemModeler, I can't be sure. Can anyone give me a hint? P.S. I would add a notebook, but I can't find where the models go when I click the Save icon. They do not appear in the same folder as the downloaded materials, neither do they appear where the program files reside. Maybe someone can give me a hint about that too.

POSTED BY: Michael Ulrey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard