<?xml version="1.0" encoding="UTF-8"?>
<PharmML 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xmlns="http://www.pharmml.org/pharmml/0.8/PharmML"
	xsi:schemaLocation="http://www.pharmml.org/pharmml/0.8/PharmML http://www.pharmml.org/pharmml/0.8/PharmML"
	xmlns:math="http://www.pharmml.org/pharmml/0.8/Maths"
	xmlns:ct="http://www.pharmml.org/pharmml/0.8/CommonTypes"
	xmlns:ds="http://www.pharmml.org/pharmml/0.8/Dataset"
	xmlns:mdef="http://www.pharmml.org/pharmml/0.8/ModelDefinition"
	xmlns:mstep="http://www.pharmml.org/pharmml/0.8/ModellingSteps"
	xmlns:design="http://www.pharmml.org/pharmml/0.8/TrialDesign"
	writtenVersion="0.8.1">
	<ct:Name>Generated from MDL. MOG ID: simeoni2004</ct:Name>
	<IndependentVariable symbId="T"/>
	<ct:FunctionDefinition xmlns="http://www.pharmml.org/pharmml/0.8/CommonTypes" 
		symbolType="real"
		symbId="proportionalError">
	    <ct:Description>Proportional or constant CV (CVV)</ct:Description>
	    <ct:FunctionArgument symbolType="real" symbId="proportional"/>
	    <ct:FunctionArgument symbolType="real" symbId="f"/>
	    <ct:Definition>
	        <Assign>
	            <Binop op="times" xmlns="http://www.pharmml.org/pharmml/0.8/Maths">
	                <ct:SymbRef symbIdRef="proportional"/>
	                <ct:SymbRef symbIdRef="f"/>
	            </Binop>
	        </Assign>
	    </ct:Definition>
	</ct:FunctionDefinition>
	<ModelDefinition xmlns="http://www.pharmml.org/pharmml/0.8/ModelDefinition">
		<VariabilityModel blkId="vm_err" type="residualError">
			<Level referenceLevel="false" symbId="DV"/>
		</VariabilityModel>
		<VariabilityModel blkId="vm_mdl" type="parameterVariability">
			<Level referenceLevel="false" symbId="MDL__prior"/>
			<Level referenceLevel="false" symbId="ID">
				<ParentLevel>
					<ct:SymbRef symbIdRef="MDL__prior"/>
				</ParentLevel>
			</Level>
		</VariabilityModel>
		<ParameterModel blkId="pm">
			<PopulationParameter symbId="logLAMBDA0_POP">
				<ct:VariabilityReference>
					<ct:SymbRef blkIdRef="vm_mdl" symbIdRef="MDL__prior"/>
				</ct:VariabilityReference>
				<Distribution>
					<ProbOnto xmlns="http://www.pharmml.org/probonto/ProbOnto" name="Normal2">
						<Parameter name="mean">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="MU_LAMBDA0_POP"/>
							</ct:Assign>
						</Parameter>
						<Parameter name="var">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="SIGMA_LAMBDA0_POP"/>
							</ct:Assign>
						</Parameter>
					</ProbOnto>
				</Distribution>
			</PopulationParameter>
			<PopulationParameter symbId="logLAMBDA1_POP">
				<ct:VariabilityReference>
					<ct:SymbRef blkIdRef="vm_mdl" symbIdRef="MDL__prior"/>
				</ct:VariabilityReference>
				<Distribution>
					<ProbOnto xmlns="http://www.pharmml.org/probonto/ProbOnto" name="Normal2">
						<Parameter name="mean">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="MU_LAMBDA1_POP"/>
							</ct:Assign>
						</Parameter>
						<Parameter name="var">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="SIGMA_LAMBDA1_POP"/>
							</ct:Assign>
						</Parameter>
					</ProbOnto>
				</Distribution>
			</PopulationParameter>
			<PopulationParameter symbId="logK1_POP">
				<ct:VariabilityReference>
					<ct:SymbRef blkIdRef="vm_mdl" symbIdRef="MDL__prior"/>
				</ct:VariabilityReference>
				<Distribution>
					<ProbOnto xmlns="http://www.pharmml.org/probonto/ProbOnto" name="Normal2">
						<Parameter name="mean">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="MU_K1_POP"/>
							</ct:Assign>
						</Parameter>
						<Parameter name="var">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="SIGMA_K1_POP"/>
							</ct:Assign>
						</Parameter>
					</ProbOnto>
				</Distribution>
			</PopulationParameter>
			<PopulationParameter symbId="logK2_POP">
				<ct:VariabilityReference>
					<ct:SymbRef blkIdRef="vm_mdl" symbIdRef="MDL__prior"/>
				</ct:VariabilityReference>
				<Distribution>
					<ProbOnto xmlns="http://www.pharmml.org/probonto/ProbOnto" name="Normal2">
						<Parameter name="mean">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="MU_K2_POP"/>
							</ct:Assign>
						</Parameter>
						<Parameter name="var">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="SIGMA_K2_POP"/>
							</ct:Assign>
						</Parameter>
					</ProbOnto>
				</Distribution>
			</PopulationParameter>
			<PopulationParameter symbId="logW0_POP">
				<ct:VariabilityReference>
					<ct:SymbRef blkIdRef="vm_mdl" symbIdRef="MDL__prior"/>
				</ct:VariabilityReference>
				<Distribution>
					<ProbOnto xmlns="http://www.pharmml.org/probonto/ProbOnto" name="Normal2">
						<Parameter name="mean">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="MU_W0_POP"/>
							</ct:Assign>
						</Parameter>
						<Parameter name="var">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="SIGMA_W0_POP"/>
							</ct:Assign>
						</Parameter>
					</ProbOnto>
				</Distribution>
			</PopulationParameter>
			<PopulationParameter symbId="LAMBDA0_POP">
				<ct:Assign>
					<math:Uniop op="exp">
						<ct:SymbRef blkIdRef="pm" symbIdRef="logLAMBDA0_POP"/>
					</math:Uniop>	
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="LAMBDA1_POP">
				<ct:Assign>
					<math:Uniop op="exp">
						<ct:SymbRef blkIdRef="pm" symbIdRef="logLAMBDA1_POP"/>
					</math:Uniop>	
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="K1_POP">
				<ct:Assign>
					<math:Uniop op="exp">
						<ct:SymbRef blkIdRef="pm" symbIdRef="logK1_POP"/>
					</math:Uniop>	
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="K2_POP">
				<ct:Assign>
					<math:Uniop op="exp">
						<ct:SymbRef blkIdRef="pm" symbIdRef="logK2_POP"/>
					</math:Uniop>	
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="W0_POP">
				<ct:Assign>
					<math:Uniop op="exp">
						<ct:SymbRef blkIdRef="pm" symbIdRef="logW0_POP"/>
					</math:Uniop>	
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="TAU_LAMBDA0">
				<ct:VariabilityReference>
					<ct:SymbRef blkIdRef="vm_mdl" symbIdRef="MDL__prior"/>
				</ct:VariabilityReference>
				<Distribution>
					<ProbOnto xmlns="http://www.pharmml.org/probonto/ProbOnto" name="Gamma2">
						<Parameter name="shape">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="a_OMEGA_LAMBDA0"/>
							</ct:Assign>
						</Parameter>
						<Parameter name="rate">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="b_OMEGA_LAMBDA0"/>
							</ct:Assign>
						</Parameter>
					</ProbOnto>
				</Distribution>
			</PopulationParameter>
			<PopulationParameter symbId="OMEGA_LAMBDA0">
				<ct:Assign>
					<math:Binop op="divide">
						<ct:Int>1</ct:Int>
						<ct:SymbRef blkIdRef="pm" symbIdRef="TAU_LAMBDA0"/>
					</math:Binop>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="TAU_LAMBDA1">
				<ct:VariabilityReference>
					<ct:SymbRef blkIdRef="vm_mdl" symbIdRef="MDL__prior"/>
				</ct:VariabilityReference>
				<Distribution>
					<ProbOnto xmlns="http://www.pharmml.org/probonto/ProbOnto" name="Gamma2">
						<Parameter name="shape">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="a_OMEGA_LAMBDA1"/>
							</ct:Assign>
						</Parameter>
						<Parameter name="rate">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="b_OMEGA_LAMBDA1"/>
							</ct:Assign>
						</Parameter>
					</ProbOnto>
				</Distribution>
			</PopulationParameter>
			<PopulationParameter symbId="OMEGA_LAMBDA1">
				<ct:Assign>
					<math:Binop op="divide">
						<ct:Int>1</ct:Int>
						<ct:SymbRef blkIdRef="pm" symbIdRef="TAU_LAMBDA1"/>
					</math:Binop>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="invCV2">
				<ct:VariabilityReference>
					<ct:SymbRef blkIdRef="vm_mdl" symbIdRef="MDL__prior"/>
				</ct:VariabilityReference>
				<Distribution>
					<ProbOnto xmlns="http://www.pharmml.org/probonto/ProbOnto" name="Gamma1">
						<Parameter name="shape">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="a_CV2"/>
							</ct:Assign>
						</Parameter>
						<Parameter name="scale">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="b_CV2"/>
							</ct:Assign>
						</Parameter>
					</ProbOnto>
				</Distribution>
			</PopulationParameter>
			<PopulationParameter symbId="CV">
				<ct:Assign>
					<math:Uniop op="sqrt">
						<math:Binop op="divide">
							<ct:Int>1</ct:Int>
							<ct:SymbRef blkIdRef="pm" symbIdRef="invCV2"/>
						</math:Binop>
					</math:Uniop>	
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="MU_LAMBDA0_POP">
				<ct:Assign>
					<math:Uniop op="minus">
						<ct:Real>1.4</ct:Real>
					</math:Uniop>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="MU_LAMBDA1_POP">
				<ct:Assign>
					<math:Uniop op="minus">
						<ct:Real>1.3</ct:Real>
					</math:Uniop>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="MU_K1_POP">
				<ct:Assign>
					<math:Uniop op="minus">
						<ct:Real>1.2</ct:Real>
					</math:Uniop>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="MU_K2_POP">
				<ct:Assign>
					<math:Uniop op="minus">
						<ct:Real>3.2</ct:Real>
					</math:Uniop>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="MU_W0_POP">
				<ct:Assign>
					<math:Uniop op="minus">
						<ct:Real>3.9</ct:Real>
					</math:Uniop>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="SIGMA_LAMBDA0_POP">
				<ct:Assign>
					<ct:Real>0.8</ct:Real>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="SIGMA_LAMBDA1_POP">
				<ct:Assign>
					<ct:Real>1.2</ct:Real>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="SIGMA_K1_POP">
				<ct:Assign>
					<ct:Real>1.8</ct:Real>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="SIGMA_K2_POP">
				<ct:Assign>
					<ct:Real>1.4</ct:Real>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="SIGMA_W0_POP">
				<ct:Assign>
					<ct:Real>3.2</ct:Real>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="a_OMEGA_LAMBDA0">
				<ct:Assign>
					<ct:Int>10</ct:Int>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="b_OMEGA_LAMBDA0">
				<ct:Assign>
					<ct:Int>1</ct:Int>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="a_OMEGA_LAMBDA1">
				<ct:Assign>
					<ct:Int>3</ct:Int>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="b_OMEGA_LAMBDA1">
				<ct:Assign>
					<ct:Int>1</ct:Int>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="a_CV2">
				<ct:Assign>
					<ct:Int>195</ct:Int>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="b_CV2">
				<ct:Assign>
					<ct:Real>1.4</ct:Real>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="K10_POP">
				<ct:Assign>
					<ct:Real>20.832</ct:Real>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="K12_POP">
				<ct:Assign>
					<ct:Real>0.144</ct:Real>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="K21_POP">
				<ct:Assign>
					<ct:Real>2.011</ct:Real>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="V1_POP">
				<ct:Assign>
					<ct:Real>0.81</ct:Real>
				</ct:Assign>
			</PopulationParameter>
			<PopulationParameter symbId="PSI_POP">
				<ct:Assign>
					<ct:Int>20</ct:Int>
				</ct:Assign>
			</PopulationParameter>
			<IndividualParameter symbId="LAMBDA0">
				<StructuredModel>
					<Transformation type="log" />
					<LinearCovariate>
						<PopulationValue>
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="LAMBDA0_POP"/>
							</ct:Assign>
						</PopulationValue>
					</LinearCovariate>
					<RandomEffects>
						<ct:SymbRef blkIdRef="pm" symbIdRef="eta_LAMBDA0"/>
					</RandomEffects>
				</StructuredModel>
			</IndividualParameter>
			<IndividualParameter symbId="LAMBDA1">
				<StructuredModel>
					<Transformation type="log" />
					<LinearCovariate>
						<PopulationValue>
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="LAMBDA1_POP"/>
							</ct:Assign>
						</PopulationValue>
					</LinearCovariate>
					<RandomEffects>
						<ct:SymbRef blkIdRef="pm" symbIdRef="eta_LAMBDA1"/>
					</RandomEffects>
				</StructuredModel>
			</IndividualParameter>
			<IndividualParameter symbId="K1">
				<ct:Assign>
					<ct:SymbRef blkIdRef="pm" symbIdRef="K1_POP"/>
				</ct:Assign>
			</IndividualParameter>
			<IndividualParameter symbId="K2">
				<ct:Assign>
					<ct:SymbRef blkIdRef="pm" symbIdRef="K2_POP"/>
				</ct:Assign>
			</IndividualParameter>
			<IndividualParameter symbId="W0">
				<ct:Assign>
					<ct:SymbRef blkIdRef="pm" symbIdRef="W0_POP"/>
				</ct:Assign>
			</IndividualParameter>
			<IndividualParameter symbId="K10">
				<ct:Assign>
					<ct:SymbRef blkIdRef="pm" symbIdRef="K10_POP"/>
				</ct:Assign>
			</IndividualParameter>
			<IndividualParameter symbId="K12">
				<ct:Assign>
					<ct:SymbRef blkIdRef="pm" symbIdRef="K12_POP"/>
				</ct:Assign>
			</IndividualParameter>
			<IndividualParameter symbId="K21">
				<ct:Assign>
					<ct:SymbRef blkIdRef="pm" symbIdRef="K21_POP"/>
				</ct:Assign>
			</IndividualParameter>
			<IndividualParameter symbId="V1">
				<ct:Assign>
					<ct:SymbRef blkIdRef="pm" symbIdRef="V1_POP"/>
				</ct:Assign>
			</IndividualParameter>
			<IndividualParameter symbId="PSI">
				<ct:Assign>
					<ct:SymbRef blkIdRef="pm" symbIdRef="PSI_POP"/>
				</ct:Assign>
			</IndividualParameter>
			<RandomVariable symbId="eps_RES_W">
				<ct:VariabilityReference>
					<ct:SymbRef blkIdRef="vm_err" symbIdRef="DV"/>
				</ct:VariabilityReference>
				<Distribution>
					<ProbOnto xmlns="http://www.pharmml.org/probonto/ProbOnto" name="Normal2">
						<Parameter name="mean">
							<ct:Assign>
								<ct:Int>0</ct:Int>
							</ct:Assign>
						</Parameter>
						<Parameter name="var">
							<ct:Assign>
								<ct:Int>1</ct:Int>
							</ct:Assign>
						</Parameter>
					</ProbOnto>
				</Distribution>
			</RandomVariable>
			<RandomVariable symbId="eta_LAMBDA0">
				<ct:VariabilityReference>
					<ct:SymbRef blkIdRef="vm_mdl" symbIdRef="ID"/>
				</ct:VariabilityReference>
				<Distribution>
					<ProbOnto xmlns="http://www.pharmml.org/probonto/ProbOnto" name="Normal2">
						<Parameter name="mean">
							<ct:Assign>
								<ct:Int>0</ct:Int>
							</ct:Assign>
						</Parameter>
						<Parameter name="var">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="OMEGA_LAMBDA0"/>
							</ct:Assign>
						</Parameter>
					</ProbOnto>
				</Distribution>
			</RandomVariable>
			<RandomVariable symbId="eta_LAMBDA1">
				<ct:VariabilityReference>
					<ct:SymbRef blkIdRef="vm_mdl" symbIdRef="ID"/>
				</ct:VariabilityReference>
				<Distribution>
					<ProbOnto xmlns="http://www.pharmml.org/probonto/ProbOnto" name="Normal2">
						<Parameter name="mean">
							<ct:Assign>
								<ct:Int>0</ct:Int>
							</ct:Assign>
						</Parameter>
						<Parameter name="var">
							<ct:Assign>
								<ct:SymbRef blkIdRef="pm" symbIdRef="OMEGA_LAMBDA1"/>
							</ct:Assign>
						</Parameter>
					</ProbOnto>
				</Distribution>
			</RandomVariable>
		</ParameterModel>
		<StructuralModel blkId="sm">
			<ct:Variable symbId="C" symbolType="real">
				<ct:Assign>
					<math:Binop op="divide">
						<ct:SymbRef blkIdRef="sm" symbIdRef="Q1"/>
						<ct:SymbRef blkIdRef="pm" symbIdRef="V1"/>
					</math:Binop>
				</ct:Assign>
			</ct:Variable>
			<ct:Variable symbId="WTOT" symbolType="real">
				<ct:Assign>
					<math:Binop op="plus">
						<math:Binop op="plus">
							<math:Binop op="plus">
								<ct:SymbRef blkIdRef="sm" symbIdRef="X1"/>
								<ct:SymbRef blkIdRef="sm" symbIdRef="X2"/>
							</math:Binop>
							<ct:SymbRef blkIdRef="sm" symbIdRef="X3"/>
						</math:Binop>
						<ct:SymbRef blkIdRef="sm" symbIdRef="X4"/>
					</math:Binop>
				</ct:Assign>
			</ct:Variable>
			<ct:DerivativeVariable symbId="Q1" symbolType="real">
				<ct:Assign>
					<math:Binop op="minus">
						<math:Binop op="times">
							<ct:SymbRef blkIdRef="pm" symbIdRef="K21"/>
							<ct:SymbRef blkIdRef="sm" symbIdRef="Q2"/>
						</math:Binop>
						<math:Binop op="times">
							<math:Binop op="plus">
								<ct:SymbRef blkIdRef="pm" symbIdRef="K10"/>
								<ct:SymbRef blkIdRef="pm" symbIdRef="K12"/>
							</math:Binop>
							<ct:SymbRef blkIdRef="sm" symbIdRef="Q1"/>
						</math:Binop>
					</math:Binop>
				</ct:Assign>
				<ct:IndependentVariable>
					<ct:SymbRef symbIdRef="T"/>
				</ct:IndependentVariable>
				<ct:InitialCondition>
					<ct:InitialValue>
						<ct:Assign>
							<ct:Int>0</ct:Int>
						</ct:Assign>
					</ct:InitialValue>
					<ct:InitialTime>
						<ct:Assign>
							<ct:Int>0</ct:Int>
						</ct:Assign>	
					</ct:InitialTime>
				</ct:InitialCondition>
			</ct:DerivativeVariable>
			<ct:DerivativeVariable symbId="Q2" symbolType="real">
				<ct:Assign>
					<math:Binop op="minus">
						<math:Binop op="times">
							<ct:SymbRef blkIdRef="pm" symbIdRef="K12"/>
							<ct:SymbRef blkIdRef="sm" symbIdRef="Q1"/>
						</math:Binop>
						<math:Binop op="times">
							<ct:SymbRef blkIdRef="pm" symbIdRef="K21"/>
							<ct:SymbRef blkIdRef="sm" symbIdRef="Q2"/>
						</math:Binop>
					</math:Binop>
				</ct:Assign>
				<ct:IndependentVariable>
					<ct:SymbRef symbIdRef="T"/>
				</ct:IndependentVariable>
				<ct:InitialCondition>
					<ct:InitialValue>
						<ct:Assign>
							<ct:Int>0</ct:Int>
						</ct:Assign>
					</ct:InitialValue>
					<ct:InitialTime>
						<ct:Assign>
							<ct:Int>0</ct:Int>
						</ct:Assign>	
					</ct:InitialTime>
				</ct:InitialCondition>
			</ct:DerivativeVariable>
			<ct:DerivativeVariable symbId="X1" symbolType="real">
				<ct:Assign>
					<math:Binop op="minus">
						<math:Binop op="divide">
							<math:Binop op="times">
								<ct:SymbRef blkIdRef="pm" symbIdRef="LAMBDA0"/>
								<ct:SymbRef blkIdRef="sm" symbIdRef="X1"/>
							</math:Binop>
							<math:Binop op="power">
								<math:Binop op="plus">
									<ct:Int>1</ct:Int>
									<math:Binop op="power">
										<math:Binop op="divide">
											<math:Binop op="times">
												<ct:SymbRef blkIdRef="sm" symbIdRef="WTOT"/>
												<ct:SymbRef blkIdRef="pm" symbIdRef="LAMBDA0"/>
											</math:Binop>
											<ct:SymbRef blkIdRef="pm" symbIdRef="LAMBDA1"/>
										</math:Binop>
										<ct:SymbRef blkIdRef="pm" symbIdRef="PSI"/>
									</math:Binop>
								</math:Binop>
								<math:Binop op="divide">
									<ct:Int>1</ct:Int>
									<ct:SymbRef blkIdRef="pm" symbIdRef="PSI"/>
								</math:Binop>
							</math:Binop>
						</math:Binop>
						<math:Binop op="times">
							<math:Binop op="times">
								<ct:SymbRef blkIdRef="pm" symbIdRef="K2"/>
								<ct:SymbRef blkIdRef="sm" symbIdRef="C"/>
							</math:Binop>
							<ct:SymbRef blkIdRef="sm" symbIdRef="X1"/>
						</math:Binop>
					</math:Binop>
				</ct:Assign>
				<ct:IndependentVariable>
					<ct:SymbRef symbIdRef="T"/>
				</ct:IndependentVariable>
				<ct:InitialCondition>
					<ct:InitialValue>
						<ct:Assign>
							<ct:SymbRef blkIdRef="pm" symbIdRef="W0"/>
						</ct:Assign>
					</ct:InitialValue>
					<ct:InitialTime>
						<ct:Assign>
							<ct:Int>0</ct:Int>
						</ct:Assign>	
					</ct:InitialTime>
				</ct:InitialCondition>
			</ct:DerivativeVariable>
			<ct:DerivativeVariable symbId="X2" symbolType="real">
				<ct:Assign>
					<math:Binop op="minus">
						<math:Binop op="times">
							<math:Binop op="times">
								<ct:SymbRef blkIdRef="pm" symbIdRef="K2"/>
								<ct:SymbRef blkIdRef="sm" symbIdRef="C"/>
							</math:Binop>
							<ct:SymbRef blkIdRef="sm" symbIdRef="X1"/>
						</math:Binop>
						<math:Binop op="times">
							<ct:SymbRef blkIdRef="pm" symbIdRef="K1"/>
							<ct:SymbRef blkIdRef="sm" symbIdRef="X2"/>
						</math:Binop>
					</math:Binop>
				</ct:Assign>
				<ct:IndependentVariable>
					<ct:SymbRef symbIdRef="T"/>
				</ct:IndependentVariable>
				<ct:InitialCondition>
					<ct:InitialValue>
						<ct:Assign>
							<ct:Int>0</ct:Int>
						</ct:Assign>
					</ct:InitialValue>
					<ct:InitialTime>
						<ct:Assign>
							<ct:Int>0</ct:Int>
						</ct:Assign>	
					</ct:InitialTime>
				</ct:InitialCondition>
			</ct:DerivativeVariable>
			<ct:DerivativeVariable symbId="X3" symbolType="real">
				<ct:Assign>
					<math:Binop op="minus">
						<math:Binop op="times">
							<ct:SymbRef blkIdRef="pm" symbIdRef="K1"/>
							<ct:SymbRef blkIdRef="sm" symbIdRef="X2"/>
						</math:Binop>
						<math:Binop op="times">
							<ct:SymbRef blkIdRef="pm" symbIdRef="K1"/>
							<ct:SymbRef blkIdRef="sm" symbIdRef="X3"/>
						</math:Binop>
					</math:Binop>
				</ct:Assign>
				<ct:IndependentVariable>
					<ct:SymbRef symbIdRef="T"/>
				</ct:IndependentVariable>
				<ct:InitialCondition>
					<ct:InitialValue>
						<ct:Assign>
							<ct:Int>0</ct:Int>
						</ct:Assign>
					</ct:InitialValue>
					<ct:InitialTime>
						<ct:Assign>
							<ct:Int>0</ct:Int>
						</ct:Assign>	
					</ct:InitialTime>
				</ct:InitialCondition>
			</ct:DerivativeVariable>
			<ct:DerivativeVariable symbId="X4" symbolType="real">
				<ct:Assign>
					<math:Binop op="minus">
						<math:Binop op="times">
							<ct:SymbRef blkIdRef="pm" symbIdRef="K1"/>
							<ct:SymbRef blkIdRef="sm" symbIdRef="X3"/>
						</math:Binop>
						<math:Binop op="times">
							<ct:SymbRef blkIdRef="pm" symbIdRef="K1"/>
							<ct:SymbRef blkIdRef="sm" symbIdRef="X4"/>
						</math:Binop>
					</math:Binop>
				</ct:Assign>
				<ct:IndependentVariable>
					<ct:SymbRef symbIdRef="T"/>
				</ct:IndependentVariable>
				<ct:InitialCondition>
					<ct:InitialValue>
						<ct:Assign>
							<ct:Int>0</ct:Int>
						</ct:Assign>
					</ct:InitialValue>
					<ct:InitialTime>
						<ct:Assign>
							<ct:Int>0</ct:Int>
						</ct:Assign>	
					</ct:InitialTime>
				</ct:InitialCondition>
			</ct:DerivativeVariable>
		</StructuralModel>
		<ObservationModel blkId="om1">
			<ContinuousData>
				<Standard symbId="Y">
					<Output>
						<ct:SymbRef blkIdRef="sm" symbIdRef="WTOT"/>
					</Output>
					<ErrorModel>
						<ct:Assign>
							<math:FunctionCall>
								<ct:SymbRef symbIdRef="proportionalError"/>
								<math:FunctionArgument symbId="proportional">
									<ct:SymbRef blkIdRef="pm" symbIdRef="CV"/>
								</math:FunctionArgument>
								<math:FunctionArgument symbId="f">
									<ct:SymbRef blkIdRef="sm" symbIdRef="WTOT"/>
								</math:FunctionArgument>
							</math:FunctionCall>
						</ct:Assign>
					</ErrorModel>
					<ResidualError>
						<ct:SymbRef blkIdRef="pm" symbIdRef="eps_RES_W"/>
					</ResidualError>
				</Standard>
			</ContinuousData>
		</ObservationModel>
	</ModelDefinition>
	<TrialDesign xmlns="http://www.pharmml.org/pharmml/0.8/TrialDesign">
		<ExternalDataSet toolName="NONMEM" oid="nm_ds">
			<ColumnMapping>
				<ColumnRef xmlns="http://www.pharmml.org/pharmml/0.8/Dataset" columnIdRef="ID"/>
				<ct:SymbRef blkIdRef="vm_mdl" symbIdRef="ID"/>
			</ColumnMapping>
			<ColumnMapping>
				<ColumnRef xmlns="http://www.pharmml.org/pharmml/0.8/Dataset" columnIdRef="TIME"/>
				<ct:SymbRef symbIdRef="T"/>
			</ColumnMapping>
			<ColumnMapping>
			    <ColumnRef xmlns="http://www.pharmml.org/pharmml/0.8/Dataset" columnIdRef="DV"/>
				<ct:SymbRef blkIdRef="om1" symbIdRef="Y"/>
			</ColumnMapping>
			<ColumnMapping>
				<ColumnRef xmlns="http://www.pharmml.org/pharmml/0.8/Dataset" columnIdRef="AMT"/>
				<math:Piecewise>
					<math:Piece>
						<ct:SymbRef blkIdRef="sm" symbIdRef="Q1"/>
						<math:Condition>
							<math:LogicBinop op="gt">
								<ds:ColumnRef columnIdRef="AMT"/>
								<ct:Int>0</ct:Int>
							</math:LogicBinop>
						</math:Condition>
					</math:Piece>
				</math:Piecewise>
			</ColumnMapping>
			<DataSet xmlns="http://www.pharmml.org/pharmml/0.8/Dataset">
				<Definition>
					<Column columnId="ID" columnType="id" valueType="int" columnNum="1"/>
					<Column columnId="TIME" columnType="idv" valueType="real" columnNum="2"/>
					<Column columnId="DV" columnType="dv" valueType="real" columnNum="3"/>
					<Column columnId="AMT" columnType="dose" valueType="real" columnNum="4"/>
					<Column columnId="CMT" columnType="cmt" valueType="int" columnNum="5"/>
					<Column columnId="MDV" columnType="mdv" valueType="int" columnNum="6"/>
					<Column columnId="GRP" columnType="undefined" valueType="int" columnNum="7"/>
				</Definition>
				<ExternalFile oid="id">
					<path>simeoni_pop.csv</path>
					<format>CSV</format>
					<delimiter>COMMA</delimiter>
				</ExternalFile>
			</DataSet>
		</ExternalDataSet>
	</TrialDesign>
	<ModellingSteps xmlns="http://www.pharmml.org/pharmml/0.8/ModellingSteps">
		<EstimationStep oid="estimStep_1">
			<ExternalDataSetReference>
				<ct:OidRef oidRef="nm_ds"/>
			</ExternalDataSetReference>
			<ParametersToEstimate>
				<ParameterEstimation>
					<ct:SymbRef blkIdRef="pm" symbIdRef="logLAMBDA0_POP"/>
				</ParameterEstimation>
				<ParameterEstimation>
					<ct:SymbRef blkIdRef="pm" symbIdRef="logLAMBDA1_POP"/>
				</ParameterEstimation>
				<ParameterEstimation>
					<ct:SymbRef blkIdRef="pm" symbIdRef="logK1_POP"/>
				</ParameterEstimation>
				<ParameterEstimation>
					<ct:SymbRef blkIdRef="pm" symbIdRef="logK2_POP"/>
				</ParameterEstimation>
				<ParameterEstimation>
					<ct:SymbRef blkIdRef="pm" symbIdRef="logW0_POP"/>
				</ParameterEstimation>
				<ParameterEstimation>
					<ct:SymbRef blkIdRef="pm" symbIdRef="TAU_LAMBDA0"/>
				</ParameterEstimation>
				<ParameterEstimation>
					<ct:SymbRef blkIdRef="pm" symbIdRef="TAU_LAMBDA1"/>
				</ParameterEstimation>
				<ParameterEstimation>
					<ct:SymbRef blkIdRef="pm" symbIdRef="invCV2"/>
				</ParameterEstimation>
			</ParametersToEstimate>
			<Operation order="1" opType="generic">
				<Property name="algo">
					<ct:Assign>
						<ct:String>mcmc</ct:String>
					</ct:Assign>
				</Property>
			</Operation>
			<Operation order="2" opType="BUGS">
				<Property name="nchains">
					<ct:Assign>
						<ct:Int>1</ct:Int>
					</ct:Assign>
				</Property>
				<Property name="burnin">
					<ct:Assign>
						<ct:Int>1000</ct:Int>
					</ct:Assign>
				</Property>
				<Property name="niter">
					<ct:Assign>
						<ct:Int>5000</ct:Int>
					</ct:Assign>
				</Property>
				<Property name="parameters">
					<ct:Assign>
						<ct:String>LAMBDA0_POP,LAMBDA1_POP,K1_POP,K2_POP,W0_POP,LAMBDA0, OMEGA_LAMBDA0, OMEGA_LAMBDA1, CV</ct:String>
					</ct:Assign>
				</Property>
				<Property name="odesolver">
					<ct:Assign>
						<ct:String>RK45</ct:String>
					</ct:Assign>
				</Property>
				<Property name="winbugsgui">
					<ct:Assign>
						<ct:String>true</ct:String>
					</ct:Assign>
				</Property>
			</Operation>
		</EstimationStep>
		<mstep:StepDependencies>
			<mstep:Step>
				<ct:OidRef oidRef="estimStep_1"/>
			</mstep:Step>
		</mstep:StepDependencies>
	</ModellingSteps>		
</PharmML>
