Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.331/2.331, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 180.6 kB / 0.4902 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.705/1.705, allocations: 223.1 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 106.2 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004621, allocations: 7.062 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.363, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.597, allocations: 155.3 MB / 1.381 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5974, allocations: 83.95 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[7].size to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[7].Rdc to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[7].d to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[7].D to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[7].GMR to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[7].GMD to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[6].size to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[6].Rdc to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[6].d to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[6].D to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[6].GMR to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[6].GMD to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[5].size to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[5].Rdc to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[5].d to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[5].D to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[5].GMR to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[5].GMD to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[4].size to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[4].Rdc to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[4].d to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[4].D to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[4].GMR to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[4].GMD to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[3].size to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[3].Rdc to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[3].d to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[3].D to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[3].GMR to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[3].GMD to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[2].size to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[2].Rdc to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[2].d to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[2].D to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[2].GMR to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[2].GMD to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[1].size to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[1].Rdc to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[1].d to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[1].D to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[1].GMR to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/Functions/Validation/SelectCable_med.mo:15:3-18:21:writable] Notification: Moving binding to initial equation section and setting fixed attribute of cab[1].GMD to false. Notification: Performance of FrontEnd - DAE generated: time 0.0536/0.651, allocations: 20.96 MB / 1.401 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.717e-06/0.651, allocations: 0 / 1.401 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.651, allocations: 4 kB / 1.401 GB, free: 8.84 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0009875/0.652, allocations: 0.5177 MB / 1.402 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/0.6521, allocations: 12.52 kB / 1.402 GB, free: 8.262 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.6523, allocations: 102.9 kB / 1.402 GB, free: 8.16 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.6527, allocations: 297.1 kB / 1.402 GB, free: 7.832 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.6528, allocations: 162.5 kB / 1.403 GB, free: 7.672 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6529, allocations: 150.6 kB / 1.403 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.653, allocations: 101 kB / 1.403 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.348e-05/0.6531, allocations: 79.28 kB / 1.403 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/0.6532, allocations: 150.6 kB / 1.403 GB, free: 7.191 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.68e-05/0.6533, allocations: 154.6 kB / 1.403 GB, free: 7.039 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.623e-05/0.6534, allocations: 158.5 kB / 1.403 GB, free: 6.883 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.654, allocations: 0.5172 MB / 1.404 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.6541, allocations: 177.1 kB / 1.404 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.6541, allocations: 83.23 kB / 1.404 GB, free: 6.051 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.112e-05/0.6542, allocations: 110.7 kB / 1.404 GB, free: 5.934 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 2.093e-06/0.6542, allocations: 3.938 kB / 1.404 GB, free: 5.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 0.0001349/0.6544, allocations: 45.42 kB / 1.404 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.6545, allocations: 130.7 kB / 1.404 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.6551, allocations: 360.5 kB / 1.405 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.6551, allocations: 29.7 kB / 1.405 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.6553, allocations: 143.7 kB / 1.405 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-06/0.6553, allocations: 4 kB / 1.405 GB, free: 5.191 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-08/0.6553, allocations: 0 / 1.405 GB, free: 5.191 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.6555, allocations: 338.8 kB / 1.405 GB, free: 4.852 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.6555, allocations: 48.66 kB / 1.405 GB, free: 4.801 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.656, allocations: 388.4 kB / 1.406 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.6563, allocations: 171.8 kB / 1.406 GB, free: 4.125 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.6564, allocations: 4 kB / 1.406 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008818/0.6572, allocations: 0.5009 MB / 1.406 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.6573, allocations: 11.95 kB / 1.406 GB, free: 3.602 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.6573, allocations: 15.94 kB / 1.406 GB, free: 3.586 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.6573, allocations: 12 kB / 1.406 GB, free: 3.574 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.6576, allocations: 67.84 kB / 1.406 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.6576, allocations: 16.53 kB / 1.406 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.6579, allocations: 51.53 kB / 1.406 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.6579, allocations: 20 kB / 1.406 GB, free: 3.422 MB / 0.9011 GB Warning: Assuming fixed start value for the following 42 variables: cab[7].GMD:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Diameter of the cable" type: Real [7] cab[7].GMR:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Radius of the cable" type: Real [7] cab[7].D:VARIABLE(unit = "m" fixed = true ) "Outer diameter" type: Real [7] cab[7].d:VARIABLE(unit = "m" fixed = true ) "Inner diameter" type: Real [7] cab[7].Rdc:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic DC resistance of the cable @ T_ref" type: Real [7] cab[7].size:VARIABLE(start = "" ) "AWG or kcmil code representing the conductor size" type: String [7] cab[6].GMD:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Diameter of the cable" type: Real [7] cab[6].GMR:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Radius of the cable" type: Real [7] cab[6].D:VARIABLE(unit = "m" fixed = true ) "Outer diameter" type: Real [7] cab[6].d:VARIABLE(unit = "m" fixed = true ) "Inner diameter" type: Real [7] cab[6].Rdc:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic DC resistance of the cable @ T_ref" type: Real [7] cab[6].size:VARIABLE(start = "" ) "AWG or kcmil code representing the conductor size" type: String [7] cab[5].GMD:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Diameter of the cable" type: Real [7] cab[5].GMR:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Radius of the cable" type: Real [7] cab[5].D:VARIABLE(unit = "m" fixed = true ) "Outer diameter" type: Real [7] cab[5].d:VARIABLE(unit = "m" fixed = true ) "Inner diameter" type: Real [7] cab[5].Rdc:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic DC resistance of the cable @ T_ref" type: Real [7] cab[5].size:VARIABLE(start = "" ) "AWG or kcmil code representing the conductor size" type: String [7] cab[4].GMD:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Diameter of the cable" type: Real [7] cab[4].GMR:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Radius of the cable" type: Real [7] cab[4].D:VARIABLE(unit = "m" fixed = true ) "Outer diameter" type: Real [7] cab[4].d:VARIABLE(unit = "m" fixed = true ) "Inner diameter" type: Real [7] cab[4].Rdc:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic DC resistance of the cable @ T_ref" type: Real [7] cab[4].size:VARIABLE(start = "" ) "AWG or kcmil code representing the conductor size" type: String [7] cab[3].GMD:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Diameter of the cable" type: Real [7] cab[3].GMR:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Radius of the cable" type: Real [7] cab[3].D:VARIABLE(unit = "m" fixed = true ) "Outer diameter" type: Real [7] cab[3].d:VARIABLE(unit = "m" fixed = true ) "Inner diameter" type: Real [7] cab[3].Rdc:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic DC resistance of the cable @ T_ref" type: Real [7] cab[3].size:VARIABLE(start = "" ) "AWG or kcmil code representing the conductor size" type: String [7] cab[2].GMD:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Diameter of the cable" type: Real [7] cab[2].GMR:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Radius of the cable" type: Real [7] cab[2].D:VARIABLE(unit = "m" fixed = true ) "Outer diameter" type: Real [7] cab[2].d:VARIABLE(unit = "m" fixed = true ) "Inner diameter" type: Real [7] cab[2].Rdc:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic DC resistance of the cable @ T_ref" type: Real [7] cab[2].size:VARIABLE(start = "" ) "AWG or kcmil code representing the conductor size" type: String [7] cab[1].GMD:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Diameter of the cable" type: Real [7] cab[1].GMR:VARIABLE(unit = "m" fixed = true ) "Geometrical Mean Radius of the cable" type: Real [7] cab[1].D:VARIABLE(unit = "m" fixed = true ) "Outer diameter" type: Real [7] cab[1].d:VARIABLE(unit = "m" fixed = true ) "Inner diameter" type: Real [7] cab[1].Rdc:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic DC resistance of the cable @ T_ref" type: Real [7] cab[1].size:VARIABLE(start = "" ) "AWG or kcmil code representing the conductor size" type: String [7] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006429/0.6586, allocations: 395.5 kB / 1.407 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.6587, allocations: 128.6 kB / 1.407 GB, free: 2.895 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.992e-05/0.6588, allocations: 122.9 kB / 1.407 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.093e-05/0.6589, allocations: 184.2 kB / 1.407 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.763e-05/0.659, allocations: 180.2 kB / 1.407 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/0.6591, allocations: 188.2 kB / 1.408 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.6596, allocations: 473.2 kB / 1.408 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.477e-05/0.6596, allocations: 101 kB / 1.408 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.6597, allocations: 108.9 kB / 1.408 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.329e-05/0.6598, allocations: 176.3 kB / 1.408 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.6599, allocations: 180.2 kB / 1.409 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001226/0.6601, allocations: 188.2 kB / 1.409 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001183/0.6602, allocations: 188.2 kB / 1.409 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.6604, allocations: 319.5 kB / 1.409 GB, free: 392 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.6606, allocations: 213.6 kB / 1.409 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.6608, allocations: 180.3 kB / 1.41 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.661, allocations: 104.9 kB / 1.41 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.6611, allocations: 180.2 kB / 1.41 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/0.6612, allocations: 105.3 kB / 1.41 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003372/0.6615, allocations: 275.1 kB / 1.41 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6615, allocations: 3.938 kB / 1.41 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005692/0.6621, allocations: 75.94 kB / 1.41 GB, free: 15.22 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004937/0.6626, allocations: 251.2 kB / 1.411 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.663, allocations: 217 kB / 1.411 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.663, allocations: 0 / 1.411 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.436e-06/0.663, allocations: 0 / 1.411 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/0.6638, allocations: 0.5885 MB / 1.411 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009069/0.6647, allocations: 0.5357 MB / 1.412 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.6653, allocations: 0.7791 MB / 1.413 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.6654, allocations: 41.5 kB / 1.413 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.6655, allocations: 15.44 kB / 1.413 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of SimCode: time 2.1e-07/0.6655, allocations: 0 / 1.413 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of Templates: time 0.008742/0.6742, allocations: 3.788 MB / 1.416 GB, free: 8.988 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,cab[1].Amp,cab[2].Amp,cab[3].Amp,cab[4].Amp,cab[5].Amp,cab[6].Amp,cab[7].Amp Variables in the result:I_nominal[1],I_nominal[2],I_nominal[3],I_nominal[4],I_nominal[5],I_nominal[6],I_nominal[7],P_nominal[1],P_nominal[2],P_nominal[3],P_nominal[4],P_nominal[5],P_nominal[6],P_nominal[7],V_nominal,cab[1].Amp,cab[1].D,cab[1].GMD,cab[1].GMR,cab[1].M,cab[1].Rdc,cab[1].T_ref,cab[1].d,cab[1].material,cab[2].Amp,cab[2].D,cab[2].GMD,cab[2].GMR,cab[2].M,cab[2].Rdc,cab[2].T_ref,cab[2].d,cab[2].material,cab[3].Amp,cab[3].D,cab[3].GMD,cab[3].GMR,cab[3].M,cab[3].Rdc,cab[3].T_ref,cab[3].d,cab[3].material,cab[4].Amp,cab[4].D,cab[4].GMD,cab[4].GMR,cab[4].M,cab[4].Rdc,cab[4].T_ref,cab[4].d,cab[4].material,cab[5].Amp,cab[5].D,cab[5].GMD,cab[5].GMR,cab[5].M,cab[5].Rdc,cab[5].T_ref,cab[5].d,cab[5].material,cab[6].Amp,cab[6].D,cab[6].GMD,cab[6].GMR,cab[6].M,cab[6].Rdc,cab[6].T_ref,cab[6].d,cab[6].material,cab[7].Amp,cab[7].D,cab[7].GMD,cab[7].GMR,cab[7].M,cab[7].Rdc,cab[7].T_ref,cab[7].d,cab[7].material,safety_factor,time