Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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: "" <> buildModelFMU(AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary,fileNamePrefix="AES_AES_Coursework_ElecSys_case_studies_Primary_secondary_tertiary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary,fileNamePrefix="AES_AES_Coursework_ElecSys_case_studies_Primary_secondary_tertiary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005125/0.005125, allocations: 99.64 kB / 15.73 MB, free: 5.551 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.001137/0.001137, allocations: 193.7 kB / 16.67 MB, free: 5.492 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.196/0.196, allocations: 22.35 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 64.48 kB / 436.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.1011, allocations: 54.96 MB / 491.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary): time 0.003098/0.1042, allocations: 2.531 MB / 494.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1057, allocations: 0.7718 MB / 494.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.106, allocations: 4 kB / 494.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.1064, allocations: 95.22 kB / 494.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.1068, allocations: 139.1 kB / 495.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.1072, allocations: 191.7 kB / 495.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.1078, allocations: 0.5149 MB / 495.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.1081, allocations: 120.7 kB / 495.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.1084, allocations: 231.1 kB / 496.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.1088, allocations: 235 kB / 496.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.1089, allocations: 32 kB / 496.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.1089, allocations: 36 kB / 496.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1091, allocations: 107.6 kB / 496.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.1093, allocations: 198.7 kB / 496.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.1097, allocations: 398.7 kB / 497.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1097, allocations: 0 / 497.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1097, allocations: 4 kB / 497.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1097, allocations: 0 / 497.1 MB, free: 12.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001936/0.1117, allocations: 0.8318 MB / 497.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.1117, allocations: 16.02 kB / 497.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.815e-05/0.1118, allocations: 58.73 kB / 498 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.1119, allocations: 48.38 kB / 498.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/0.1127, allocations: 427.6 kB / 498.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.1128, allocations: 32.58 kB / 498.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.1128, allocations: 28 kB / 498.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.1133, allocations: 301.8 kB / 498.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1133, allocations: 3.938 kB / 498.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.1134, allocations: 12 kB / 498.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.1134, allocations: 4 kB / 498.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.1138, allocations: 222.1 kB / 499.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.1154, allocations: 1.034 MB / 0.4884 GB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007645/0.1161, allocations: 383.5 kB / 0.4887 GB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.1164, allocations: 152.7 kB / 0.4889 GB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1164, allocations: 11.98 kB / 0.4889 GB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1164, allocations: 38.56 kB / 0.4889 GB, free: 8.355 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.1164, allocations: 0 / 0.4889 GB, free: 8.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.001926/0.1184, allocations: 1.103 MB / 0.49 GB, free: 7.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.1184, allocations: 55.41 kB / 0.4901 GB, free: 7.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007214/0.1192, allocations: 429.6 kB / 0.4905 GB, free: 6.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1192, allocations: 33.7 kB / 0.4905 GB, free: 6.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1193, allocations: 200.4 kB / 0.4907 GB, free: 6.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1194, allocations: 145.9 kB / 0.4908 GB, free: 6.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.1195, allocations: 70.14 kB / 0.4909 GB, free: 6.223 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1197, allocations: 354.8 kB / 0.4912 GB, free: 5.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1199, allocations: 108.8 kB / 0.4913 GB, free: 5.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1201, allocations: 169.8 kB / 0.4915 GB, free: 5.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.1217, allocations: 0.6179 MB / 0.4921 GB, free: 4.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1217, allocations: 0 / 0.4921 GB, free: 4.938 MB / 366.1 MB Warning: The linear system: 1 : Ge2.Pm = Ge2.Pcmd 2 : Ge2.Pm = Ge2.Pcmd [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ Ge2.Pm ; Ge2.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable Ge2.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : Ge1.Pm = Ge1.Pcmd 2 : Ge1.Pm = Ge1.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ Ge1.Pcmd ; Ge1.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable Ge1.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=52) (initialization): time 0.001041/0.1227, allocations: 0.8018 MB / 0.4929 GB, free: 4.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1227, allocations: 6.188 kB / 0.4929 GB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1228, allocations: 4 kB / 0.4929 GB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.123, allocations: 98.61 kB / 0.493 GB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.1234, allocations: 87.89 kB / 0.4931 GB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/0.1281, allocations: 7.944 MB / 0.5008 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.1285, allocations: 48.02 kB / 0.5009 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.1286, allocations: 16 kB / 0.5009 GB, free: 11.3 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: Ge2.deltag:VARIABLE(unit = "rad" fixed = true ) "generator angle wrt port" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (Cs.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.1288, allocations: 169.6 kB / 0.5011 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.1289, allocations: 35.72 kB / 0.5011 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/0.129, allocations: 52.06 kB / 0.5011 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.129, allocations: 7.938 kB / 0.5012 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.129, allocations: 0 / 0.5012 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.129, allocations: 3.984 kB / 0.5012 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.1303, allocations: 0.8783 MB / 0.502 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1303, allocations: 4 kB / 0.502 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.1306, allocations: 59.97 kB / 0.5021 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.1309, allocations: 76.72 kB / 0.5021 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.1309, allocations: 11.98 kB / 0.5022 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.1325, allocations: 1.888 MB / 0.504 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1326, allocations: 3.938 kB / 0.504 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009001/0.1335, allocations: 0.6118 MB / 0.5046 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1336, allocations: 120.6 kB / 0.5047 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.1337, allocations: 11.98 kB / 0.5047 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.134, allocations: 35.95 kB / 0.5048 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.1341, allocations: 23.91 kB / 0.5048 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.1342, allocations: 16 kB / 0.5048 GB, free: 7.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000642/0.1348, allocations: 323.1 kB / 0.5051 GB, free: 6.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1348, allocations: 0 / 0.5051 GB, free: 6.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005794/0.1354, allocations: 84 kB / 0.5052 GB, free: 6.656 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (g1.x_scaled[1],g2.x_scaled[1],Cs.y,Ge1.deltag,Ge1.wg,Ge2.thetap,Ge2.deltag,Ge2.wg) * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.1366, allocations: 1.172 MB / 0.5063 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009235/0.1375, allocations: 0.6545 MB / 0.507 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1376, allocations: 0 / 0.507 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.1379, allocations: 282.5 kB / 0.5072 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.1384, allocations: 66.62 kB / 0.5073 GB, free: 4.402 MB / 382.1 MB Warning: The linear system: 1 : Ge2.Pm = Ge2.Pcmd 2 : Ge2.Pm = Ge2.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ Ge2.Pcmd ; Ge2.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable Ge2.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : Ge1.Pm = Ge1.Pcmd 2 : Ge1.Pm = Ge1.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ Ge1.Pcmd ; Ge1.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable Ge1.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : Ge2.Pm = Ge2.Pcmd 2 : Ge2.Pm = Ge2.Pcmd [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ Ge2.Pm ; Ge2.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable Ge2.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : Ge1.Pm = Ge1.Pcmd 2 : Ge1.Pm = Ge1.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ Ge1.Pcmd ; Ge1.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable Ge1.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007439/0.1458, allocations: 4.75 MB / 0.5119 GB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.1463, allocations: 0.831 MB / 0.5128 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.1465, allocations: 47.27 kB / 0.5128 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.1467, allocations: 135.4 kB / 0.5129 GB, free: 14.34 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1467, allocations: 0 / 0.5129 GB, free: 14.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.1831, allocations: 8.375 MB / 0.5211 GB, free: 6.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.03, allocations: 3.984 kB / 0.5211 GB, free: 6.098 MB / 398.1 MB (rm -f AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.pipe ; mkfifo AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.pipe >> ../files/AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ElecSys_case_studies_Primary_secondary_tertiary_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ElecSys_case_studies_Primary_secondary_tertiary.fmu > AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.pipe 2>&1)