Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 114.2 kB / 16.38 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 190.5 kB / 17.31 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7449/0.7449, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/1.988e-05, allocations: 2.281 kB / 0.5032 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.3553/0.3553, allocations: 184.1 MB / 0.6829 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.3683, allocations: 10.41 MB / 0.6931 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.3694, allocations: 31.81 kB / 0.6931 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.3707, allocations: 456.7 kB / 0.6936 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003227/0.374, allocations: 1.328 MB / 0.6949 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.378, allocations: 1.767 MB / 0.6966 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002811/0.3808, allocations: 2.418 MB / 0.6989 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.3823, allocations: 1.17 MB / 0.7001 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.384, allocations: 1.172 MB / 0.7012 GB, free: 268 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009137/0.3849, allocations: 0.8773 MB / 0.7021 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.3851, allocations: 120 kB / 0.7022 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.3873, allocations: 1.485 MB / 0.7037 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.001896/0.3892, allocations: 2.547 MB / 0.7061 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0008393/0.3901, allocations: 1.401 MB / 0.7075 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.3903, allocations: 195.3 kB / 0.7077 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0001747/0.3905, allocations: 57.61 kB / 0.7078 GB, free: 9.543 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 (154) * Number of variables: 174 (148) Notification: Performance of Bindings: time 0.00506/0.3956, allocations: 5.82 MB / 0.7134 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.0005013/0.3961, allocations: 336.5 kB / 0.7138 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.003359/0.3995, allocations: 3.595 MB / 0.7173 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simplify1: time 0.0002907/0.3998, allocations: 303.6 kB / 0.7176 GB, free: 15.39 MB / 0.545 GB Notification: Performance of Alias: time 0.003753/0.4035, allocations: 3.547 MB / 0.721 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simplify2: time 0.0002605/0.4038, allocations: 275.6 kB / 0.7213 GB, free: 11.19 MB / 0.545 GB Notification: Performance of Events: time 0.0007348/0.4046, allocations: 0.7044 MB / 0.722 GB, free: 10.47 MB / 0.545 GB Notification: Performance of Detect States: time 0.0006742/0.4052, allocations: 0.7718 MB / 0.7227 GB, free: 9.684 MB / 0.545 GB Notification: Performance of Partitioning: time 0.001168/0.4064, allocations: 1.178 MB / 0.7239 GB, free: 8.238 MB / 0.545 GB Notification: Performance of Causalize: time 0.005752/0.4122, allocations: 6.035 MB / 0.7298 GB, free: 2.059 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.2549/0.667, allocations: 2.752 MB / 0.7325 GB, free: 26.02 MB / 0.545 GB Notification: Performance of Inline: time 0.006675/0.6738, allocations: 6.709 MB / 0.739 GB, free: 25.79 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0002574/0.674, allocations: 196.3 kB / 0.7392 GB, free: 25.75 MB / 0.545 GB Notification: Performance of Cleanup: time 0.0006059/0.6747, allocations: 0.6741 MB / 0.7399 GB, free: 25.74 MB / 0.545 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency damExpPI.k0 could not be devided by the body size 3 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (3) damExpPI.cL = {(log(damExpPI.k0) - (damExpPI.a + damExpPI.b)) / damExpPI.yL ^ 2.0, ((2.0 * damExpPI.b + 2.0 * damExpPI.a) - (damExpPI.yL * damExpPI.b + 2.0 * log(damExpPI.k0))) / damExpPI.yL, log(damExpPI.k0)} ($RES_BND_325) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (98/134) *************************** (1) [DER-] (1) Real $DER.conPID.I.y (2) [DER-] (1) Real $DER.conPID.D.x (3) [PRMT] (1) Real damExp.rho = damExp.rho_default (fixed = true, start = damExp.rho_default, min = 0.0, max = 1e5, nominal = 1.0) (4) [PRMT] (1) protected Real sou.T_in_internal = sou.T (fixed = true, start = sou.T) (5) [PRMT] (1) protected Real sin.p_in_internal = sin.p (fixed = true, start = sin.p) (6) [PRMT] (1) protected Real sin.T_in_internal = sin.T (fixed = true, start = sin.T) (7) [PRMT] (1) Real damPreInd.rho = damPreInd.rho_default (fixed = true, start = damPreInd.rho_default, min = 0.0, max = 1e5, nominal = 1.0) (8) [PRMT] (1) Real damExpPI.rho = damExpPI.rho_default (fixed = true, start = damExpPI.rho_default, min = 0.0, max = 1e5, nominal = 1.0) (9) [PRMT] (1) final parameter Real gain.k = 1.0 / m_flow_nominal (fixed = true, start = 1.0) (10) [PRMT] (1) protected final parameter Real conPID.limiter.uMin = 0.0 (fixed = true) (11) [PRMT] (1) protected final parameter Real conPID.limiter.uMax = 1.0 (fixed = true, start = 1.0) (12) [PRMT] (1) protected parameter Real conPID.gainTrack.k = 1.0 / (conPID.Ni * conPID.k) (fixed = true, start = 1.0) (13) [PRMT] (1) protected final parameter Real conPID.gainPID.k = conPID.k (fixed = true, start = 1.0) (14) [PRMT] (1) protected final parameter Real conPID.addI.k2 = -conPID.revAct (fixed = true) (15) [PRMT] (1) protected final parameter Real conPID.addI.k1 = conPID.revAct (fixed = true) (16) [PRMT] (1) protected final parameter Real conPID.revAct = if conPID.reverseActing then 1.0 else -1.0 (fixed = true) (17) [PRMT] (1) protected parameter Boolean conPID.D.zeroGain = false (fixed = true) (18) [PRMT] (1) final parameter Real conPID.D.x_start = conPID.xd_start (fixed = true) (19) [PRMT] (1) final parameter Real conPID.D.T = max({{conPID.Td / conPID.Nd, 1e-14}}) (fixed = true, min = 1e-60) (20) [PRMT] (1) final parameter Real conPID.D.k = conPID.Td (fixed = true) (21) [PRMT] (1) final parameter Real conPID.I.k = 1.0 / conPID.Ti (fixed = true) (22) [PRMT] (1) parameter Real conPID.addD.k2 = -conPID.revAct (fixed = true) (23) [PRMT] (1) parameter Real conPID.addD.k1 = conPID.revAct * conPID.wd (fixed = true) (24) [PRMT] (1) parameter Real conPID.addP.k2 = -conPID.revAct (fixed = true) (25) [PRMT] (1) parameter Real conPID.addP.k1 = conPID.revAct * conPID.wp (fixed = true) (26) [PRMT] (1) protected parameter Real damExpPI.kTotMin = if damExpPI.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damExpPI.kDamMin ^ 2.0 + 1.0 / damExpPI.kFixed ^ 2.0)) else damExpPI.kDamMin (fixed = true) (27) [PRMT] (1) protected parameter Real damExpPI.kDamMin = damExpPI.l * damExpPI.kDamMax (fixed = true) (28) [PRMT] (1) protected parameter Real damExpPI.kTotMax = if damExpPI.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damExpPI.kDamMax ^ 2.0 + 1.0 / damExpPI.kFixed ^ 2.0)) else damExpPI.kDamMax (fixed = true) (29) [PRMT] (1) protected parameter Real damExpPI.kDamMax = ((damExpPI.rho_default * 2.0) / damExpPI.k1) ^ 0.5 * damExpPI.A (fixed = true) (30) [PRMT] (3) protected parameter Real[3] damExpPI.cU = {(log(damExpPI.k1) - damExpPI.a) / ((damExpPI.yU ^ 2.0 + 1.0) - 2.0 * damExpPI.yU), ((-(damExpPI.b * 2.0 + damExpPI.a * 2.0)) * damExpPI.yU + damExpPI.yU ^ 2.0 * damExpPI.b + damExpPI.yU * 2.0 * log(damExpPI.k1) + damExpPI.b) / (-((1.0 + damExpPI.yU ^ 2.0) - damExpPI.yU * 2.0)), (damExpPI.b + damExpPI.b * damExpPI.yU ^ 2.0 + log(damExpPI.k1) * damExpPI.yU ^ 2.0 + damExpPI.yU * (-(2.0 * damExpPI.a + 2.0 * damExpPI.b)) + damExpPI.a) / ((damExpPI.yU ^ 2.0 + 1.0) - 2.0 * damExpPI.yU)} (fixed = {true for $i1 in 1:3}) (31) [PRMT] (3) protected parameter Real[3] damExpPI.cL = {(log(damExpPI.k0) - (damExpPI.a + damExpPI.b)) / damExpPI.yL ^ 2.0, ((2.0 * damExpPI.b + damExpPI.a * 2.0) - (damExpPI.yL * damExpPI.b + log(damExpPI.k0) * 2.0)) / damExpPI.yL, log(damExpPI.k0)} (fixed = {true for $i1 in 1:3}) (32) [PRMT] (1) protected parameter Real damExpPI.kU = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damExpPI.yU, damExpPI.a, damExpPI.b, damExpPI.cL, damExpPI.cU, damExpPI.yL, damExpPI.yU) ^ 2.0 (fixed = true) (33) [PRMT] (1) protected parameter Real damExpPI.kL = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damExpPI.yL, damExpPI.a, damExpPI.b, damExpPI.cL, damExpPI.cU, damExpPI.yL, damExpPI.yU) ^ 2.0 (fixed = true) (34) [PRMT] (1) protected parameter Real damExpPI.facRouDuc = if damExpPI.roundDuct then 0.8862269254527579 else 1.0 (fixed = true) (35) [PRMT] (1) protected parameter Real damExpPI.rho_default = IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.damExpPI.Medium.density(damExpPI.sta_default) (fixed = true, start = 1.0, min = 0.0, max = 1e5, nominal = 1.0) (36) [PRMT] (1) final parameter Real damExpPI.kFixed = if damExpPI.dpFixed_nominal > 1e-15 then damExpPI.m_flow_nominal / sqrt(damExpPI.dpFixed_nominal) else 1e60 (fixed = true) (37) [PRMT] (1) final parameter Real damExpPI.k0 = damExpPI.rho_default * 2.0 * (damExpPI.A / damExpPI.kDamMin) ^ 2.0 (fixed = true, min = 0.0) (38) [PRMT] (1) final parameter Real damExpPI.A = damExpPI.m_flow_nominal / (damExpPI.v_nominal * damExpPI.rho_default) (fixed = true) (39) [PRMT] (1) final parameter Real damExpPI.v_nominal = ((2.0 * damExpPI.dpDamper_nominal) / (damExpPI.rho_default * damExpPI.k1)) ^ 0.5 (fixed = true) (40) [PRMT] (1) final parameter Real damExpPI.dpDamper_nominal = dp_nominal (fixed = true) (41) [PRMT] (1) protected final parameter Real damExpPI.fCut = 5.0 / (damExpPI.riseTime * 6.283185307179586) (fixed = true) (42) [PRMT] (1) protected final parameter Real damExpPI.dp_nominal_pos = abs(damExpPI.dp_nominal) (fixed = true) (43) [PRMT] (1) protected final parameter Real damExpPI.m_flow_nominal_pos = abs(damExpPI.m_flow_nominal) (fixed = true) (44) [PRMT] (1) protected parameter Real damExpPI.eta_default = IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.damExpPI.Medium.dynamicViscosity(damExpPI.sta_default) (fixed = true, min = 0.0) (45) [PRMT] (1) final parameter Real damExpPI.m_flow_turbulent = if damExpPI.use_deltaM then damExpPI.m_flow_nominal * damExpPI.deltaM else damExpPI.facRouDuc * damExpPI.ReC * damExpPI.eta_default * sqrt(damExpPI.A) (fixed = true, min = 0.0) (46) [PRMT] (1) final parameter Real damExpPI.dp_nominal = damExpPI.dpDamper_nominal + damExpPI.dpFixed_nominal (fixed = true) (47) [PRMT] (1) final parameter Real damExpPI.m_flow_small = 1e-4 * abs(damExpPI.m_flow_nominal) (fixed = true, min = 0.0) (48) [PRMT] (1) final parameter Real damExpPI.m_flow_nominal = m_flow_nominal (fixed = true) (49) [PRMT] (1) protected parameter Real damPreInd.coeff2 = 1.0 / damPreInd.coeff1 (fixed = true) (50) [PRMT] (1) protected parameter Real damPreInd.coeff1 = (damPreInd.l2 * damPreInd.m_flow_nominal) / damPreInd.dpDamper_nominal (fixed = true) (51) [PRMT] (13) protected parameter Real[13] damPreInd.kSupSpl_raw = {IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.ySupSpl_raw[$i1], damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) for $i1 in 1:13} .^ 2.0 (fixed = {true for $i1 in 1:13}) (52) [PRMT] (13) protected parameter Real[13] damPreInd.ySupSpl_raw = {1.0, (damPreInd.yU - 1.0) / 4.0 + 1.0, (2.0 * (damPreInd.yU - 1.0)) / 4.0 + 1.0, (3.0 * (damPreInd.yU - 1.0)) / 4.0 + 1.0, (4.0 * (damPreInd.yU - 1.0)) / 4.0 + 1.0, damPreInd.yU - 0.3333333333333333 * (damPreInd.yU - damPreInd.yL), (damPreInd.yU + damPreInd.yL) / 2.0, damPreInd.yU - 0.6666666666666666 * (damPreInd.yU - damPreInd.yL), damPreInd.yL, damPreInd.yL / (-4.0) + damPreInd.yL, (2.0 * (-damPreInd.yL)) / 4.0 + damPreInd.yL, (3.0 * (-damPreInd.yL)) / 4.0 + damPreInd.yL, (4.0 * (-damPreInd.yL)) / 4.0 + damPreInd.yL} (fixed = {true for $i1 in 1:13}) (53) [PRMT] (1) protected parameter Real damPreInd.kTotMin = if damPreInd.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damPreInd.kDamMin ^ 2.0 + 1.0 / damPreInd.kFixed ^ 2.0)) else damPreInd.kDamMin (fixed = true) (54) [PRMT] (1) protected parameter Real damPreInd.kDamMin = damPreInd.l * damPreInd.kDamMax (fixed = true) (55) [PRMT] (1) protected parameter Real damPreInd.kTotMax = if damPreInd.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damPreInd.kDamMax ^ 2.0 + 1.0 / damPreInd.kFixed ^ 2.0)) else damPreInd.kDamMax (fixed = true) (56) [PRMT] (1) protected parameter Real damPreInd.kDamMax = ((damPreInd.rho_default * 2.0) / damPreInd.k1) ^ 0.5 * damPreInd.A (fixed = true) (57) [PRMT] (3) protected parameter Real[3] damPreInd.cU = {(log(damPreInd.k1) - damPreInd.a) / ((damPreInd.yU ^ 2.0 + 1.0) - 2.0 * damPreInd.yU), ((-(damPreInd.b * 2.0 + damPreInd.a * 2.0)) * damPreInd.yU + damPreInd.yU ^ 2.0 * damPreInd.b + damPreInd.yU * 2.0 * log(damPreInd.k1) + damPreInd.b) / (-((1.0 + damPreInd.yU ^ 2.0) - damPreInd.yU * 2.0)), (damPreInd.b + damPreInd.b * damPreInd.yU ^ 2.0 + log(damPreInd.k1) * damPreInd.yU ^ 2.0 + damPreInd.yU * (-(2.0 * damPreInd.a + 2.0 * damPreInd.b)) + damPreInd.a) / ((damPreInd.yU ^ 2.0 + 1.0) - 2.0 * damPreInd.yU)} (fixed = {true for $i1 in 1:3}) (58) [PRMT] (3) protected parameter Real[3] damPreInd.cL = {(log(damPreInd.k0) - (damPreInd.a + damPreInd.b)) / damPreInd.yL ^ 2.0, ((2.0 * damPreInd.b + damPreInd.a * 2.0) - (damPreInd.yL * damPreInd.b + log(damPreInd.k0) * 2.0)) / damPreInd.yL, log(damPreInd.k0)} (fixed = {true for $i1 in 1:3}) (59) [PRMT] (1) protected parameter Real damPreInd.kU = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.yU, damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) ^ 2.0 (fixed = true) (60) [PRMT] (1) protected parameter Real damPreInd.kL = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.yL, damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) ^ 2.0 (fixed = true) (61) [PRMT] (1) protected parameter Real damPreInd.facRouDuc = if damPreInd.roundDuct then 0.8862269254527579 else 1.0 (fixed = true) (62) [PRMT] (1) protected parameter Real damPreInd.rho_default = IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.damPreInd.Medium.density(damPreInd.sta_default) (fixed = true, start = 1.0, min = 0.0, max = 1e5, nominal = 1.0) (63) [PRMT] (1) final parameter Real damPreInd.kFixed = if damPreInd.dpFixed_nominal > 1e-15 then damPreInd.m_flow_nominal / sqrt(damPreInd.dpFixed_nominal) else 1e60 (fixed = true) (64) [PRMT] (1) final parameter Real damPreInd.k0 = damPreInd.rho_default * 2.0 * (damPreInd.A / damPreInd.kDamMin) ^ 2.0 (fixed = true, min = 0.0) (65) [PRMT] (1) final parameter Real damPreInd.A = damPreInd.m_flow_nominal / (damPreInd.v_nominal * damPreInd.rho_default) (fixed = true) (66) [PRMT] (1) final parameter Real damPreInd.v_nominal = ((2.0 * damPreInd.dpDamper_nominal) / (damPreInd.rho_default * damPreInd.k1)) ^ 0.5 (fixed = true) (67) [PRMT] (1) final parameter Real damPreInd.dpDamper_nominal = dp_nominal (fixed = true) (68) [PRMT] (1) protected final parameter Real damPreInd.fCut = 5.0 / (damPreInd.riseTime * 6.283185307179586) (fixed = true) (69) [PRMT] (1) protected final parameter Real damPreInd.dp_nominal_pos = abs(damPreInd.dp_nominal) (fixed = true) (70) [PRMT] (1) protected final parameter Real damPreInd.m_flow_nominal_pos = abs(damPreInd.m_flow_nominal) (fixed = true) (71) [PRMT] (1) protected parameter Real damPreInd.eta_default = IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.damPreInd.Medium.dynamicViscosity(damPreInd.sta_default) (fixed = true, min = 0.0) (72) [PRMT] (1) final parameter Real damPreInd.m_flow_turbulent = if damPreInd.use_deltaM then damPreInd.m_flow_nominal * damPreInd.deltaM else damPreInd.facRouDuc * damPreInd.ReC * damPreInd.eta_default * sqrt(damPreInd.A) (fixed = true, min = 0.0) (73) [PRMT] (1) final parameter Real damPreInd.dp_nominal = damPreInd.dpDamper_nominal + damPreInd.dpFixed_nominal (fixed = true) (74) [PRMT] (1) final parameter Real damPreInd.m_flow_small = 1e-4 * abs(damPreInd.m_flow_nominal) (fixed = true, min = 0.0) (75) [PRMT] (1) final parameter Real damPreInd.m_flow_nominal = m_flow_nominal (fixed = true) (76) [PRMT] (1) protected parameter Real damExp.kTotMin = if damExp.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damExp.kDamMin ^ 2.0 + 1.0 / damExp.kFixed ^ 2.0)) else damExp.kDamMin (fixed = true) (77) [PRMT] (1) protected parameter Real damExp.kDamMin = damExp.l * damExp.kDamMax (fixed = true) (78) [PRMT] (1) protected parameter Real damExp.kTotMax = if damExp.dpFixed_nominal > 1e-15 then sqrt(1.0 / (1.0 / damExp.kDamMax ^ 2.0 + 1.0 / damExp.kFixed ^ 2.0)) else damExp.kDamMax (fixed = true) (79) [PRMT] (1) protected parameter Real damExp.kDamMax = ((damExp.rho_default * 2.0) / damExp.k1) ^ 0.5 * damExp.A (fixed = true) (80) [PRMT] (3) protected parameter Real[3] damExp.cU = {(log(damExp.k1) - damExp.a) / ((damExp.yU ^ 2.0 + 1.0) - 2.0 * damExp.yU), ((-(damExp.b * 2.0 + damExp.a * 2.0)) * damExp.yU + damExp.yU ^ 2.0 * damExp.b + damExp.yU * 2.0 * log(damExp.k1) + damExp.b) / (-((1.0 + damExp.yU ^ 2.0) - damExp.yU * 2.0)), (damExp.b + damExp.b * damExp.yU ^ 2.0 + log(damExp.k1) * damExp.yU ^ 2.0 + damExp.yU * (-(2.0 * damExp.a + 2.0 * damExp.b)) + damExp.a) / ((damExp.yU ^ 2.0 + 1.0) - 2.0 * damExp.yU)} (fixed = {true for $i1 in 1:3}) (81) [PRMT] (3) protected parameter Real[3] damExp.cL = {(log(damExp.k0) - (damExp.a + damExp.b)) / damExp.yL ^ 2.0, ((2.0 * damExp.b + damExp.a * 2.0) - (damExp.yL * damExp.b + log(damExp.k0) * 2.0)) / damExp.yL, log(damExp.k0)} (fixed = {true for $i1 in 1:3}) (82) [PRMT] (1) protected parameter Real damExp.kU = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damExp.yU, damExp.a, damExp.b, damExp.cL, damExp.cU, damExp.yL, damExp.yU) ^ 2.0 (fixed = true) (83) [PRMT] (1) protected parameter Real damExp.kL = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damExp.yL, damExp.a, damExp.b, damExp.cL, damExp.cU, damExp.yL, damExp.yU) ^ 2.0 (fixed = true) (84) [PRMT] (1) protected parameter Real damExp.facRouDuc = if damExp.roundDuct then 0.8862269254527579 else 1.0 (fixed = true) (85) [PRMT] (1) protected parameter Real damExp.rho_default = IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.damExp.Medium.density(damExp.sta_default) (fixed = true, start = 1.0, min = 0.0, max = 1e5, nominal = 1.0) (86) [PRMT] (1) final parameter Real damExp.kFixed = if damExp.dpFixed_nominal > 1e-15 then damExp.m_flow_nominal / sqrt(damExp.dpFixed_nominal) else 1e60 (fixed = true) (87) [PRMT] (1) final parameter Real damExp.k0 = damExp.rho_default * 2.0 * (damExp.A / damExp.kDamMin) ^ 2.0 (fixed = true, min = 0.0) (88) [PRMT] (1) final parameter Real damExp.A = damExp.m_flow_nominal / (damExp.v_nominal * damExp.rho_default) (fixed = true) (89) [PRMT] (1) final parameter Real damExp.v_nominal = ((2.0 * damExp.dpDamper_nominal) / (damExp.rho_default * damExp.k1)) ^ 0.5 (fixed = true) (90) [PRMT] (1) final parameter Real damExp.dpDamper_nominal = dp_nominal (fixed = true) (91) [PRMT] (1) protected final parameter Real damExp.fCut = 5.0 / (damExp.riseTime * 6.283185307179586) (fixed = true) (92) [PRMT] (1) protected final parameter Real damExp.dp_nominal_pos = abs(damExp.dp_nominal) (fixed = true) (93) [PRMT] (1) protected final parameter Real damExp.m_flow_nominal_pos = abs(damExp.m_flow_nominal) (fixed = true) (94) [PRMT] (1) protected parameter Real damExp.eta_default = IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.damExp.Medium.dynamicViscosity(damExp.sta_default) (fixed = true, min = 0.0) (95) [PRMT] (1) final parameter Real damExp.m_flow_turbulent = if damExp.use_deltaM then damExp.m_flow_nominal * damExp.deltaM else damExp.facRouDuc * damExp.ReC * damExp.eta_default * sqrt(damExp.A) (fixed = true, min = 0.0) (96) [PRMT] (1) final parameter Real damExp.dp_nominal = damExp.dpDamper_nominal + damExp.dpFixed_nominal (fixed = true) (97) [PRMT] (1) final parameter Real damExp.m_flow_small = 1e-4 * abs(damExp.m_flow_nominal) (fixed = true, min = 0.0) (98) [PRMT] (1) final parameter Real damExp.m_flow_nominal = m_flow_nominal (fixed = true) System Equations (104/186) **************************** (1) [SCAL] (1) conPID.D.x = conPID.D.x_start ($RES_SIM_0) (2) [SCAL] (1) conPID.I.y = 0.0 ($RES_SIM_1) (3) [ARRY] (13) damPreInd.invSplDer = $FUN_16 ($RES_SIM_18) (4) [FOR-] (13) ($RES_SIM_19) (4) [----] for $i1 in 1:13 loop (4) [----] [SCAL] (1) damPreInd.ySupSpl[$i1] = $FUN_14[$i1] ($RES_SIM_20) (4) [----] end for; (5) [ALGO] (0) ($RES_SIM_22) (5) [----] Modelica.Fluid.Utilities.checkBoundary("Air", {"water", "air"}, false, true, sin.X_in_internal, "Boundary_pT"); (6) [ALGO] (0) ($RES_SIM_24) (6) [----] Modelica.Fluid.Utilities.checkBoundary("Air", {"water", "air"}, false, true, sou.X_in_internal, "Boundary_pT"); (7) [ARRY] (13) damPreInd.idx_sorted = $FUN_13 ($RES_$AUX_212) (8) [ARRY] (13) damPreInd.kSupSpl = $FUN_12 ($RES_$AUX_211) (9) [SCAL] (1) damExp.rho = damExp.rho_default ($RES_BND_353) (10) [SCAL] (1) sou.T_in_internal = sou.T ($RES_BND_352) (11) [SCAL] (1) sin.p_in_internal = sin.p ($RES_BND_351) (12) [SCAL] (1) sin.T_in_internal = sin.T ($RES_BND_350) (13) [SCAL] (1) damPreInd.rho = damPreInd.rho_default ($RES_BND_349) (14) [SCAL] (1) damExpPI.rho = damExpPI.rho_default ($RES_BND_348) (15) [SCAL] (1) gain.k = 1/m_flow_nominal ($RES_BND_347) (16) [SCAL] (1) conPID.limiter.uMin = 0.0 ($RES_BND_346) (17) [SCAL] (1) conPID.limiter.uMax = 1.0 ($RES_BND_345) (18) [SCAL] (1) conPID.gainTrack.k = 1/(conPID.Ni * conPID.k) ($RES_BND_344) (19) [SCAL] (1) conPID.gainPID.k = conPID.k ($RES_BND_343) (20) [SCAL] (1) conPID.addI.k2 = -conPID.revAct ($RES_BND_342) (21) [SCAL] (1) conPID.addI.k1 = conPID.revAct ($RES_BND_341) (22) [SCAL] (1) conPID.revAct = if conPID.reverseActing then 1.0 else -1.0 ($RES_BND_340) (23) [SCAL] (1) conPID.D.zeroGain = false ($RES_BND_339) (24) [SCAL] (1) conPID.D.x_start = conPID.xd_start ($RES_BND_338) (25) [SCAL] (1) conPID.D.T = max({{conPID.Td / conPID.Nd, 1e-14}}) ($RES_BND_337) (26) [SCAL] (1) conPID.D.k = conPID.Td ($RES_BND_336) (27) [SCAL] (1) conPID.I.k = 1/conPID.Ti ($RES_BND_335) (28) [SCAL] (1) conPID.addD.k2 = -conPID.revAct ($RES_BND_334) (29) [SCAL] (1) conPID.addD.k1 = conPID.revAct * conPID.wd ($RES_BND_333) (30) [SCAL] (1) conPID.addP.k2 = -conPID.revAct ($RES_BND_332) (31) [SCAL] (1) conPID.addP.k1 = conPID.revAct * conPID.wp ($RES_BND_331) (32) [SCAL] (1) damExpPI.kTotMin = if damExpPI.dpFixed_nominal > 1e-15 then sqrt(1/(1/damExpPI.kDamMin ^ 2.0 + 1/damExpPI.kFixed ^ 2.0)) else damExpPI.kDamMin ($RES_BND_330) (33) [SCAL] (1) damExpPI.kDamMin = damExpPI.l * damExpPI.kDamMax ($RES_BND_329) (34) [SCAL] (1) damExpPI.kTotMax = if damExpPI.dpFixed_nominal > 1e-15 then sqrt(1/(1/damExpPI.kDamMax ^ 2.0 + 1/damExpPI.kFixed ^ 2.0)) else damExpPI.kDamMax ($RES_BND_328) (35) [SCAL] (1) damExpPI.kDamMax = ((2.0 * damExpPI.rho_default) / damExpPI.k1) ^ 0.5 * damExpPI.A ($RES_BND_327) (36) [ARRY] (3) damExpPI.cU = {(log(damExpPI.k1) - damExpPI.a) / ((1.0 + damExpPI.yU ^ 2.0) - 2.0 * damExpPI.yU), -((damExpPI.yU ^ 2.0 * damExpPI.b + 2.0 * damExpPI.yU * log(damExpPI.k1) + damExpPI.b) - (2.0 * damExpPI.b + 2.0 * damExpPI.a) * damExpPI.yU) / ((1.0 + damExpPI.yU ^ 2.0) - 2.0 * damExpPI.yU), ((damExpPI.b + damExpPI.b * damExpPI.yU ^ 2.0 + log(damExpPI.k1) * damExpPI.yU ^ 2.0 + damExpPI.a) - damExpPI.yU * (2.0 * damExpPI.a + 2.0 * damExpPI.b)) / ((1.0 + damExpPI.yU ^ 2.0) - 2.0 * damExpPI.yU)} ($RES_BND_326) (37) [ARRY] (3) damExpPI.cL = {(log(damExpPI.k0) - (damExpPI.a + damExpPI.b)) / damExpPI.yL ^ 2.0, ((2.0 * damExpPI.b + 2.0 * damExpPI.a) - (damExpPI.yL * damExpPI.b + 2.0 * log(damExpPI.k0))) / damExpPI.yL, log(damExpPI.k0)} ($RES_BND_325) (38) [SCAL] (1) damExpPI.kU = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damExpPI.yU, damExpPI.a, damExpPI.b, damExpPI.cL, damExpPI.cU, damExpPI.yL, damExpPI.yU) ^ 2.0 ($RES_BND_324) (39) [SCAL] (1) damExpPI.kL = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damExpPI.yL, damExpPI.a, damExpPI.b, damExpPI.cL, damExpPI.cU, damExpPI.yL, damExpPI.yU) ^ 2.0 ($RES_BND_323) (40) [SCAL] (1) damExpPI.facRouDuc = if damExpPI.roundDuct then 0.8862269254527579 else 1.0 ($RES_BND_322) (41) [SCAL] (1) damExpPI.rho_default = 1.1843079200592153e-5 * damExpPI.sta_default.p ($RES_BND_321) (42) [SCAL] (1) damExpPI.kFixed = if damExpPI.dpFixed_nominal > 1e-15 then damExpPI.m_flow_nominal / sqrt(damExpPI.dpFixed_nominal) else 1e60 ($RES_BND_320) (43) [SCAL] (1) damExpPI.k0 = 2.0 * damExpPI.rho_default * (damExpPI.A / damExpPI.kDamMin) ^ 2.0 ($RES_BND_319) (44) [SCAL] (1) damExpPI.A = damExpPI.m_flow_nominal / (damExpPI.v_nominal * damExpPI.rho_default) ($RES_BND_318) (45) [SCAL] (1) damExpPI.v_nominal = ((2.0 * damExpPI.dpDamper_nominal) / (damExpPI.rho_default * damExpPI.k1)) ^ 0.5 ($RES_BND_317) (46) [SCAL] (1) damExpPI.dpDamper_nominal = dp_nominal ($RES_BND_316) (47) [SCAL] (1) damExpPI.fCut = 0.7957747154594768 / damExpPI.riseTime ($RES_BND_315) (48) [SCAL] (1) damExpPI.dp_nominal_pos = abs(damExpPI.dp_nominal) ($RES_BND_314) (49) [SCAL] (1) damExpPI.m_flow_nominal_pos = abs(damExpPI.m_flow_nominal) ($RES_BND_313) (50) [SCAL] (1) damExpPI.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * damExpPI.sta_default.T ($RES_BND_312) (51) [SCAL] (1) damExpPI.m_flow_turbulent = if damExpPI.use_deltaM then damExpPI.m_flow_nominal * damExpPI.deltaM else damExpPI.facRouDuc * damExpPI.ReC * damExpPI.eta_default * sqrt(damExpPI.A) ($RES_BND_311) (52) [SCAL] (1) damExpPI.dp_nominal = damExpPI.dpDamper_nominal + damExpPI.dpFixed_nominal ($RES_BND_310) (53) [SCAL] (1) damExpPI.m_flow_small = 1e-4 * abs(damExpPI.m_flow_nominal) ($RES_BND_309) (54) [SCAL] (1) damExpPI.m_flow_nominal = m_flow_nominal ($RES_BND_308) (55) [SCAL] (1) damPreInd.coeff2 = 1/damPreInd.coeff1 ($RES_BND_307) (56) [SCAL] (1) damPreInd.coeff1 = (damPreInd.l2 * damPreInd.m_flow_nominal) / damPreInd.dpDamper_nominal ($RES_BND_306) (57) [FOR-] (13) ($RES_BND_304) (57) [----] for $i1 in 1:13 loop (57) [----] [SCAL] (1) damPreInd.kSupSpl_raw[$i1] = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.ySupSpl_raw[$i1], damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) ^ 2.0 ($RES_BND_305) (57) [----] end for; (58) [ARRY] (13) damPreInd.ySupSpl_raw = {1.0, 1.0 + 0.25 * ((-1.0) + damPreInd.yU), 1.0 + 0.5 * ((-1.0) + damPreInd.yU), 1.0 + 0.75 * ((-1.0) + damPreInd.yU), 1.0 + ((-1.0) + damPreInd.yU), damPreInd.yU - 0.3333333333333333 * (damPreInd.yU - damPreInd.yL), 0.5 * (damPreInd.yU + damPreInd.yL), damPreInd.yU - 0.6666666666666666 * (damPreInd.yU - damPreInd.yL), damPreInd.yL, damPreInd.yL - 0.25 * damPreInd.yL, damPreInd.yL - 0.5 * damPreInd.yL, damPreInd.yL - 0.75 * damPreInd.yL, damPreInd.yL - damPreInd.yL} ($RES_BND_303) (59) [SCAL] (1) damPreInd.kTotMin = if damPreInd.dpFixed_nominal > 1e-15 then sqrt(1/(1/damPreInd.kDamMin ^ 2.0 + 1/damPreInd.kFixed ^ 2.0)) else damPreInd.kDamMin ($RES_BND_302) (60) [SCAL] (1) damPreInd.kDamMin = damPreInd.l * damPreInd.kDamMax ($RES_BND_301) (61) [SCAL] (1) damPreInd.kTotMax = if damPreInd.dpFixed_nominal > 1e-15 then sqrt(1/(1/damPreInd.kDamMax ^ 2.0 + 1/damPreInd.kFixed ^ 2.0)) else damPreInd.kDamMax ($RES_BND_300) (62) [SCAL] (1) damPreInd.kDamMax = ((2.0 * damPreInd.rho_default) / damPreInd.k1) ^ 0.5 * damPreInd.A ($RES_BND_299) (63) [ARRY] (3) damPreInd.cU = {(log(damPreInd.k1) - damPreInd.a) / ((1.0 + damPreInd.yU ^ 2.0) - 2.0 * damPreInd.yU), -((damPreInd.yU ^ 2.0 * damPreInd.b + 2.0 * damPreInd.yU * log(damPreInd.k1) + damPreInd.b) - (2.0 * damPreInd.b + 2.0 * damPreInd.a) * damPreInd.yU) / ((1.0 + damPreInd.yU ^ 2.0) - 2.0 * damPreInd.yU), ((damPreInd.b + damPreInd.b * damPreInd.yU ^ 2.0 + log(damPreInd.k1) * damPreInd.yU ^ 2.0 + damPreInd.a) - damPreInd.yU * (2.0 * damPreInd.a + 2.0 * damPreInd.b)) / ((1.0 + damPreInd.yU ^ 2.0) - 2.0 * damPreInd.yU)} ($RES_BND_298) (64) [ARRY] (3) damPreInd.cL = {(log(damPreInd.k0) - (damPreInd.a + damPreInd.b)) / damPreInd.yL ^ 2.0, ((2.0 * damPreInd.b + 2.0 * damPreInd.a) - (damPreInd.yL * damPreInd.b + 2.0 * log(damPreInd.k0))) / damPreInd.yL, log(damPreInd.k0)} ($RES_BND_297) (65) [SCAL] (1) damPreInd.kU = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.yU, damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) ^ 2.0 ($RES_BND_296) (66) [SCAL] (1) damPreInd.kL = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damPreInd.yL, damPreInd.a, damPreInd.b, damPreInd.cL, damPreInd.cU, damPreInd.yL, damPreInd.yU) ^ 2.0 ($RES_BND_295) (67) [SCAL] (1) damPreInd.facRouDuc = if damPreInd.roundDuct then 0.8862269254527579 else 1.0 ($RES_BND_294) (68) [SCAL] (1) damPreInd.rho_default = 1.1843079200592153e-5 * damPreInd.sta_default.p ($RES_BND_293) (69) [SCAL] (1) damPreInd.kFixed = if damPreInd.dpFixed_nominal > 1e-15 then damPreInd.m_flow_nominal / sqrt(damPreInd.dpFixed_nominal) else 1e60 ($RES_BND_292) (70) [SCAL] (1) damPreInd.k0 = 2.0 * damPreInd.rho_default * (damPreInd.A / damPreInd.kDamMin) ^ 2.0 ($RES_BND_291) (71) [SCAL] (1) damPreInd.A = damPreInd.m_flow_nominal / (damPreInd.v_nominal * damPreInd.rho_default) ($RES_BND_290) (72) [SCAL] (1) damPreInd.v_nominal = ((2.0 * damPreInd.dpDamper_nominal) / (damPreInd.rho_default * damPreInd.k1)) ^ 0.5 ($RES_BND_289) (73) [SCAL] (1) damPreInd.dpDamper_nominal = dp_nominal ($RES_BND_288) (74) [SCAL] (1) damPreInd.fCut = 0.7957747154594768 / damPreInd.riseTime ($RES_BND_287) (75) [SCAL] (1) damPreInd.dp_nominal_pos = abs(damPreInd.dp_nominal) ($RES_BND_286) (76) [SCAL] (1) damPreInd.m_flow_nominal_pos = abs(damPreInd.m_flow_nominal) ($RES_BND_285) (77) [SCAL] (1) damPreInd.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * damPreInd.sta_default.T ($RES_BND_284) (78) [SCAL] (1) damPreInd.m_flow_turbulent = if damPreInd.use_deltaM then damPreInd.m_flow_nominal * damPreInd.deltaM else damPreInd.facRouDuc * damPreInd.ReC * damPreInd.eta_default * sqrt(damPreInd.A) ($RES_BND_283) (79) [SCAL] (1) damPreInd.dp_nominal = damPreInd.dpDamper_nominal + damPreInd.dpFixed_nominal ($RES_BND_282) (80) [SCAL] (1) damPreInd.m_flow_small = 1e-4 * abs(damPreInd.m_flow_nominal) ($RES_BND_281) (81) [SCAL] (1) damPreInd.m_flow_nominal = m_flow_nominal ($RES_BND_280) (82) [SCAL] (1) damExp.kTotMin = if damExp.dpFixed_nominal > 1e-15 then sqrt(1/(1/damExp.kDamMin ^ 2.0 + 1/damExp.kFixed ^ 2.0)) else damExp.kDamMin ($RES_BND_279) (83) [SCAL] (1) damExp.kDamMin = damExp.l * damExp.kDamMax ($RES_BND_278) (84) [SCAL] (1) damExp.kTotMax = if damExp.dpFixed_nominal > 1e-15 then sqrt(1/(1/damExp.kDamMax ^ 2.0 + 1/damExp.kFixed ^ 2.0)) else damExp.kDamMax ($RES_BND_277) (85) [SCAL] (1) damExp.kDamMax = ((2.0 * damExp.rho_default) / damExp.k1) ^ 0.5 * damExp.A ($RES_BND_276) (86) [ARRY] (3) damExp.cU = {(log(damExp.k1) - damExp.a) / ((1.0 + damExp.yU ^ 2.0) - 2.0 * damExp.yU), -((damExp.yU ^ 2.0 * damExp.b + 2.0 * damExp.yU * log(damExp.k1) + damExp.b) - (2.0 * damExp.b + 2.0 * damExp.a) * damExp.yU) / ((1.0 + damExp.yU ^ 2.0) - 2.0 * damExp.yU), ((damExp.b + damExp.b * damExp.yU ^ 2.0 + log(damExp.k1) * damExp.yU ^ 2.0 + damExp.a) - damExp.yU * (2.0 * damExp.a + 2.0 * damExp.b)) / ((1.0 + damExp.yU ^ 2.0) - 2.0 * damExp.yU)} ($RES_BND_275) (87) [ARRY] (3) damExp.cL = {(log(damExp.k0) - (damExp.a + damExp.b)) / damExp.yL ^ 2.0, ((2.0 * damExp.b + 2.0 * damExp.a) - (damExp.yL * damExp.b + 2.0 * log(damExp.k0))) / damExp.yL, log(damExp.k0)} ($RES_BND_274) (88) [SCAL] (1) damExp.kU = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damExp.yU, damExp.a, damExp.b, damExp.cL, damExp.cU, damExp.yL, damExp.yU) ^ 2.0 ($RES_BND_273) (89) [SCAL] (1) damExp.kL = IDEAS.Fluid.Actuators.BaseClasses.exponentialDamper(damExp.yL, damExp.a, damExp.b, damExp.cL, damExp.cU, damExp.yL, damExp.yU) ^ 2.0 ($RES_BND_272) (90) [SCAL] (1) damExp.facRouDuc = if damExp.roundDuct then 0.8862269254527579 else 1.0 ($RES_BND_271) (91) [SCAL] (1) damExp.rho_default = 1.1843079200592153e-5 * damExp.sta_default.p ($RES_BND_270) (92) [SCAL] (1) damExp.kFixed = if damExp.dpFixed_nominal > 1e-15 then damExp.m_flow_nominal / sqrt(damExp.dpFixed_nominal) else 1e60 ($RES_BND_269) (93) [SCAL] (1) damExp.k0 = 2.0 * damExp.rho_default * (damExp.A / damExp.kDamMin) ^ 2.0 ($RES_BND_268) (94) [SCAL] (1) damExp.A = damExp.m_flow_nominal / (damExp.v_nominal * damExp.rho_default) ($RES_BND_267) (95) [SCAL] (1) damExp.v_nominal = ((2.0 * damExp.dpDamper_nominal) / (damExp.rho_default * damExp.k1)) ^ 0.5 ($RES_BND_266) (96) [SCAL] (1) damExp.dpDamper_nominal = dp_nominal ($RES_BND_265) (97) [SCAL] (1) damExp.fCut = 0.7957747154594768 / damExp.riseTime ($RES_BND_264) (98) [SCAL] (1) damExp.dp_nominal_pos = abs(damExp.dp_nominal) ($RES_BND_263) (99) [SCAL] (1) damExp.m_flow_nominal_pos = abs(damExp.m_flow_nominal) ($RES_BND_262) (100) [SCAL] (1) damExp.eta_default = 3.88335940547e-6 + 4.89493640395e-8 * damExp.sta_default.T ($RES_BND_261) (101) [SCAL] (1) damExp.m_flow_turbulent = if damExp.use_deltaM then damExp.m_flow_nominal * damExp.deltaM else damExp.facRouDuc * damExp.ReC * damExp.eta_default * sqrt(damExp.A) ($RES_BND_260) (102) [SCAL] (1) damExp.dp_nominal = damExp.dpDamper_nominal + damExp.dpFixed_nominal ($RES_BND_259) (103) [SCAL] (1) damExp.m_flow_small = 1e-4 * abs(damExp.m_flow_nominal) ($RES_BND_258) (104) [SCAL] (1) damExp.m_flow_nominal = m_flow_nominal ($RES_BND_257) Error: Internal error NBInitialization.main failed to apply modules!