Francesco Casella

Results 219 issues of Francesco Casella

After #13380 was closed, if-equations with multiple equations in the form var = are not considered as a single strong components, but rather split into individual equations with conditional expression,...

enhancement
COMP/OMC/New Backend

Please check the [SOFCPoliMi.Tests.OpenModelica.BenchmarkCammarata](https://libraries.openmodelica.org/branches/master/SOFCPoliMi/files/SOFCPoliMi_SOFCPoliMi.Tests.OpenModelica.BenchmarkCammarata.err) test model with the declarative debugger. OMC finds an initial-lambda0 huge strong component 17280 with 1474 equations and 261 iteration variables. If we run the same...

COMP/OMC/Backend

We need to upgrade the Dynawo library from MSL 3.2.3 to MSL 4.0.0. My understanding is that the number of necessary changes to the source code of Dynawo should be...

COMP/GUI/OMEdit
COMP/OMC/Interactive Environment

Please run the following MWE: ```modelica model TestSparsityScalar Real x; equation x + exp(x) = 0; annotation(__OpenModelica_simulationFlags(nls = "kinsol")); end TestSparsityScalar; ``` The simulation crashes with: ``` Process crashed Simulation...

COMP/SimRT/C

The \alpha and \Gamma indicators of the Newton Diagnostics algorithm require the computation of the Inf-norm (i.e., the largest absolute value of all its components) of the nonlinear residual r(x_0)....

COMP/SimRT/C

Please check [Dynawo.Examples.Wind.IEC.Neplan.WPP4ACurrentSource2015](https://libraries.openmodelica.org/branches/master/Dynawo_dev/files/Dynawo_dev_Dynawo.Examples.Wind.IEC.Neplan.WPP4ACurrentSource2015.err). The C compilation fails with ``` Dynawo_dev_Dynawo.Examples.Wind.IEC.Neplan.WPP4ACurrentSource2015_12jac.c:908:145: error: use of undeclared identifier 'wPP4ACurrentSource' jacobian->tmpVars[26] /* wPP4ACurrentSource.wT4ACurrentSource.control4A.qControl.limiter.u.$pDERNLSJac6.dummyVarNLSJac6 JACOBIAN_TMP_VAR */ = wPP4ACurrentSource._wT4ACurrentSource._control4A._qControl._switch._u.__omcQ_24pDERNLSJac6._dummyVarNLSJac6; ```

COMP/OMC/Codegen

The model `Buildings.ThermalZones.EnergyPlus_9_6_0.Examples.SmallOffice.Guideline36Winter` is a good candidate for testing, in particular if you change ``` StartTime=432000, StopTime=864000, ``` to ``` StartTime=0, StopTime=31536000, // 1 year ``` This uses the EnergyPlus...

As reported to me by @mscuttari. Consider the following MWE ```modelica model Test parameter Real x[10] = fill(5, 10); Real y[10]; equation y = x; end Test; ``` Flattening with...

COMP/OMC/Frontend

Please consider this MWE: ```modelica model TestFluid package Fluid = SOFCPoliMi.Media.MainClasses.SOS_CO2.SOS10ComponentsModelica; Fluid fluid(p_start = 1e5, T_start = 300); equation fluid.p = 1e5; fluid.T = 300; fluid.X = 0.1*ones(10); end TestFluid;...

COMP/OMC/Codegen

Follow-up of #12937. Jacobian generation in ScalableTestGrids tests does not generate the sparsity pattern. As a consequence, Type1_N_2_M_2, which has 10,000 equations, takes 0.16 to generate the Jacobian, while Type1_N_4_M_4,...

COMP/OMC/New Backend