Francesco Casella

Results 219 issues of Francesco Casella

In #3867 there was a discussion about whether ModelicaUtilities.h in the MSL was meant to be tool-specific, which ended up in the removal of that file from the MSL. If...

While analyzing possible regressions from MSL 4.0.0 to 4.1.0 in OpenModelica, we found issues with several Spice3 model: ``` Modelica.Electrical.Spice3.Examples.Inverter Modelica.Electrical.Spice3.Examples.FourInverters Modelica.Electrical.Spice3.Examples.InvertersApartRecord Modelica.Electrical.Spice3.Examples.InvertersExtendedModel Modelica.Electrical.Spice3.Examples.Nor Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder ``` all failing at the...

L: Electrical.Spice3
V: 4.1.0-dev

Modelica.Fluid.Sensors.BaseClasses.PartialFlowSensor currently contains these equations: https://github.com/modelica/ModelicaStandardLibrary/blob/ea28ae3e29bf0ed9c68189100292a0001151143e/Modelica/Fluid/Sensors.mo#L828-L835 In fact, it makes no sense to compute the inStream() quantities at port_a if allowFlowReversal = false, because they will never be used. In...

L: Fluid

[Section 3.7](https://specification.modelica.org/maint/3.6/operators-and-expressions.html#built-in-intrinsic-operators-with-function-syntax) is entitled "Built-in Intrinsic Operators with Function Syntax", but it actually describes both built-in operators and built-in functions, so the title could probably be made more accurate as...

Discussions about suggesting tearing variables in Modelica models have been carried out in the community around the late 2000's, in particular within the Modelica.Fluid group. Unfortunately, no consensus materialized back...

I am checking the regressions between [Modelica 4.0.0](https://libraries.openmodelica.org/branches/master/Modelica_4.0.0/Modelica_4.0.0.html) and [Modelica 4.1.0](https://libraries.openmodelica.org/branches/master/Modelica_4.1.0-beta.om/Modelica_4.1.0-beta.om.html). At the moment there are 7 regressions, of which 6 are in the Spice library: ``` Modelica.Electrical.Spice3.Examples.Inverter Modelica.Electrical.Spice3.Examples.FourInverters Modelica.Electrical.Spice3.Examples.InvertersApartRecord...

COMP/OMC/Frontend

Please check [Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable](https://libraries.openmodelica.org/branches/master/Buildings_latest/files/Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EquipmentEnable.sim) When running on the CI, the runtime just crashes after a few milliseconds without any error message reported on the simulation log. The compilation log contains these...

COMP/SimRT/C
regression

@adeas31 reports that this model ```modelica model Test Modelica.Blocks.Sources.Sine sine(f = 10, amplitude = 1) annotation( Placement(transformation(origin = {-68, 6}, extent = {{-10, -10}, {10, 10}}))); Modelica.Blocks.Math.RealFFT realFFT(f_max = 50,...

COMP/OMC/Backend

Please check ScalableTestGrids_NB_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1 with the new backend and -d=mergeComponents, see [report](https://libraries.openmodelica.org/branches/heavy_tests/ScalableTestGrids_NB_SymbolicJacobian/files/ScalableTestGrids_NB_SymbolicJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.err). The frontend first complains that ``` [OMCompiler/Compiler/NFFrontEnd/NFExpression.mo:2283:11-2283:118:writable] Error: Internal error NFExpression.toAbsyn got unknown expression '({true, true})[]' [OMCompiler/Compiler/NFFrontEnd/NFExpression.mo:2283:11-2283:118:writable] Error: Internal...

COMP/OMC/Frontend

Consider the following MWE ``` model M Real x, y; equation x = 3; end M; ``` If I check the model, I get ``` [1] 11:31:10 Scripting Notification Check...

COMP/GUI/OMEdit