Francesco Casella

Results 219 issues of Francesco Casella

Modelica state machines are still not supported by the NF. We should port the OF implementation to the NF.

COMP/OMC/Frontend

In order to fix #12916 (CMake failing on Windows because of too long pathnames), #13101 changed the default name of the FMU to a shorter hashed version. This is currently...

COMP/FMI

The testing of ExternData [under Linux](https://libraries.openmodelica.org/branches/master/ExternData/ExternData.html) is successful, except for [one example](https://libraries.openmodelica.org/branches/master/ExternData/files/ExternData_ExternData.Examples.XMLTestReadDim.err) that we should probably look into. If you run them under Windows, omc hangs indefinitely. We have a...

COMP/OMC/SimCode

The current implementation of the Newton Diagnostics only works if analytic Jacobians are available: https://github.com/OpenModelica/OpenModelica/blob/dffd48b921cd5f99e20322f0cf16e6932fdf83c3/OMCompiler/SimulationRuntime/c/simulation/solver/newton_diagnostics.c#L110-L118 In cases the analytic jacobian is not available, e.g. because there are functions involved, or...

COMP/SimRT/C

A recent paper by @bernhardbachmann and @casella ([DOI:10.1016/j.amc.2021.125991](https://doi.org/10.1016/j.amc.2021.125991), [DOI:10.48550/arXiv.1911.12433](https://doi.org/10.48550/arXiv.1911.12433)) proposes a diagnostic method to figure out which individual initial guess values are more likely to be causing the convergence failure...

enhancement

As shown in the User's Guide, there are currently two documented __OpenModelica annotations: ```modelica annotation(__OpenModelica_simulationFlags(s = "heun", cpu = "()")); annotation(__OpenModelica_commandLineOptions = "--matchingAlgorithm=BFSB --indexReductionMethod=dynamicStateSelection"); ``` When using autocompletion for the...

COMP/GUI/OMEdit

Please check [SOFCPoliMi.Tests.BenchmarkCammarata](https://libraries.openmodelica.org/branches/newInst-newBackend/SOFCPoliMi/files/SOFCPoliMi_SOFCPoliMi.Tests.BenchmarkCammarata.err). The NB fails with ``` Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(10) {stack.module[$i1].pen.D.pCathode}, does not fit the equation size 100. Error: Internal...

COMP/OMC/New Backend

I am trying to get the SOFCPoliMi.Tests.BenchmarkCammarataIndex1 model to work in the NB. Unfortunately, without tearing there is absolutely no chance that the initialization problem can be solved. The good...

COMP/OMC/New Backend

The NB currently only implement minimal tearing to handle discrete variables. We should also port the OB tearing algorithm into the NB (and possibly do more than that)

The following snapshot shows how I am seeing OMEdit's windows on my PC at the moment. ![Image](https://github.com/user-attachments/assets/e9c2213e-c44c-44fd-aba2-2777a79f9ae2) My PC is a Lenovo Carbon X1 6-th generation with a 13" LCD...

COMP/GUI/OMEdit