The model has the same number of unknowns and equations: 306
Check of <a href="Modelica://Modelica.Electrical.Analog.Examples.GenerationOfFMUs">Modelica.Electrical.Analog.Examples.GenerationOfFMUs</a> successful.
| MAP LIB Reference Results | |
|---|---|
| Testrun ID | MAP-LIB_ReferenceResults |
| Simulator | Dymola |
| Status | PASS |
| Run time | N/A |
| Workdir | D:/MSL_Nightly/Repos/MAP-LIB_ReferenceResults/Modelica/Electrical/Analog/Examples/GenerationOfFMUs |
| MAP LIB Reference Results | |
|---|---|
| Status | PASS |
| Task runtime | N/A |
| Warnings | None |
| Errors | None |
| Open log  |
| MAP LIB Reference Results | |
|---|---|
| Status | PASS |
| Task runtime | N/A |
| Warnings | None |
| Errors | None |
| Open log  | |
| Numerical Jacobians | 0 |
| Continuous time states | 6 |
| Number NL equation systems | 0 |
| Largest NL equation system | 0 |
| MAP LIB Reference Results | |
|---|---|
| Status | PASS |
| Task runtime | N/A |
| Simulation time | 1.00 s |
| Copy result file path  | |
| Open log  | |
| Time Events | 0 |
| State Events | 0 |
| Jacobian evaluations | 16 |
| Integrator Steps | 178 |
| Total CPU time | 0.03 s |
| CPU time Integration | 0.03 s |
| CPU time Initialization | 0.00 s |
check - Open log
The model has the same number of unknowns and equations: 306
Check of <a href="Modelica://Modelica.Electrical.Analog.Examples.GenerationOfFMUs">Modelica.Electrical.Analog.Examples.GenerationOfFMUs</a> successful.
translate - Open log
= true
Translation of Modelica.Electrical.Analog.Examples.GenerationOfFMUs:
The DAE has 306 scalar unknowns and 306 scalar equations.
Redundant consistent initial conditions.
Removed the following equations which are redundant and consistent:
if (inverseCapacitor1.voltageToCurrent.use_pder and inverseCapacitor1.voltageToCurrent.use_pder2) then
inverseCapacitor1.voltageToCurrent.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state2 ({inverseCapacitor1.voltageToCurrent.p, inverseCapacitor1.voltageToCurrent.u1, inverseCapacitor1.voltageToCurrent.u2}, time);
elseif (inverseCapacitor1.voltageToCurrent.use_pder and not inverseCapacitor1.voltageToCurrent.use_pder2) then
inverseCapacitor1.voltageToCurrent.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state1 ({inverseCapacitor1.voltageToCurrent.p, inverseCapacitor1.voltageToCurrent.u1}, time);
else
inverseCapacitor1.voltageToCurrent.u = inverseCapacitor1.voltageToCurrent.p;
end if;
if (inverseInductor3.currentToVoltage.use_fder and inverseInductor3.currentToVoltage.use_fder2) then
inverseInductor3.currentToVoltage.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state2 ({inverseInductor3.currentToVoltage.f, inverseInductor3.currentToVoltage.u1, inverseInductor3.currentToVoltage.u2}, time);
elseif (inverseInductor3.currentToVoltage.use_fder and not inverseInductor3.currentToVoltage.use_fder2) then
inverseInductor3.currentToVoltage.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state1 ({inverseInductor3.currentToVoltage.f, inverseInductor3.currentToVoltage.u1}, time);
else
inverseInductor3.currentToVoltage.u = inverseInductor3.currentToVoltage.f;
end if;
This required evaluation of
the interactive start values of
directCapacitor1.capacitor.v(start = 0)
directInductor3.inductor.i(start = 0)
inverseCapacitor1.capacitor.v(start = 0)
inverseInductor3.inductor.i(start = 0)
The redundancies involve
active start values:
directCapacitor1.capacitor.v = 0;
inverseCapacitor1.capacitor.v = 0;
directInductor3.inductor.i = 0;
inverseInductor3.inductor.i = 0;
Statistics
Original Model
Number of components: 45
Variables: 460
Parameters: 154 (154 scalars)
Unknowns: 306 (306 scalars)
Differentiated variables: 10 scalars
Equations: 307
Nontrivial: 241
Translated Model
Constants: 206 scalars
Free parameters: 24 scalars
Parameter depending: 10 scalars
Continuous time states: 6 scalars
Time-varying variables: 25 scalars
Alias variables: 195 scalars
Number of mixed real/discrete systems of equations: 0
Sizes of linear systems of equations: {3, 3}
Sizes after manipulation of the linear systems: {0, 0}
Sizes of nonlinear systems of equations: { }
Sizes after manipulation of the nonlinear systems: { }
Number of numerical Jacobians: 0
Settings
Advanced.StoreProtectedVariables = true
Selected continuous time states
Statically selected continuous time states
capacitor2a.v
capacitor2b.v
directCapacitor1.capacitor.v
directInductor3.inductor.i
inductor4a.i
inductor4b.i
translate - Continuous time states
- capacitor2a.v
- capacitor2b.v
- directCapacitor1.capacitor.v
- directInductor3.inductor.i
- inductor4a.i
- inductor4b.i
translate - Largest NL equation system
simulate - Open log
Log-file of program ./dymosim
(generated: Tue May 5 00:45:29 2020)
dymosim started
... "dsin.txt" loading (dymosim input file)
... "GenerationOfFMUs.mat" creating (simulation result file)
Integration started at T = 0 using integration method DASSL
(DAE multi-step solver (dassl/dasslrt of Petzold modified by Dassault Systemes))
Integration terminated successfully at T = 1
CPU-time for integration : 0.032 seconds
CPU-time for one grid interval : 0.016 milliseconds
CPU-time for initialization : 0.001 seconds
Number of result points : 2002
Number of grid points : 2001
Number of accepted steps : 178
Number of f-evaluations (dynamics) : 356
Number of Jacobian-evaluations : 16
Number of model time events : 0
Number of input time events : 0
Number of state events : 0
Number of step events : 0
Minimum integration stepsize : 5e-07
Maximum integration stepsize : 0.0102
Maximum integration order : 5
Calling terminal section
... "dsfinal.txt" creating (final states)