Notification: Performance of loadModel(Modelica): time 1.537/1.537, allocations: 194.3 MB / 200.6 MB, free: 5.301 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.499e-06/9.568e-06, allocations: 2.125 kB / 247.1 MB, free: 4.812 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06218/0.06227, allocations: 44.31 MB / 291.4 MB, free: 9.543 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.593/9.656, allocations: 5.719 GB / 6.004 GB, free: 8.758 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/9.656, allocations: 86.53 kB / 6.004 GB, free: 8.68 MB / 392.6 MB Notification: Performance of FrontEnd: time 4.772/14.43, allocations: 1.265 GB / 7.269 GB, free: 4.398 MB / 0.587 GB Notification: Performance of Transformations before backend: time 2.94e-05/14.43, allocations: 17.25 kB / 7.269 GB, free: 4.383 MB / 0.587 GB Notification: Performance of Generate backend data structure: time 0.04505/14.47, allocations: 2.186 MB / 7.271 GB, free: 2.395 MB / 0.587 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/14.47, allocations: 12.03 kB / 7.271 GB, free: 2.383 MB / 0.587 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/14.47, allocations: 99.28 kB / 7.271 GB, free: 2.285 MB / 0.587 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/14.48, allocations: 375.7 kB / 7.272 GB, free: 1.902 MB / 0.587 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/14.48, allocations: 12 kB / 7.272 GB, free: 1.891 MB / 0.587 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/14.48, allocations: 28 kB / 7.272 GB, free: 1.863 MB / 0.587 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008516/14.48, allocations: 457.8 kB / 7.272 GB, free: 1.418 MB / 0.587 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008737/14.48, allocations: 0.5054 MB / 7.273 GB, free: 0.8672 MB / 0.587 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/14.48, allocations: 7.875 kB / 7.273 GB, free: 0.8594 MB / 0.587 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/14.48, allocations: 4 kB / 7.273 GB, free: 0.8555 MB / 0.587 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/14.48, allocations: 12 kB / 7.273 GB, free: 0.8438 MB / 0.587 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008538/14.49, allocations: 6.523 MB / 7.279 GB, free: 9.973 MB / 0.6026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/14.49, allocations: 234.2 kB / 7.279 GB, free: 9.738 MB / 0.6026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/14.49, allocations: 185.9 kB / 7.279 GB, free: 9.555 MB / 0.6026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003074/14.49, allocations: 2.451 MB / 7.282 GB, free: 6.699 MB / 0.6026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/14.49, allocations: 42.5 kB / 7.282 GB, free: 6.648 MB / 0.6026 GB Notification: Performance of pre-optimization done (n=44): time 6.216e-06/14.49, allocations: 0 / 7.282 GB, free: 6.648 MB / 0.6026 GB Notification: Performance of matching and sorting (n=52): time 0.01068/14.5, allocations: 1.645 MB / 7.283 GB, free: 4.965 MB / 0.6026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/14.5, allocations: 59.84 kB / 7.283 GB, free: 4.895 MB / 0.6026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/14.5, allocations: 258 kB / 7.284 GB, free: 4.637 MB / 0.6026 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/14.5, allocations: 25.7 kB / 7.284 GB, free: 4.605 MB / 0.6026 GB Notification: Performance of collectInitialEqns (initialization): time 9.952e-05/14.5, allocations: 220.5 kB / 7.284 GB, free: 4.41 MB / 0.6026 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/14.5, allocations: 176 kB / 7.284 GB, free: 4.258 MB / 0.6026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/14.5, allocations: 0 / 7.284 GB, free: 4.258 MB / 0.6026 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/14.5, allocations: 350.7 kB / 7.284 GB, free: 3.906 MB / 0.6026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/14.5, allocations: 165.3 kB / 7.285 GB, free: 3.746 MB / 0.6026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/14.5, allocations: 312.4 kB / 7.285 GB, free: 3.383 MB / 0.6026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/14.51, allocations: 333.3 kB / 7.285 GB, free: 3.059 MB / 0.6026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.914e-06/14.51, allocations: 3.984 kB / 7.285 GB, free: 3.055 MB / 0.6026 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004366/14.51, allocations: 0.7897 MB / 7.286 GB, free: 2.25 MB / 0.6026 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/14.51, allocations: 4 kB / 7.286 GB, free: 2.246 MB / 0.6026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/14.51, allocations: 4 kB / 7.286 GB, free: 2.242 MB / 0.6026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004522/14.51, allocations: 99.08 kB / 7.286 GB, free: 2.137 MB / 0.6026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008564/14.51, allocations: 152.7 kB / 7.286 GB, free: 1.988 MB / 0.6026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1683/14.68, allocations: 2.973 MB / 7.289 GB, free: 211.9 MB / 0.6026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006562/14.68, allocations: 33.73 kB / 7.289 GB, free: 211.9 MB / 0.6026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/14.68, allocations: 34.98 kB / 7.289 GB, free: 211.9 MB / 0.6026 GB Notification: Performance of prepare postOptimizeDAE: time 8.067e-05/14.68, allocations: 78.72 kB / 7.289 GB, free: 211.8 MB / 0.6026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/14.68, allocations: 88.02 kB / 7.289 GB, free: 211.8 MB / 0.6026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/14.69, allocations: 1.188 MB / 7.291 GB, free: 211.8 MB / 0.6026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/14.69, allocations: 15.33 kB / 7.291 GB, free: 211.8 MB / 0.6026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-06/14.69, allocations: 0 / 7.291 GB, free: 211.8 MB / 0.6026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002665/14.69, allocations: 1.132 MB / 7.292 GB, free: 211.4 MB / 0.6026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003919/14.69, allocations: 1.708 MB / 7.293 GB, free: 211.1 MB / 0.6026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.59e-06/14.69, allocations: 0 / 7.293 GB, free: 211.1 MB / 0.6026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/14.69, allocations: 100.3 kB / 7.293 GB, free: 211.1 MB / 0.6026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004915/14.69, allocations: 123 kB / 7.294 GB, free: 211 MB / 0.6026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/14.69, allocations: 12.58 kB / 7.294 GB, free: 211 MB / 0.6026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006888/14.7, allocations: 1.184 MB / 7.295 GB, free: 210 MB / 0.6026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.076e-06/14.7, allocations: 2.938 kB / 7.295 GB, free: 210 MB / 0.6026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003495/14.7, allocations: 1.307 MB / 7.296 GB, free: 209.8 MB / 0.6026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/14.7, allocations: 133.6 kB / 7.296 GB, free: 209.7 MB / 0.6026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/14.7, allocations: 0 / 7.296 GB, free: 209.7 MB / 0.6026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/14.7, allocations: 25.92 kB / 7.296 GB, free: 209.7 MB / 0.6026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/14.7, allocations: 31.56 kB / 7.296 GB, free: 209.7 MB / 0.6026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/14.7, allocations: 21.36 kB / 7.296 GB, free: 209.7 MB / 0.6026 GB Notification: Performance of sort global known variables: time 0.0002056/14.7, allocations: 193.5 kB / 7.296 GB, free: 209.6 MB / 0.6026 GB Notification: Performance of remove unused functions: time 0.01993/14.72, allocations: 1.129 MB / 7.297 GB, free: 209.6 MB / 0.6026 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.346/15.07, allocations: 45.51 MB / 7.342 GB, free: 186.4 MB / 0.6026 GB Notification: Performance of simCode: created initialization part: time 0.001914/15.07, allocations: 0.7606 MB / 7.343 GB, free: 186.3 MB / 0.6026 GB Notification: Performance of simCode: created event and clocks part: time 5.447e-06/15.07, allocations: 0 / 7.343 GB, free: 186.3 MB / 0.6026 GB Notification: Performance of simCode: created simulation system equations: time 0.0007863/15.07, allocations: 465.4 kB / 7.343 GB, free: 186.3 MB / 0.6026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/15.07, allocations: 198.1 kB / 7.343 GB, free: 186.3 MB / 0.6026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/15.07, allocations: 1.055 MB / 7.344 GB, free: 186 MB / 0.6026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/15.07, allocations: 0.9308 MB / 7.345 GB, free: 185.3 MB / 0.6026 GB Notification: Performance of SimCode: time 2.445e-06/15.07, allocations: 0 / 7.345 GB, free: 185.3 MB / 0.6026 GB Notification: Performance of Templates: time 0.1372/15.21, allocations: 39.77 MB / 7.384 GB, free: 183 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