Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManager") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009957/0.0009958, allocations: 105.7 kB / 16.38 MB, free: 6.496 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.0009501/0.0009501, allocations: 192.7 kB / 17.31 MB, free: 5.809 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.715/0.715, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.107e-05, allocations: 2.281 kB / 0.5067 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManager): time 0.007949/0.007984, allocations: 6.947 MB / 0.5135 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3599/0.3679, allocations: 155.7 MB / 0.6655 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.3692, allocations: 31.88 kB / 0.6656 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007898/0.37, allocations: 289.2 kB / 0.6659 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.3721, allocations: 0.7 MB / 0.6665 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.3748, allocations: 1.292 MB / 0.6678 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004309/0.3791, allocations: 4.264 MB / 0.672 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00343/0.3825, allocations: 2.943 MB / 0.6748 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.3849, allocations: 1.301 MB / 0.6761 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.3863, allocations: 1.214 MB / 0.6773 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003731/0.3866, allocations: 340 kB / 0.6776 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.3884, allocations: 0.9406 MB / 0.6785 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.002256/0.3906, allocations: 3.226 MB / 0.6817 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.001134/0.3918, allocations: 1.863 MB / 0.6835 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005472/0.3923, allocations: 370.9 kB / 0.6839 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0005184/0.3929, allocations: 89.12 kB / 0.6839 GB, free: 1.172 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 (615) * Number of variables: 767 (384) Notification: Performance of Bindings: time 0.009554/0.4024, allocations: 11.1 MB / 0.6948 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.001628/0.4041, allocations: 1.636 MB / 0.6964 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.009077/0.4131, allocations: 9.418 MB / 0.7056 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simplify1: time 0.0007455/0.4139, allocations: 0.5294 MB / 0.7061 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of Alias: time 0.01122/0.4252, allocations: 10.36 MB / 0.7162 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simplify2: time 0.0006487/0.4258, allocations: 415.5 kB / 0.7166 GB, free: 14.93 MB / 0.545 GB Notification: Performance of Events: time 0.001317/0.4272, allocations: 1.224 MB / 0.7178 GB, free: 13.71 MB / 0.545 GB Notification: Performance of Detect States: time 0.001249/0.4284, allocations: 1.496 MB / 0.7193 GB, free: 12.2 MB / 0.545 GB Notification: Performance of Partitioning: time 0.002657/0.4311, allocations: 2.524 MB / 0.7217 GB, free: 9.551 MB / 0.545 GB Notification: Performance of Causalize: time 0.02243/0.4535, allocations: 26.09 MB / 0.7472 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.2609/0.7145, allocations: 6.259 MB / 0.7533 GB, free: 62.48 MB / 0.5606 GB Notification: Performance of Inline: time 0.01516/0.7297, allocations: 12.61 MB / 0.7656 GB, free: 61.86 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0009848/0.7307, allocations: 405.6 kB / 0.766 GB, free: 61.74 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.001558/0.7323, allocations: 0.5076 MB / 0.7665 GB, free: 61.74 MB / 0.5606 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency sim.weaDat.filNam could not be devided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) sim.weaDat.timeSpan = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getTimeSpanTMY3(sim.weaDat.filNam, "tab1") ($RES_BND_866) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (104/200) **************************** (1) [PRMT] (1) protected Real sim.weaDat.add30Min.u1 = sim.weaDat.con30Min.k (fixed = true, start = sim.weaDat.con30Min.k) (2) [PRMT] (1) protected Real sim.weaDat.con30Min.y = sim.weaDat.con30Min.k (fixed = true, start = sim.weaDat.con30Min.k) (3) [PRMT] (1) protected Real sim.weaDat.tWetBul_TDryBulXi.p = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p, min = 0.0) (4) [PRMT] (1) Real sim.weaDatBus.pAtm = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p) (5) [PRMT] (1) Real sim.weaDat.weaBus.pAtm = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p) (6) [PRMT] (1) protected Real sim.weaDat.chePre.pAtm = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p) (7) [PRMT] (1) protected Real sim.weaDat.chePre.PIn = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p) (8) [PRMT] (1) protected Real sim.weaDat.pAtmSel.y = sim.weaDat.pAtmSel.p (fixed = true, start = sim.weaDat.pAtmSel.p) (9) [PRMT] (1) protected Real sim.weaDat.zenAng.lat = sim.weaDat.latitude.latitude (fixed = true, start = sim.weaDat.latitude.latitude) (10) [PRMT] (1) Real sim.weaDatBus.lat = sim.weaDat.latitude.latitude (fixed = true, start = sim.weaDat.latitude.latitude) (11) [PRMT] (1) Real sim.weaDat.weaBus.lat = sim.weaDat.latitude.latitude (fixed = true, start = sim.weaDat.latitude.latitude) (12) [PRMT] (1) protected Real sim.weaDat.latitude.y = sim.weaDat.latitude.latitude (fixed = true, start = sim.weaDat.latitude.latitude) (13) [PRMT] (1) Real sim.Qgai.T = sim.fixedTemperature.T (fixed = true, start = sim.fixedTemperature.T, min = 0.0, nominal = 300.0) (14) [PRMT] (1) Real sim.fixedTemperature.port.T = sim.fixedTemperature.T (fixed = true, start = sim.fixedTemperature.T, min = 0.0, nominal = 300.0) (15) [PRMT] (1) protected Real sim.relativeAirMass.alt = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (16) [PRMT] (1) Real sim.alt.y = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (17) [PRMT] (1) Real sim.weaDatBus.alt = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (18) [PRMT] (1) Real sim.alt.u = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (19) [PRMT] (1) Real sim.weaDat.weaBus.alt = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (20) [PRMT] (1) protected Real sim.weaDat.altitude.y = sim.weaDat.altitude.Altitude (fixed = true, start = sim.weaDat.altitude.Altitude) (21) [PRMT] (1) Real sim.weaDatBus.lon = sim.weaDat.longitude.longitude (fixed = true, start = sim.weaDat.longitude.longitude) (22) [PRMT] (1) Real sim.weaDat.weaBus.lon = sim.weaDat.longitude.longitude (fixed = true, start = sim.weaDat.longitude.longitude) (23) [PRMT] (1) protected Real sim.weaDat.longitude.y = sim.weaDat.longitude.longitude (fixed = true, start = sim.weaDat.longitude.longitude) (24) [PRMT] (1) Real sim.weaBus.Tdes = sim.Tdes (fixed = true, start = sim.Tdes, min = 0.0, nominal = 300.0) (25) [PRMT] (1) Real sim.TdesExpr.y = sim.Tdes (fixed = true, start = sim.Tdes) (26) [PRMT] (1) Real sim.weaBus.TGroundDes = sim.TdesGround (fixed = true, start = sim.TdesGround, min = 0.0, nominal = 300.0) (27) [PRMT] (1) protected Real sim.TGround.y = sim.TdesGround (fixed = true, start = sim.TdesGround) (28) [PRMT] (1) Real sim.weaDatBus.CEnv = 1.528635e-6 * sim.ppmCO2 (fixed = true, start = 1.528635e-6 * sim.ppmCO2) (29) [PRMT] (1) Real sim.weaBus.CEnv = 1.528635e-6 * sim.ppmCO2 (fixed = true, start = 1.528635e-6 * sim.ppmCO2) (30) [PRMT] (1) Real sim.weaDat.weaBus.CEnv = 1.528635e-6 * sim.ppmCO2 (fixed = true, start = 1.528635e-6 * sim.ppmCO2) (31) [PRMT] (1) Real sim.CEnv.y = 1.528635e-6 * sim.ppmCO2 (fixed = true, start = 1.528635e-6 * sim.ppmCO2) (32) [PRMT] (1) protected Real sim.XiEnv.p_in_internal = sim.XiEnv.p (fixed = true, start = sim.XiEnv.p) (33) [PRMT] (1) Real sim.Tground = sim.TdesGround (fixed = true, start = sim.TdesGround, min = 0.0, nominal = 300.0) (34) [PRMT] (1) protected final parameter Real sim.weaDat.altitude.Altitude = sim.weaDat.alt (fixed = true) (35) [PRMT] (1) protected final parameter Real sim.weaDat.longitude.longitude = sim.weaDat.lon (fixed = true) (36) [PRMT] (1) protected final parameter Real sim.weaDat.latitude.latitude = sim.weaDat.lat (fixed = true) (37) [PRMT] (1) protected parameter Boolean sim.weaDat.conTim.canRepeatWeatherFile = abs(mod(sim.weaDat.conTim.lenWea, 3.1536e7)) < 0.01 (fixed = true) (38) [PRMT] (1) protected parameter Real sim.weaDat.conTim.lenWea = sim.weaDat.conTim.weaDatEndTim - sim.weaDat.conTim.weaDatStaTim (fixed = true) (39) [PRMT] (1) protected final parameter Real sim.weaDat.conTim.weaDatEndTim = sim.weaDat.timeSpan[2] (fixed = true) (40) [PRMT] (1) protected final parameter Real sim.weaDat.conTim.weaDatStaTim = sim.weaDat.timeSpan[1] (fixed = true) (41) [PRMT] (1) protected parameter Boolean sim.weaDat.conTimMin.canRepeatWeatherFile = abs(mod(sim.weaDat.conTimMin.lenWea, 3.1536e7)) < 0.01 (fixed = true) (42) [PRMT] (1) protected parameter Real sim.weaDat.conTimMin.lenWea = sim.weaDat.conTimMin.weaDatEndTim - sim.weaDat.conTimMin.weaDatStaTim (fixed = true) (43) [PRMT] (1) protected final parameter Real sim.weaDat.conTimMin.weaDatEndTim = sim.weaDat.timeSpan[2] (fixed = true) (44) [PRMT] (1) protected final parameter Real sim.weaDat.conTimMin.weaDatStaTim = sim.weaDat.timeSpan[1] (fixed = true) (45) [PRMT] (1) protected final parameter Real sim.weaDat.datRea30Min.u_max = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmax(sim.weaDat.datRea30Min.tableID) (fixed = true) (46) [PRMT] (1) protected final parameter Real sim.weaDat.datRea30Min.u_min = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmin(sim.weaDat.datRea30Min.tableID) (fixed = true) (47) [PRMT] (1) protected final parameter String sim.weaDat.datRea30Min.fileName = sim.weaDat.filNam (fixed = true) (48) [PRMT] (1) protected final parameter Real sim.weaDat.locTim.diff = (sim.weaDat.locTim.lon * 43200.0) / 3.141592653589793 - sim.weaDat.locTim.timZon (fixed = true) (49) [PRMT] (1) protected final parameter Real sim.weaDat.locTim.lon = sim.weaDat.lon (fixed = true) (50) [PRMT] (1) protected final parameter Real sim.weaDat.locTim.timZon = sim.weaDat.timZon (fixed = true) (51) [PRMT] (1) protected final parameter Real sim.weaDat.horInfRadSel.p = sim.weaDat.HInfHor (fixed = true) (52) [PRMT] (1) protected final parameter Real sim.weaDat.winDirSel.p = sim.weaDat.winDir (fixed = true) (53) [PRMT] (1) protected final parameter Real sim.weaDat.winSpeSel.p = sim.weaDat.winSpe (fixed = true) (54) [PRMT] (1) protected final parameter Real sim.weaDat.totSkyCovSel.p = sim.weaDat.totSkyCov (fixed = true) (55) [PRMT] (1) protected final parameter Real sim.weaDat.ceiHeiSel.p = sim.weaDat.ceiHei (fixed = true) (56) [PRMT] (1) protected final parameter Real sim.weaDat.opaSkyCovSel.p = sim.weaDat.opaSkyCov (fixed = true) (57) [PRMT] (1) protected final parameter Real sim.weaDat.relHumSel.p = sim.weaDat.relHum (fixed = true) (58) [PRMT] (1) protected final parameter Real sim.weaDat.TBlaSkySel.p = sim.weaDat.TBlaSky (fixed = true) (59) [PRMT] (1) protected final parameter Real sim.weaDat.TDryBulSel.p = sim.weaDat.TDryBul (fixed = true) (60) [PRMT] (1) protected final parameter Real sim.weaDat.TDewPoiSel.p = sim.weaDat.TDewPoi (fixed = true) (61) [PRMT] (1) protected final parameter Real sim.weaDat.pAtmSel.p = sim.weaDat.pAtm (fixed = true) (62) [PRMT] (1) protected final parameter Real sim.weaDat.datRea.u_max = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmax(sim.weaDat.datRea.tableID) (fixed = true) (63) [PRMT] (1) protected final parameter Real sim.weaDat.datRea.u_min = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmin(sim.weaDat.datRea.tableID) (fixed = true) (64) [PRMT] (1) protected final parameter String sim.weaDat.datRea.fileName = sim.weaDat.filNam (fixed = true) (65) [PRMT] (2) protected final parameter Real[2] sim.weaDat.timeSpan = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getTimeSpanTMY3(sim.weaDat.filNam, "tab1") (fixed = {true for $i1 in 1:2}) (66) [PRMT] (1) protected final parameter Real sim.weaDat.alt = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getAltitudeLocationTMY3(sim.weaDat.filNam) (fixed = true) (67) [PRMT] (1) protected final parameter Real sim.weaDat.timZon = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3(sim.weaDat.filNam) (fixed = true) (68) [PRMT] (1) protected final parameter Real sim.weaDat.lat = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3(sim.weaDat.filNam) (fixed = true) (69) [PRMT] (1) protected final parameter Real sim.weaDat.lon = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3(sim.weaDat.filNam) (fixed = true) (70) [PRMT] (1) protected parameter String sim.weaDat.filNam = sim.filNam (fixed = true) (71) [PRMT] (1) final parameter Real sim.q50_av = if sim.A_tot < 1e-60 then 0.0 else sim.V50 / sim.A_tot (fixed = true) (72) [PRMT] (1) final parameter Real sim.q50_def = if sim.A_def < 1e-60 then sim.q50_av else sim.V50_def / sim.A_def (fixed = true) (73) [PRMT] (1) final parameter Real sim.V50 = sim.V_tot * sim.n50 (fixed = true) (74) [PRMT] (1) final parameter Real sim.V50_def = sim.V50 - sim.V50_custom (fixed = true) (75) [PRMT] (6) parameter Real[6] sim.radSol.inc = {sim.incAndAziInBus[$radSol1, 1] for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (76) [PRMT] (6) parameter Real[6] sim.radSol.azi = {sim.incAndAziInBus[$radSol1, 2] for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (77) [PRMT] (6) parameter Real[6] sim.radSol.lat = {sim.lat for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (78) [PRMT] (6) parameter Real[6] sim.radSol.incAng.azi = {sim.radSol[$radSol1].azi for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (79) [PRMT] (6) parameter Real[6] sim.radSol.incAng.til = {sim.radSol[$radSol1].inc for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (80) [PRMT] (6) parameter Real[6] sim.radSol.HDifTil.rho = {sim.radSol[$radSol1].rho for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (81) [PRMT] (6) parameter Real[6] sim.radSol.HDifTil.til = {sim.radSol[$radSol1].inc for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (82) [PRMT] (6) protected final parameter Real[6] sim.radSol.extConvCoeff.inc = {sim.radSol[$radSol1].inc for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (83) [PRMT] (6) protected final parameter Real[6] sim.radSol.extConvCoeff.azi = {sim.radSol[$radSol1].azi for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (84) [PRMT] (6) protected final parameter Boolean[6] sim.radSol.extConvCoeff.isCeiling = {true, false, false, false, false, false} (fixed = {true for $i1 in 1:6}) (85) [PRMT] (6) protected final parameter Boolean[6] sim.radSol.extConvCoeff.isFloor = {false, false, false, false, false, true} (fixed = {true for $i1 in 1:6}) (86) [PRMT] (6) parameter Real[6] sim.radSol.surfAzi.k = {sim.radSol[$radSol1].azi for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}, start = {1.0 for $i1 in 1:6}) (87) [PRMT] (6) protected final parameter Real[6] sim.radSol.Fssky = {(cos(sim.radSol[$radSol1].inc) + 1.0) / 2.0 for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (88) [PRMT] (6) protected final parameter Real[6] sim.radSol.beta = {cos(sim.radSol[$radSol1].inc / 2.0) for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (89) [PRMT] (6) protected final parameter Real[6] sim.radSol.coeffSky = {sim.radSol[$radSol1].Fssky * sim.radSol[$radSol1].beta for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (90) [PRMT] (6) protected final parameter Real[6] sim.radSol.coeffEnv = {1.0 - sim.radSol[$radSol1].beta * sim.radSol[$radSol1].Fssky for $radSol1 in 1:6} (fixed = {true for $i1 in 1:6}) (91) [PRMT] (1) protected parameter Boolean sim.XiEnv.found = true (fixed = true) (92) [PRMT] (1) protected parameter Integer sim.XiEnv.i_nw = 2 (fixed = true) (93) [PRMT] (1) final parameter Boolean sim.linearise = false (fixed = true) (94) [PRMT] (1) parameter Real sim.Cs = sim.A0 * sim.A0 * (sim.H / sim.Hwin) ^ (2.0 * sim.a) (fixed = true) (95) [PRMT] (5) final parameter Real[5] sim.aziOpts = {sim.incS, sim.incW, sim.incN, sim.incE, sim.incS} (fixed = {true for $i1 in 1:5}) (96) [PRMT] (12) parameter Real[6, 2] sim.incAndAziInBus = {{0.0, 0.0}, {1.5707963267948966, sim.incS}, {1.5707963267948966, sim.incW}, {1.5707963267948966, sim.incN}, {1.5707963267948966, sim.incE}, {3.141592653589793, 0.0}} (fixed = {true for $i1 in 1:6, $i2 in 1:2}) (97) [PRMT] (1) parameter Real sim.incE = sim.incS + 4.71238898038469 (fixed = true) (98) [PRMT] (1) parameter Real sim.incN = sim.incS + 3.141592653589793 (fixed = true) (99) [PRMT] (1) parameter Real sim.incW = sim.incS + 1.5707963267948966 (fixed = true) (100) [PRMT] (1) parameter Real sim.timZon = sim.weaDat.timZon (fixed = true) (101) [PRMT] (1) parameter Real sim.lon = sim.weaDat.lon (fixed = true) (102) [PRMT] (1) parameter Real sim.lat = sim.weaDat.lat (fixed = true) (103) [EXTO] (1) protected parameter Modelica.Blocks.Types.ExternalCombiTable1D sim.weaDat.datRea30Min.tableID = Modelica.Blocks.Types.ExternalCombiTable1D.constructor(sim.weaDat.datRea30Min.tableName, if sim.weaDat.datRea30Min.fileName <> "NoName" and not Modelica.Utilities.Strings.isEmpty(sim.weaDat.datRea30Min.fileName) then sim.weaDat.datRea30Min.fileName else "NoName", {}, sim.weaDat.datRea30Min.columns, Modelica.Blocks.Types.Smoothness.ContinuousDerivative, Modelica.Blocks.Types.Extrapolation.LastTwoPoints, sim.weaDat.datRea30Min.verboseRead) (fixed = true) (104) [EXTO] (1) protected parameter Modelica.Blocks.Types.ExternalCombiTable1D sim.weaDat.datRea.tableID = Modelica.Blocks.Types.ExternalCombiTable1D.constructor(sim.weaDat.datRea.tableName, if sim.weaDat.datRea.fileName <> "NoName" and not Modelica.Utilities.Strings.isEmpty(sim.weaDat.datRea.fileName) then sim.weaDat.datRea.fileName else "NoName", {}, sim.weaDat.datRea.columns, Modelica.Blocks.Types.Smoothness.ContinuousDerivative, Modelica.Blocks.Types.Extrapolation.LastTwoPoints, sim.weaDat.datRea.verboseRead) (fixed = true) System Equations (112/208) **************************** (1) [SCAL] (1) sim.A_def = 0.001 ($RES_SIM_0) (2) [SCAL] (1) sim.V50_custom = 0.0 ($RES_SIM_1) (3) [SCAL] (1) sim.A_tot = 1e-60 ($RES_SIM_2) (4) [SCAL] (1) sim.V_tot = 0.0 ($RES_SIM_3) (5) [ALGO] (1) ($RES_SIM_90) (5) [----] sim.weaDat.conTim.tNext := if sim.weaDat.conTim.canRepeatWeatherFile then integer(time / sim.weaDat.conTim.lenWea) * sim.weaDat.conTim.lenWea + sim.weaDat.conTim.lenWea else time; (6) [ALGO] (1) ($RES_SIM_94) (6) [----] sim.weaDat.conTimMin.tNext := if sim.weaDat.conTimMin.canRepeatWeatherFile then integer(sim.weaDat.add30Min.y / sim.weaDat.conTimMin.lenWea) * sim.weaDat.conTimMin.lenWea + sim.weaDat.conTimMin.lenWea else time; (7) [SCAL] (1) $PRE.sim.weaDat.conTimMin.tNext = $START.sim.weaDat.conTimMin.tNext ($RES_SRT_814) (8) [SCAL] (1) $PRE.sim.weaDat.conTim.tNext = $START.sim.weaDat.conTim.tNext ($RES_SRT_813) (9) [SCAL] (1) sim.weaDat.add30Min.u1 = sim.weaDat.con30Min.k ($RES_BND_930) (10) [SCAL] (1) sim.weaDat.con30Min.y = sim.weaDat.con30Min.k ($RES_BND_929) (11) [SCAL] (1) sim.weaDat.tWetBul_TDryBulXi.p = sim.weaDat.pAtmSel.p ($RES_BND_928) (12) [SCAL] (1) sim.weaDatBus.pAtm = sim.weaDat.pAtmSel.p ($RES_BND_927) (13) [SCAL] (1) sim.weaDat.weaBus.pAtm = sim.weaDat.pAtmSel.p ($RES_BND_926) (14) [SCAL] (1) sim.weaDat.chePre.pAtm = sim.weaDat.pAtmSel.p ($RES_BND_925) (15) [SCAL] (1) sim.weaDat.chePre.PIn = sim.weaDat.pAtmSel.p ($RES_BND_924) (16) [SCAL] (1) sim.weaDat.pAtmSel.y = sim.weaDat.pAtmSel.p ($RES_BND_923) (17) [SCAL] (1) sim.weaDat.zenAng.lat = sim.weaDat.latitude.latitude ($RES_BND_922) (18) [SCAL] (1) sim.weaDatBus.lat = sim.weaDat.latitude.latitude ($RES_BND_921) (19) [SCAL] (1) sim.weaDat.weaBus.lat = sim.weaDat.latitude.latitude ($RES_BND_920) (20) [SCAL] (1) sim.weaDat.latitude.y = sim.weaDat.latitude.latitude ($RES_BND_919) (21) [SCAL] (1) sim.Qgai.T = sim.fixedTemperature.T ($RES_BND_918) (22) [SCAL] (1) sim.fixedTemperature.port.T = sim.fixedTemperature.T ($RES_BND_917) (23) [SCAL] (1) sim.relativeAirMass.alt = sim.weaDat.altitude.Altitude ($RES_BND_916) (24) [SCAL] (1) sim.alt.y = sim.weaDat.altitude.Altitude ($RES_BND_915) (25) [SCAL] (1) sim.weaDatBus.alt = sim.weaDat.altitude.Altitude ($RES_BND_914) (26) [SCAL] (1) sim.alt.u = sim.weaDat.altitude.Altitude ($RES_BND_913) (27) [SCAL] (1) sim.weaDat.weaBus.alt = sim.weaDat.altitude.Altitude ($RES_BND_912) (28) [SCAL] (1) sim.weaDat.altitude.y = sim.weaDat.altitude.Altitude ($RES_BND_911) (29) [SCAL] (1) sim.weaDatBus.lon = sim.weaDat.longitude.longitude ($RES_BND_910) (30) [SCAL] (1) sim.weaDat.weaBus.lon = sim.weaDat.longitude.longitude ($RES_BND_909) (31) [SCAL] (1) sim.weaDat.longitude.y = sim.weaDat.longitude.longitude ($RES_BND_908) (32) [SCAL] (1) sim.weaBus.Tdes = sim.Tdes ($RES_BND_907) (33) [SCAL] (1) sim.TdesExpr.y = sim.Tdes ($RES_BND_906) (34) [SCAL] (1) sim.weaBus.TGroundDes = sim.TdesGround ($RES_BND_905) (35) [SCAL] (1) sim.TGround.y = sim.TdesGround ($RES_BND_904) (36) [SCAL] (1) sim.weaDatBus.CEnv = 1.528635e-6 * sim.ppmCO2 ($RES_BND_903) (37) [SCAL] (1) sim.weaBus.CEnv = 1.528635e-6 * sim.ppmCO2 ($RES_BND_902) (38) [SCAL] (1) sim.weaDat.weaBus.CEnv = 1.528635e-6 * sim.ppmCO2 ($RES_BND_901) (39) [SCAL] (1) sim.CEnv.y = 1.528635e-6 * sim.ppmCO2 ($RES_BND_900) (40) [SCAL] (1) sim.XiEnv.p_in_internal = sim.XiEnv.p ($RES_BND_899) (41) [SCAL] (1) sim.Tground = sim.TdesGround ($RES_BND_898) (42) [SCAL] (1) sim.weaDat.altitude.Altitude = sim.weaDat.alt ($RES_BND_897) (43) [SCAL] (1) sim.weaDat.longitude.longitude = sim.weaDat.lon ($RES_BND_896) (44) [SCAL] (1) sim.weaDat.latitude.latitude = sim.weaDat.lat ($RES_BND_895) (45) [SCAL] (1) sim.weaDat.conTim.canRepeatWeatherFile = abs(mod(sim.weaDat.conTim.lenWea, 3.1536e7)) < 0.01 ($RES_BND_894) (46) [SCAL] (1) sim.weaDat.conTim.lenWea = sim.weaDat.conTim.weaDatEndTim - sim.weaDat.conTim.weaDatStaTim ($RES_BND_893) (47) [SCAL] (1) sim.weaDat.conTim.weaDatEndTim = sim.weaDat.timeSpan[2] ($RES_BND_892) (48) [SCAL] (1) sim.weaDat.conTim.weaDatStaTim = sim.weaDat.timeSpan[1] ($RES_BND_891) (49) [SCAL] (1) sim.weaDat.conTimMin.canRepeatWeatherFile = abs(mod(sim.weaDat.conTimMin.lenWea, 3.1536e7)) < 0.01 ($RES_BND_890) (50) [SCAL] (1) sim.weaDat.conTimMin.lenWea = sim.weaDat.conTimMin.weaDatEndTim - sim.weaDat.conTimMin.weaDatStaTim ($RES_BND_889) (51) [SCAL] (1) sim.weaDat.conTimMin.weaDatEndTim = sim.weaDat.timeSpan[2] ($RES_BND_888) (52) [SCAL] (1) sim.weaDat.conTimMin.weaDatStaTim = sim.weaDat.timeSpan[1] ($RES_BND_887) (53) [SCAL] (1) sim.weaDat.datRea30Min.u_max = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmax(sim.weaDat.datRea30Min.tableID) ($RES_BND_886) (54) [SCAL] (1) sim.weaDat.datRea30Min.u_min = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmin(sim.weaDat.datRea30Min.tableID) ($RES_BND_885) (55) [SCAL] (1) sim.weaDat.datRea30Min.fileName = sim.weaDat.filNam ($RES_BND_884) (56) [SCAL] (1) sim.weaDat.locTim.diff = 13750.987083139758 * sim.weaDat.locTim.lon - sim.weaDat.locTim.timZon ($RES_BND_883) (57) [SCAL] (1) sim.weaDat.locTim.lon = sim.weaDat.lon ($RES_BND_882) (58) [SCAL] (1) sim.weaDat.locTim.timZon = sim.weaDat.timZon ($RES_BND_881) (59) [SCAL] (1) sim.weaDat.horInfRadSel.p = sim.weaDat.HInfHor ($RES_BND_880) (60) [SCAL] (1) sim.weaDat.winDirSel.p = sim.weaDat.winDir ($RES_BND_879) (61) [SCAL] (1) sim.weaDat.winSpeSel.p = sim.weaDat.winSpe ($RES_BND_878) (62) [SCAL] (1) sim.weaDat.totSkyCovSel.p = sim.weaDat.totSkyCov ($RES_BND_877) (63) [SCAL] (1) sim.weaDat.ceiHeiSel.p = sim.weaDat.ceiHei ($RES_BND_876) (64) [SCAL] (1) sim.weaDat.opaSkyCovSel.p = sim.weaDat.opaSkyCov ($RES_BND_875) (65) [SCAL] (1) sim.weaDat.relHumSel.p = sim.weaDat.relHum ($RES_BND_874) (66) [SCAL] (1) sim.weaDat.TBlaSkySel.p = sim.weaDat.TBlaSky ($RES_BND_873) (67) [SCAL] (1) sim.weaDat.TDryBulSel.p = sim.weaDat.TDryBul ($RES_BND_872) (68) [SCAL] (1) sim.weaDat.TDewPoiSel.p = sim.weaDat.TDewPoi ($RES_BND_871) (69) [SCAL] (1) sim.weaDat.pAtmSel.p = sim.weaDat.pAtm ($RES_BND_870) (70) [SCAL] (1) sim.weaDat.datRea.u_max = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmax(sim.weaDat.datRea.tableID) ($RES_BND_869) (71) [SCAL] (1) sim.weaDat.datRea.u_min = Modelica.Blocks.Tables.Internal.getTable1DAbscissaUmin(sim.weaDat.datRea.tableID) ($RES_BND_868) (72) [SCAL] (1) sim.weaDat.datRea.fileName = sim.weaDat.filNam ($RES_BND_867) (73) [ARRY] (2) sim.weaDat.timeSpan = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getTimeSpanTMY3(sim.weaDat.filNam, "tab1") ($RES_BND_866) (74) [SCAL] (1) sim.weaDat.alt = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getAltitudeLocationTMY3(sim.weaDat.filNam) ($RES_BND_865) (75) [SCAL] (1) sim.weaDat.timZon = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3(sim.weaDat.filNam) ($RES_BND_864) (76) [SCAL] (1) sim.weaDat.lat = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3(sim.weaDat.filNam) ($RES_BND_863) (77) [SCAL] (1) sim.weaDat.lon = IDEAS.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3(sim.weaDat.filNam) ($RES_BND_862) (78) [SCAL] (1) sim.weaDat.filNam = sim.filNam ($RES_BND_861) (79) [SCAL] (1) sim.q50_av = if sim.A_tot < 1e-60 then 0.0 else sim.V50 / sim.A_tot ($RES_BND_860) (80) [SCAL] (1) sim.q50_def = if sim.A_def < 1e-60 then sim.q50_av else sim.V50_def / sim.A_def ($RES_BND_859) (81) [SCAL] (1) sim.V50 = sim.V_tot * sim.n50 ($RES_BND_858) (82) [SCAL] (1) sim.V50_def = sim.V50 - sim.V50_custom ($RES_BND_857) (83) [FOR-] (6) ($RES_BND_855) (83) [----] for $i1 in 1:6 loop (83) [----] [SCAL] (1) sim.radSol[$i1].inc = sim.incAndAziInBus[$i1, 1] ($RES_BND_856) (83) [----] end for; (84) [FOR-] (6) ($RES_BND_853) (84) [----] for $i1 in 1:6 loop (84) [----] [SCAL] (1) sim.radSol[$i1].azi = sim.incAndAziInBus[$i1, 2] ($RES_BND_854) (84) [----] end for; (85) [FOR-] (6) ($RES_BND_851) (85) [----] for $i1 in 1:6 loop (85) [----] [SCAL] (1) sim.radSol[$i1].lat = sim.lat ($RES_BND_852) (85) [----] end for; (86) [FOR-] (6) ($RES_BND_849) (86) [----] for $i1 in 1:6 loop (86) [----] [SCAL] (1) sim.radSol[$i1].incAng.azi = sim.radSol[$i1].azi ($RES_BND_850) (86) [----] end for; (87) [FOR-] (6) ($RES_BND_847) (87) [----] for $i1 in 1:6 loop (87) [----] [SCAL] (1) sim.radSol[$i1].incAng.til = sim.radSol[$i1].inc ($RES_BND_848) (87) [----] end for; (88) [FOR-] (6) ($RES_BND_845) (88) [----] for $i1 in 1:6 loop (88) [----] [SCAL] (1) sim.radSol[$i1].HDifTil.rho = sim.radSol[$i1].rho ($RES_BND_846) (88) [----] end for; (89) [FOR-] (6) ($RES_BND_843) (89) [----] for $i1 in 1:6 loop (89) [----] [SCAL] (1) sim.radSol[$i1].HDifTil.til = sim.radSol[$i1].inc ($RES_BND_844) (89) [----] end for; (90) [FOR-] (6) ($RES_BND_841) (90) [----] for $i1 in 1:6 loop (90) [----] [SCAL] (1) sim.radSol[$i1].extConvCoeff.inc = sim.radSol[$i1].inc ($RES_BND_842) (90) [----] end for; (91) [FOR-] (6) ($RES_BND_839) (91) [----] for $i1 in 1:6 loop (91) [----] [SCAL] (1) sim.radSol[$i1].extConvCoeff.azi = sim.radSol[$i1].azi ($RES_BND_840) (91) [----] end for; (92) [ARRY] (6) sim.radSol.extConvCoeff.isCeiling = {true, false, false, false, false, false} ($RES_BND_838) (93) [ARRY] (6) sim.radSol.extConvCoeff.isFloor = {false, false, false, false, false, true} ($RES_BND_837) (94) [FOR-] (6) ($RES_BND_835) (94) [----] for $i1 in 1:6 loop (94) [----] [SCAL] (1) sim.radSol[$i1].surfAzi.k = sim.radSol[$i1].azi ($RES_BND_836) (94) [----] end for; (95) [FOR-] (6) ($RES_BND_833) (95) [----] for $i1 in 1:6 loop (95) [----] [SCAL] (1) sim.radSol[$i1].Fssky = 0.5 * (1.0 + cos(sim.radSol[$i1].inc)) ($RES_BND_834) (95) [----] end for; (96) [FOR-] (6) ($RES_BND_831) (96) [----] for $i1 in 1:6 loop (96) [----] [SCAL] (1) sim.radSol[$i1].beta = cos(0.5 * sim.radSol[$i1].inc) ($RES_BND_832) (96) [----] end for; (97) [FOR-] (6) ($RES_BND_829) (97) [----] for $i1 in 1:6 loop (97) [----] [SCAL] (1) sim.radSol[$i1].coeffSky = sim.radSol[$i1].Fssky * sim.radSol[$i1].beta ($RES_BND_830) (97) [----] end for; (98) [FOR-] (6) ($RES_BND_827) (98) [----] for $i1 in 1:6 loop (98) [----] [SCAL] (1) sim.radSol[$i1].coeffEnv = 1.0 - sim.radSol[$i1].beta * sim.radSol[$i1].Fssky ($RES_BND_828) (98) [----] end for; (99) [SCAL] (1) sim.XiEnv.found = true ($RES_BND_826) (100) [SCAL] (1) sim.XiEnv.i_nw = 2 ($RES_BND_825) (101) [SCAL] (1) sim.linearise = false ($RES_BND_824) (102) [SCAL] (1) sim.Cs = sim.A0 * sim.A0 * (sim.H / sim.Hwin) ^ (2.0 * sim.a) ($RES_BND_823) (103) [ARRY] (5) sim.aziOpts = {sim.incS, sim.incW, sim.incN, sim.incE, sim.incS} ($RES_BND_822) (104) [ARRY] (12) sim.incAndAziInBus = {{0.0, 0.0}, {1.5707963267948966, sim.incS}, {1.5707963267948966, sim.incW}, {1.5707963267948966, sim.incN}, {1.5707963267948966, sim.incE}, {3.141592653589793, 0.0}} ($RES_BND_821) (105) [SCAL] (1) sim.incE = 4.71238898038469 + sim.incS ($RES_BND_820) (106) [SCAL] (1) sim.incN = 3.141592653589793 + sim.incS ($RES_BND_819) (107) [SCAL] (1) sim.incW = 1.5707963267948966 + sim.incS ($RES_BND_818) (108) [SCAL] (1) sim.timZon = sim.weaDat.timZon ($RES_BND_817) (109) [SCAL] (1) sim.lon = sim.weaDat.lon ($RES_BND_816) (110) [SCAL] (1) sim.lat = sim.weaDat.lat ($RES_BND_815) (111) [RECD] (1) sim.weaDat.datRea30Min.tableID = Modelica.Blocks.Types.ExternalCombiTable1D.constructor(sim.weaDat.datRea30Min.tableName, if sim.weaDat.datRea30Min.fileName <> "NoName" and not Modelica.Utilities.Strings.isEmpty(sim.weaDat.datRea30Min.fileName) then sim.weaDat.datRea30Min.fileName else "NoName", {}, sim.weaDat.datRea30Min.columns, Modelica.Blocks.Types.Smoothness.ContinuousDerivative, Modelica.Blocks.Types.Extrapolation.LastTwoPoints, sim.weaDat.datRea30Min.verboseRead) ($RES_BND_932) (112) [RECD] (1) sim.weaDat.datRea.tableID = Modelica.Blocks.Types.ExternalCombiTable1D.constructor(sim.weaDat.datRea.tableName, if sim.weaDat.datRea.fileName <> "NoName" and not Modelica.Utilities.Strings.isEmpty(sim.weaDat.datRea.fileName) then sim.weaDat.datRea.fileName else "NoName", {}, sim.weaDat.datRea.columns, Modelica.Blocks.Types.Smoothness.ContinuousDerivative, Modelica.Blocks.Types.Extrapolation.LastTwoPoints, sim.weaDat.datRea.verboseRead) ($RES_BND_931) Error: Internal error NBInitialization.main failed to apply modules!