Notification: Performance of loadModel(Modelica): time 1.512/1.512, allocations: 194.3 MB / 200.6 MB, free: 5.301 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.08e-06/9.149e-06, allocations: 1.188 kB / 247.1 MB, free: 4.828 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06244/0.06252, allocations: 44.31 MB / 291.4 MB, free: 9.547 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.764/9.827, allocations: 5.719 GB / 6.004 GB, free: 6.711 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/9.827, allocations: 78.53 kB / 6.004 GB, free: 6.641 MB / 392.6 MB Notification: Performance of FrontEnd: time 4.884/14.71, allocations: 1.265 GB / 7.269 GB, free: 3.699 MB / 0.587 GB Notification: Performance of Transformations before backend: time 2.815e-05/14.71, allocations: 8 kB / 7.269 GB, free: 3.691 MB / 0.587 GB Notification: Performance of Generate backend data structure: time 0.04926/14.76, allocations: 2.185 MB / 7.271 GB, free: 1.703 MB / 0.587 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/14.76, allocations: 8.031 kB / 7.271 GB, free: 1.695 MB / 0.587 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/14.76, allocations: 99.28 kB / 7.271 GB, free: 1.598 MB / 0.587 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/14.76, allocations: 380.1 kB / 7.272 GB, free: 1.211 MB / 0.587 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/14.76, allocations: 12 kB / 7.272 GB, free: 1.199 MB / 0.587 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/14.76, allocations: 31.91 kB / 7.272 GB, free: 1.168 MB / 0.587 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001006/14.76, allocations: 453.8 kB / 7.272 GB, free: 0.7266 MB / 0.587 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/14.76, allocations: 0.5093 MB / 7.273 GB, free: 172 kB / 0.587 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/14.76, allocations: 4 kB / 7.273 GB, free: 168 kB / 0.587 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/14.76, allocations: 4 kB / 7.273 GB, free: 164 kB / 0.587 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/14.77, allocations: 12 kB / 7.273 GB, free: 152 kB / 0.587 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008627/14.77, allocations: 6.52 MB / 7.279 GB, free: 9.266 MB / 0.6026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/14.77, allocations: 238.3 kB / 7.279 GB, free: 9.027 MB / 0.6026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/14.77, allocations: 181.9 kB / 7.279 GB, free: 8.848 MB / 0.6026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00332/14.78, allocations: 2.449 MB / 7.282 GB, free: 5.992 MB / 0.6026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/14.78, allocations: 34.56 kB / 7.282 GB, free: 5.949 MB / 0.6026 GB Notification: Performance of pre-optimization done (n=44): time 5.657e-06/14.78, allocations: 4 kB / 7.282 GB, free: 5.945 MB / 0.6026 GB Notification: Performance of matching and sorting (n=52): time 0.01115/14.79, allocations: 1.647 MB / 7.283 GB, free: 4.254 MB / 0.6026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/14.79, allocations: 59.84 kB / 7.283 GB, free: 4.184 MB / 0.6026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/14.79, allocations: 249.3 kB / 7.284 GB, free: 3.934 MB / 0.6026 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/14.79, allocations: 25.7 kB / 7.284 GB, free: 3.902 MB / 0.6026 GB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/14.79, allocations: 218.9 kB / 7.284 GB, free: 3.707 MB / 0.6026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/14.79, allocations: 181.5 kB / 7.284 GB, free: 3.551 MB / 0.6026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/14.79, allocations: 3.938 kB / 7.284 GB, free: 3.547 MB / 0.6026 GB Notification: Performance of setup shared object (initialization): time 7.033e-05/14.79, allocations: 346.8 kB / 7.284 GB, free: 3.199 MB / 0.6026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/14.79, allocations: 169.3 kB / 7.285 GB, free: 3.035 MB / 0.6026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/14.79, allocations: 320.5 kB / 7.285 GB, free: 2.664 MB / 0.6026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/14.79, allocations: 329.3 kB / 7.285 GB, free: 2.344 MB / 0.6026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.19e-06/14.79, allocations: 0 / 7.285 GB, free: 2.344 MB / 0.6026 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004458/14.8, allocations: 0.7936 MB / 7.286 GB, free: 1.535 MB / 0.6026 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/14.8, allocations: 6.656 kB / 7.286 GB, free: 1.531 MB / 0.6026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/14.8, allocations: 4 kB / 7.286 GB, free: 1.527 MB / 0.6026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/14.8, allocations: 95.09 kB / 7.286 GB, free: 1.426 MB / 0.6026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/14.8, allocations: 147.7 kB / 7.286 GB, free: 1.281 MB / 0.6026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2309/15.03, allocations: 2.966 MB / 7.289 GB, free: 98.9 MB / 0.6026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007041/15.03, allocations: 41.02 kB / 7.289 GB, free: 98.9 MB / 0.6026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/15.03, allocations: 26.75 kB / 7.289 GB, free: 98.9 MB / 0.6026 GB Notification: Performance of prepare postOptimizeDAE: time 7.822e-05/15.03, allocations: 75.28 kB / 7.289 GB, free: 98.82 MB / 0.6026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005677/15.03, allocations: 90.69 kB / 7.289 GB, free: 98.82 MB / 0.6026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/15.04, allocations: 1.183 MB / 7.291 GB, free: 98.75 MB / 0.6026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/15.04, allocations: 17.41 kB / 7.291 GB, free: 98.75 MB / 0.6026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.238e-06/15.04, allocations: 2.25 kB / 7.291 GB, free: 98.75 MB / 0.6026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002925/15.04, allocations: 1.133 MB / 7.292 GB, free: 98.37 MB / 0.6026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004155/15.05, allocations: 1.702 MB / 7.293 GB, free: 98.06 MB / 0.6026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/15.05, allocations: 4.125 kB / 7.293 GB, free: 98.06 MB / 0.6026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/15.05, allocations: 99.14 kB / 7.293 GB, free: 98.06 MB / 0.6026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006026/15.05, allocations: 121.8 kB / 7.294 GB, free: 98.05 MB / 0.6026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/15.05, allocations: 10.33 kB / 7.294 GB, free: 98.05 MB / 0.6026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000779/15.05, allocations: 1.181 MB / 7.295 GB, free: 97.02 MB / 0.6026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-06/15.05, allocations: 3.281 kB / 7.295 GB, free: 97.02 MB / 0.6026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003965/15.05, allocations: 1.325 MB / 7.296 GB, free: 96.8 MB / 0.6026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/15.05, allocations: 123 kB / 7.296 GB, free: 96.7 MB / 0.6026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/15.05, allocations: 6.281 kB / 7.296 GB, free: 96.69 MB / 0.6026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/15.05, allocations: 21.44 kB / 7.296 GB, free: 96.69 MB / 0.6026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/15.05, allocations: 35.08 kB / 7.296 GB, free: 96.69 MB / 0.6026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/15.05, allocations: 26.64 kB / 7.296 GB, free: 96.69 MB / 0.6026 GB Notification: Performance of sort global known variables: time 0.0002199/15.05, allocations: 185.9 kB / 7.296 GB, free: 96.61 MB / 0.6026 GB Notification: Performance of remove unused functions: time 0.0144/15.07, allocations: 1.126 MB / 7.297 GB, free: 96.61 MB / 0.6026 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.348/15.42, allocations: 45.51 MB / 7.342 GB, free: 73.38 MB / 0.6026 GB Notification: Performance of simCode: created initialization part: time 0.002145/15.42, allocations: 0.7643 MB / 7.343 GB, free: 73.27 MB / 0.6026 GB Notification: Performance of simCode: created event and clocks part: time 6.076e-06/15.42, allocations: 0 / 7.343 GB, free: 73.27 MB / 0.6026 GB Notification: Performance of simCode: created simulation system equations: time 0.0008548/15.42, allocations: 456.9 kB / 7.343 GB, free: 73.27 MB / 0.6026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/15.42, allocations: 202.2 kB / 7.343 GB, free: 73.25 MB / 0.6026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/15.42, allocations: 1.046 MB / 7.344 GB, free: 73.01 MB / 0.6026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/15.42, allocations: 0.9302 MB / 7.345 GB, free: 72.31 MB / 0.6026 GB Notification: Performance of SimCode: time 2.235e-06/15.42, allocations: 0 / 7.345 GB, free: 72.31 MB / 0.6026 GB Notification: Performance of Templates: time 0.1236/15.55, allocations: 39.77 MB / 7.384 GB, free: 69.54 MB / 0.6026 GB "Error: Could not read variable volume.medium.state.der(d) in file Modelica_3.2.2__O2_Modelica.Media.Examples.R134a.R134a2_res.mat. Warning: Get data of variable volume.medium.state.der(d) from file Modelica_3.2.2__O2_Modelica.Media.Examples.R134a.R134a2_res.mat failed! Error: Could not read variable volume1.medium.state.der(d) in file Modelica_3.2.2__O2_Modelica.Media.Examples.R134a.R134a2_res.mat. Warning: Get data of variable volume1.medium.state.der(d) from file Modelica_3.2.2__O2_Modelica.Media.Examples.R134a.R134a2_res.mat failed! " Variables in the reference:T_start,Time,X_start[1],ambient.T_ambient,ambient.X_ambient[1],ambient.d_ambient,ambient.h_ambient,ambient.medium.MM,ambient.medium.R,ambient.medium.T,ambient.medium.T_degC,ambient.medium.X[1],ambient.medium.d,ambient.medium.h,ambient.medium.p,ambient.medium.p_bar,ambient.medium.phase,ambient.medium.preferredMediumStates,ambient.medium.quality,ambient.medium.sat.Tsat,ambient.medium.sat.psat,ambient.medium.standardOrderComponents,ambient.medium.state.T,ambient.medium.state.d,ambient.medium.state.h,ambient.medium.state.p,ambient.medium.state.phase,ambient.medium.u,ambient.p_ambient,ambient.port.H_flow,ambient.port.h,ambient.port.m_flow,ambient.port.p,ambient.use_T_ambient,ambient.use_p_ambient,fixedMassFlowRate.T_ambient,fixedMassFlowRate.X_ambient[1],fixedMassFlowRate.h_ambient,fixedMassFlowRate.m_flow,fixedMassFlowRate.medium.MM,fixedMassFlowRate.medium.R,fixedMassFlowRate.medium.T,fixedMassFlowRate.medium.T_degC,fixedMassFlowRate.medium.X[1],fixedMassFlowRate.medium.d,der(fixedMassFlowRate.medium.p),fixedMassFlowRate.medium.h,fixedMassFlowRate.medium.p,fixedMassFlowRate.medium.p_bar,fixedMassFlowRate.medium.phase,fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.quality,fixedMassFlowRate.medium.sat.Tsat,fixedMassFlowRate.medium.sat.psat,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.medium.state.T,fixedMassFlowRate.medium.state.d,fixedMassFlowRate.medium.state.h,fixedMassFlowRate.medium.state.p,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.u,fixedMassFlowRate.port.H_flow,fixedMassFlowRate.port.h,fixedMassFlowRate.port.m_flow,fixedMassFlowRate.port.p,fixedMassFlowRate.use_T_ambient,h_start,p_start,shortPipe.dp,shortPipe.dp_nominal,shortPipe.m_flow,shortPipe.m_flow_nominal,shortPipe.port_a.H_flow,shortPipe.port_a.h,shortPipe.port_a.m_flow,shortPipe.port_a.p,shortPipe.port_b.H_flow,shortPipe.port_b.h,shortPipe.port_b.m_flow,shortPipe.port_b.p,shortPipe1.dp,shortPipe1.dp_nominal,shortPipe1.m_flow,shortPipe1.m_flow_nominal,shortPipe1.port_a.H_flow,shortPipe1.port_a.h,shortPipe1.port_a.m_flow,shortPipe1.port_a.p,shortPipe1.port_b.H_flow,shortPipe1.port_b.h,shortPipe1.port_b.m_flow,shortPipe1.port_b.p,volume.T_start,volume.U,volume.V,volume.X_start[1],volume.d_start,der(volume.U),der(volume.m),volume.h_start,volume.m,volume.medium.MM,volume.medium.R,volume.medium.T,volume.medium.T_degC,volume.medium.X[1],volume.medium.d,der(volume.medium.h),der(volume.medium.p),der(volume.medium.u),volume.medium.h,volume.medium.p,volume.medium.p_bar,volume.medium.phase,volume.medium.preferredMediumStates,volume.medium.quality,volume.medium.sat.Tsat,volume.medium.sat.psat,volume.medium.standardOrderComponents,volume.medium.state.T,volume.medium.state.d,der(volume.medium.state.d),volume.medium.state.h,volume.medium.state.p,volume.medium.state.phase,volume.medium.u,volume.p_start,volume.port.H_flow,volume.port.h,volume.port.m_flow,volume.port.p,volume.use_T_start,volume.use_p_start,volume1.T_start,volume1.U,volume1.V,volume1.X_start[1],volume1.d_start,der(volume1.U),der(volume1.m),volume1.h_start,volume1.m,volume1.medium.MM,volume1.medium.R,volume1.medium.T,volume1.medium.T_degC,volume1.medium.X[1],volume1.medium.d,der(volume1.medium.h),der(volume1.medium.p),der(volume1.medium.u),volume1.medium.h,volume1.medium.p,volume1.medium.p_bar,volume1.medium.phase,volume1.medium.preferredMediumStates,volume1.medium.quality,volume1.medium.sat.Tsat,volume1.medium.sat.psat,volume1.medium.standardOrderComponents,volume1.medium.state.T,volume1.medium.state.d,der(volume1.medium.state.d),volume1.medium.state.h,volume1.medium.state.p,volume1.medium.state.phase,volume1.medium.u,volume1.p_start,volume1.port.H_flow,volume1.port.h,volume1.port.m_flow,volume1.port.p,volume1.use_T_start,volume1.use_p_start Variables in the result:T_start,X_start[1],ambient.T_ambient,ambient.X_ambient[1],ambient.d_ambient,ambient.h_ambient,ambient.medium.MM,ambient.medium.R,ambient.medium.T,ambient.medium.T_degC,ambient.medium.X[1],ambient.medium.d,ambient.medium.h,ambient.medium.p,ambient.medium.p_bar,ambient.medium.phase,ambient.medium.preferredMediumStates,ambient.medium.quality,ambient.medium.sat.Tsat,ambient.medium.sat.psat,ambient.medium.standardOrderComponents,ambient.medium.state.T,ambient.medium.state.d,ambient.medium.state.h,ambient.medium.state.p,ambient.medium.state.phase,ambient.medium.u,ambient.p_ambient,ambient.port.H_flow,ambient.port.h,ambient.port.m_flow,ambient.port.p,ambient.use_T_ambient,ambient.use_p_ambient,der(volume.U),der(volume.m),der(volume.medium.h),der(volume.medium.p),der(volume.medium.u),der(volume1.U),der(volume1.m),der(volume1.medium.h),der(volume1.medium.p),der(volume1.medium.u),fixedMassFlowRate.T_ambient,fixedMassFlowRate.X_ambient[1],fixedMassFlowRate.h_ambient,fixedMassFlowRate.m_flow,fixedMassFlowRate.medium.MM,fixedMassFlowRate.medium.R,fixedMassFlowRate.medium.T,fixedMassFlowRate.medium.T_degC,fixedMassFlowRate.medium.X[1],fixedMassFlowRate.medium.d,fixedMassFlowRate.medium.h,fixedMassFlowRate.medium.p,fixedMassFlowRate.medium.p_bar,fixedMassFlowRate.medium.phase,fixedMassFlowRate.medium.preferredMediumStates,fixedMassFlowRate.medium.quality,fixedMassFlowRate.medium.sat.Tsat,fixedMassFlowRate.medium.sat.psat,fixedMassFlowRate.medium.standardOrderComponents,fixedMassFlowRate.medium.state.T,fixedMassFlowRate.medium.state.d,fixedMassFlowRate.medium.state.h,fixedMassFlowRate.medium.state.p,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.u,fixedMassFlowRate.port.H_flow,fixedMassFlowRate.port.h,fixedMassFlowRate.port.m_flow,fixedMassFlowRate.port.p,fixedMassFlowRate.use_T_ambient,h_start,p_start,shortPipe.dp,shortPipe.dp_nominal,shortPipe.m_flow,shortPipe.m_flow_nominal,shortPipe.port_a.H_flow,shortPipe.port_a.h,shortPipe.port_a.m_flow,shortPipe.port_a.p,shortPipe.port_b.H_flow,shortPipe.port_b.h,shortPipe.port_b.m_flow,shortPipe.port_b.p,shortPipe1.dp,shortPipe1.dp_nominal,shortPipe1.m_flow,shortPipe1.m_flow_nominal,shortPipe1.port_a.H_flow,shortPipe1.port_a.h,shortPipe1.port_a.m_flow,shortPipe1.port_a.p,shortPipe1.port_b.H_flow,shortPipe1.port_b.h,shortPipe1.port_b.m_flow,shortPipe1.port_b.p,time,volume.T_start,volume.U,volume.V,volume.X_start[1],volume.d_start,volume.h_start,volume.m,volume.medium.MM,volume.medium.R,volume.medium.T,volume.medium.T_degC,volume.medium.X[1],volume.medium.d,volume.medium.h,volume.medium.p,volume.medium.p_bar,volume.medium.phase,volume.medium.preferredMediumStates,volume.medium.quality,volume.medium.sat.Tsat,volume.medium.sat.psat,volume.medium.standardOrderComponents,volume.medium.state.T,volume.medium.state.d,volume.medium.state.h,volume.medium.state.p,volume.medium.state.phase,volume.medium.u,volume.p_start,volume.port.H_flow,volume.port.h,volume.port.m_flow,volume.port.p,volume.use_T_start,volume.use_p_start,volume1.T_start,volume1.U,volume1.V,volume1.X_start[1],volume1.d_start,volume1.h_start,volume1.m,volume1.medium.MM,volume1.medium.R,volume1.medium.T,volume1.medium.T_degC,volume1.medium.X[1],volume1.medium.d,volume1.medium.h,volume1.medium.p,volume1.medium.p_bar,volume1.medium.phase,volume1.medium.preferredMediumStates,volume1.medium.quality,volume1.medium.sat.Tsat,volume1.medium.sat.psat,volume1.medium.standardOrderComponents,volume1.medium.state.T,volume1.medium.state.d,volume1.medium.state.h,volume1.medium.state.p,volume1.medium.state.phase,volume1.medium.u,volume1.p_start,volume1.port.H_flow,volume1.port.h,volume1.port.m_flow,volume1.port.p,volume1.use_T_start,volume1.use_p_start