rfranke
rfranke
See e.g. the use of this function in ModelicaTest.Math.TestMatrices3. This proposes a solution for issue #3849.
MSL 4.0.0 and trunk contain the example `Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample` and document the expected result with a screenshot from Dymola. According to this, the variable `rotational_clock_2.direction` should get the value 1 at...
The function `ModelicaTest.Math.Matrices3` contains ``` import Modelica.Math.Matrices; Real N[:,:]= fill(0,0,0); Real Xn[0,0]; Integer n; algorithm (Xn, n) := Matrices.nullSpace(N); ``` `Modelica.Math.Matrices.nullSpace` calculates: ``` Real sigma[min(size(N, 1), size(N, 2))] "Singular values";...
The Modelica spec 3.5 finally added const qualifiers for the mapping of array inputs to external C functions -- see [3.5](https://specification.modelica.org/maint/3.5/functions.html#arrays-1) vs [3.4](https://specification.modelica.org/maint/3.4/Ch12.html#arrays-1) ModelicaStandardTables should follow the standard to not...
Working on a [parser for the Modelica language](http://github.com/omuses/moijs), Jison eventually required the `-p lr` option to avoid reduce/reduce conflicts. The same parser rules work with Bison and PLY though. Here...
First of all: thank you for the great software and comprehensive documentation! The compilation of the current `dev` branch was straightforward under Linux Ubuntu 18.04. I just ran the documented...
A couple of PowerSystems examples fail with this message. I just discovered that the `PumpingSystem` example is suffering from the same bug in MSL 3.2.3. Interestingly it works in `OpenModelica/testsuite/simulation/libraries/msl32`....
### Description The new frontend preserves the reductions in the below example. The code generation does not seem to support this though, omitting some zero crossings and leading to a...