Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadModel(ModelicaTest): time 2.038/2.038, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.212e-05, allocations: 0 / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08856/0.08862, allocations: 48.69 MB / 321.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.652/1.74, allocations: 0.636 GB / 0.9502 GB, free: 41.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/1.74, allocations: 81.08 kB / 0.9502 GB, free: 41.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5162/2.257, allocations: 111.1 MB / 1.059 GB, free: 107.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/2.257, allocations: 0 / 1.059 GB, free: 107.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/2.257, allocations: 4 kB / 1.059 GB, free: 107.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003223/2.26, allocations: 1.044 MB / 1.06 GB, free: 106.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/2.26, allocations: 8.031 kB / 1.06 GB, free: 106.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000781/2.261, allocations: 79.64 kB / 1.06 GB, free: 106.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/2.261, allocations: 250.7 kB / 1.06 GB, free: 106.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/2.261, allocations: 20.56 kB / 1.06 GB, free: 106 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/2.261, allocations: 28 kB / 1.06 GB, free: 106 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/2.262, allocations: 484.4 kB / 1.061 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/2.262, allocations: 4 kB / 1.061 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/2.262, allocations: 20 kB / 1.061 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.911e-06/2.263, allocations: 4 kB / 1.061 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/2.264, allocations: 0.6893 MB / 1.061 GB, free: 104.8 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/2.274, allocations: 4.201 MB / 1.065 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/2.275, allocations: 223.1 kB / 1.066 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/2.275, allocations: 69.41 kB / 1.066 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1011/2.376, allocations: 40.34 MB / 1.105 GB, free: 56.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007202/2.377, allocations: 322.3 kB / 1.105 GB, free: 55.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 4.232e-06/2.377, allocations: 0 / 1.105 GB, free: 55.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.00277/2.379, allocations: 0.7433 MB / 1.106 GB, free: 54.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/2.38, allocations: 427.1 kB / 1.106 GB, free: 54.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/2.38, allocations: 145.8 kB / 1.107 GB, free: 54.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/2.38, allocations: 37.7 kB / 1.107 GB, free: 54.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/2.38, allocations: 234.2 kB / 1.107 GB, free: 54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.002e-05/2.38, allocations: 122.3 kB / 1.107 GB, free: 53.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/2.38, allocations: 12 kB / 1.107 GB, free: 53.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.096e-05/2.38, allocations: 335 kB / 1.107 GB, free: 53.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/2.38, allocations: 61.11 kB / 1.107 GB, free: 53.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/2.381, allocations: 301.1 kB / 1.108 GB, free: 53.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/2.381, allocations: 119.7 kB / 1.108 GB, free: 52.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.636e-06/2.381, allocations: 4 kB / 1.108 GB, free: 52.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008319/2.382, allocations: 361.4 kB / 1.108 GB, free: 52.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/2.382, allocations: 11.98 kB / 1.108 GB, free: 52.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/2.382, allocations: 8 kB / 1.108 GB, free: 52.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/2.382, allocations: 12 kB / 1.108 GB, free: 52.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/2.384, allocations: 264.1 kB / 1.108 GB, free: 52.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005071/2.384, allocations: 1.18 MB / 1.11 GB, free: 51.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/2.385, allocations: 28.03 kB / 1.11 GB, free: 51.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/2.385, allocations: 39.92 kB / 1.11 GB, free: 50.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/2.385, allocations: 136.8 kB / 1.11 GB, free: 50.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.602e-05/2.385, allocations: 23.81 kB / 1.11 GB, free: 50.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/2.387, allocations: 0.975 MB / 1.111 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/2.387, allocations: 8 kB / 1.111 GB, free: 49.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.42e-06/2.387, allocations: 160 / 1.111 GB, free: 49.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.68e-06/2.387, allocations: 11.98 kB / 1.111 GB, free: 49.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03153/2.419, allocations: 12.43 MB / 1.123 GB, free: 36.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/2.419, allocations: 0 / 1.123 GB, free: 36.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/2.42, allocations: 139.9 kB / 1.123 GB, free: 36.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/2.42, allocations: 4 kB / 1.123 GB, free: 36.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/2.42, allocations: 8 kB / 1.123 GB, free: 36.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002583/2.42, allocations: 0.5859 MB / 1.124 GB, free: 35.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.686e-06/2.42, allocations: 8.125 kB / 1.124 GB, free: 35.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007049/2.421, allocations: 0.6198 MB / 1.124 GB, free: 34.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/2.421, allocations: 196.2 kB / 1.124 GB, free: 34.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/2.421, allocations: 8 kB / 1.124 GB, free: 34.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/2.422, allocations: 15.98 kB / 1.124 GB, free: 34.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/2.422, allocations: 19.94 kB / 1.124 GB, free: 34.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/2.422, allocations: 15.98 kB / 1.124 GB, free: 34.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002393/2.422, allocations: 210.2 kB / 1.125 GB, free: 34.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.5e-07/2.422, allocations: 4 kB / 1.125 GB, free: 34.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002027/2.424, allocations: 479.4 kB / 1.125 GB, free: 33.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002997/2.427, allocations: 0.8366 MB / 1.126 GB, free: 32.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001664/2.429, allocations: 377 kB / 1.126 GB, free: 32.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/2.429, allocations: 7.938 kB / 1.126 GB, free: 32.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008984/2.43, allocations: 236.9 kB / 1.127 GB, free: 32.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007007/2.43, allocations: 81.84 kB / 1.127 GB, free: 32.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.352/4.782, allocations: 0.679 GB / 1.806 GB, free: 97.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/4.782, allocations: 0.8209 MB / 1.806 GB, free: 96.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/4.783, allocations: 41.95 kB / 1.807 GB, free: 96.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.873e-06/4.783, allocations: 0 / 1.807 GB, free: 96.98 MB / 426.7 MB Notification: Performance of Templates: time 0.02124/4.804, allocations: 12.96 MB / 1.819 GB, free: 95.68 MB / 426.7 MB "Error: Could not read variable _GlobalScope.Modelica.Media.Interfaces.PartialPureSubstance.reference_X[1] in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _GlobalScope.Modelica.Media.Interfaces.PartialPureSubstance.reference_X[1] from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat failed! " Variables in the reference:time,eps_h_is,eps,eta,lambda,Pr,p,T,d,h,u,s,g,f,cp,cp2,cv,cv2,h_is,a,beta,beta2,kappa,kappa2,MM,h2,d2,err_T,err_d,err_u,s_is,err_h_is Variables in the result:MM,Pr,T,a,beta,beta2,cp,cp2,cv,cv2,d,d2,eps,eps_h_is,err_T,err_d,err_h_is,err_u,eta,f,g,h,h2,h_is,kappa,kappa2,lambda,medium.MM,medium.R,medium.T,medium.T_degC,medium.X[1],medium.d,der(medium.T),medium.h,medium.p,medium.p_bar,medium.preferredMediumStates,medium.standardOrderComponents,medium.state.T,medium.state.d,medium.state.h,medium.state.p,medium.u,p,s,s_is,state.T,state.d,state.h,state.p,state2.T,state2.d,state2.h,state2.p,state3.T,state3.d,state3.h,state3.p,state4.T,state4.d,state4.h,state4.p,state5.T,state5.d,state5.h,state5.p,state_h_is.T,state_h_is.d,state_h_is.h,state_h_is.p,time,u