Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_dT") Notification: Performance of loadModel(ModelicaTest): time 1.936/1.936, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.544e-05/3.546e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.08996, allocations: 48.7 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.602/1.692, allocations: 0.6359 GB / 0.9502 GB, free: 56.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/1.692, allocations: 79.95 kB / 0.9502 GB, free: 56.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5129/2.205, allocations: 111.1 MB / 1.059 GB, free: 117.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.504e-06/2.205, allocations: 0 / 1.059 GB, free: 117.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/2.205, allocations: 4 kB / 1.059 GB, free: 117.1 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.003587/2.209, allocations: 1.044 MB / 1.06 GB, free: 116 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/2.209, allocations: 12.02 kB / 1.06 GB, free: 116 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007892/2.21, allocations: 75.66 kB / 1.06 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/2.21, allocations: 252.4 kB / 1.06 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/2.21, allocations: 20.56 kB / 1.06 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/2.21, allocations: 24 kB / 1.06 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/2.211, allocations: 488.4 kB / 1.061 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/2.211, allocations: 4 kB / 1.061 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/2.212, allocations: 12 kB / 1.061 GB, free: 115 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.757e-06/2.212, allocations: 8 kB / 1.061 GB, free: 115 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/2.213, allocations: 0.6841 MB / 1.061 GB, free: 114.4 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.009702/2.223, allocations: 4.161 MB / 1.065 GB, free: 110 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008837/2.224, allocations: 231 kB / 1.066 GB, free: 109.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/2.224, allocations: 73.42 kB / 1.066 GB, free: 109.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1045/2.328, allocations: 43.17 MB / 1.108 GB, free: 62.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006332/2.329, allocations: 246.9 kB / 1.108 GB, free: 62.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.454e-06/2.329, allocations: 0 / 1.108 GB, free: 62.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.003076/2.332, allocations: 0.7098 MB / 1.109 GB, free: 61.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/2.332, allocations: 273.2 kB / 1.109 GB, free: 61.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/2.332, allocations: 181.5 kB / 1.109 GB, free: 61.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/2.332, allocations: 33.7 kB / 1.109 GB, free: 61.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/2.333, allocations: 269.5 kB / 1.109 GB, free: 60.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/2.333, allocations: 86.83 kB / 1.11 GB, free: 60.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/2.333, allocations: 12 kB / 1.11 GB, free: 60.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/2.333, allocations: 331.1 kB / 1.11 GB, free: 60.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/2.333, allocations: 61.11 kB / 1.11 GB, free: 60.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/2.333, allocations: 338.2 kB / 1.11 GB, free: 59.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/2.333, allocations: 119.8 kB / 1.11 GB, free: 59.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.378e-06/2.333, allocations: 0 / 1.11 GB, free: 59.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008263/2.334, allocations: 406.6 kB / 1.111 GB, free: 59.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/2.334, allocations: 9 kB / 1.111 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/2.334, allocations: 12.06 kB / 1.111 GB, free: 59.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/2.337, allocations: 321.4 kB / 1.111 GB, free: 59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/2.337, allocations: 99.83 kB / 1.111 GB, free: 58.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005578/2.338, allocations: 1.219 MB / 1.112 GB, free: 57.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/2.338, allocations: 20 kB / 1.112 GB, free: 57.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/2.338, allocations: 28 kB / 1.112 GB, free: 57.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (54): * Single equations (assignments): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001245/2.338, allocations: 140.9 kB / 1.113 GB, free: 57.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/2.338, allocations: 35.67 kB / 1.113 GB, free: 57.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/2.34, allocations: 0.792 MB / 1.113 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/2.34, allocations: 4 kB / 1.113 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.561e-06/2.34, allocations: 11.92 kB / 1.113 GB, free: 56.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.696e-06/2.34, allocations: 0 / 1.113 GB, free: 56.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/2.34, allocations: 0.5043 MB / 1.114 GB, free: 56.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.852e-06/2.34, allocations: 4 kB / 1.114 GB, free: 56.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/2.34, allocations: 39.91 kB / 1.114 GB, free: 56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/2.342, allocations: 241.8 kB / 1.114 GB, free: 55.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/2.342, allocations: 19.89 kB / 1.114 GB, free: 55.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000541/2.343, allocations: 1.254 MB / 1.115 GB, free: 54.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/2.343, allocations: 4.031 kB / 1.115 GB, free: 54.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/2.343, allocations: 0.5361 MB / 1.116 GB, free: 53.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/2.343, allocations: 216.1 kB / 1.116 GB, free: 53.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/2.344, allocations: 7.953 kB / 1.116 GB, free: 53.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/2.344, allocations: 16 kB / 1.116 GB, free: 53.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/2.344, allocations: 23.97 kB / 1.116 GB, free: 53.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/2.344, allocations: 8 kB / 1.116 GB, free: 53.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000356/2.344, allocations: 297.5 kB / 1.116 GB, free: 53.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.18e-07/2.344, allocations: 0 / 1.116 GB, free: 53.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001785/2.346, allocations: 407.5 kB / 1.117 GB, free: 52.82 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002576/2.349, allocations: 0.7134 MB / 1.117 GB, free: 52.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007179/2.349, allocations: 304.1 kB / 1.118 GB, free: 51.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.244e-06/2.35, allocations: 0 / 1.118 GB, free: 51.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/2.35, allocations: 178.7 kB / 1.118 GB, free: 51.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/2.35, allocations: 78.36 kB / 1.118 GB, free: 51.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.977/6.328, allocations: 1.255 GB / 2.373 GB, free: 47.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/6.328, allocations: 0.8267 MB / 2.373 GB, free: 46.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/6.328, allocations: 39.42 kB / 2.374 GB, free: 46.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.73e-06/6.328, allocations: 0 / 2.374 GB, free: 46.45 MB / 426.7 MB Notification: Performance of Templates: time 0.01791/6.346, allocations: 13.04 MB / 2.386 GB, free: 33.58 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_dT_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_dT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_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),der(medium.d),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