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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadModel(ModelicaTest): time 2.217/2.217, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.662e-05, allocations: 8 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3289, allocations: 54.85 MB / 359.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.523/1.852, allocations: 0.6423 GB / 0.9936 GB, free: 90.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/1.852, allocations: 82.39 kB / 0.9937 GB, free: 90.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5339/2.386, allocations: 111.1 MB / 1.102 GB, free: 143.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.113e-06/2.386, allocations: 1.156 kB / 1.102 GB, free: 143.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/2.386, allocations: 3.031 kB / 1.102 GB, free: 143.3 MB / 490.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.003457/2.389, allocations: 1.045 MB / 1.103 GB, free: 142.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/2.389, allocations: 9.844 kB / 1.103 GB, free: 142.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007935/2.39, allocations: 77.62 kB / 1.103 GB, free: 142.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/2.39, allocations: 245.2 kB / 1.104 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/2.391, allocations: 19.03 kB / 1.104 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/2.391, allocations: 29.25 kB / 1.104 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/2.392, allocations: 486.2 kB / 1.104 GB, free: 142.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/2.392, allocations: 1.125 kB / 1.104 GB, free: 142.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/2.392, allocations: 19.55 kB / 1.104 GB, free: 142.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/2.392, allocations: 6.344 kB / 1.104 GB, free: 142.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/2.393, allocations: 0.6813 MB / 1.105 GB, free: 142.3 MB / 490.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.0103/2.404, allocations: 4.168 MB / 1.109 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008229/2.405, allocations: 225.2 kB / 1.109 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/2.405, allocations: 75.17 kB / 1.109 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1158/2.52, allocations: 43.18 MB / 1.151 GB, free: 120 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006693/2.521, allocations: 254.9 kB / 1.152 GB, free: 119.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 3.692e-06/2.521, allocations: 0 / 1.152 GB, free: 119.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.003383/2.525, allocations: 0.727 MB / 1.152 GB, free: 119.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/2.525, allocations: 265 kB / 1.153 GB, free: 119.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/2.525, allocations: 180.7 kB / 1.153 GB, free: 119.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/2.525, allocations: 28.45 kB / 1.153 GB, free: 119.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.734e-05/2.525, allocations: 279.5 kB / 1.153 GB, free: 118.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/2.525, allocations: 87.78 kB / 1.153 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/2.525, allocations: 10.69 kB / 1.153 GB, free: 118.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/2.525, allocations: 323.3 kB / 1.153 GB, free: 118.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/2.525, allocations: 64.69 kB / 1.153 GB, free: 118.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/2.526, allocations: 332.2 kB / 1.154 GB, free: 118.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/2.526, allocations: 115.4 kB / 1.154 GB, free: 118.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.578e-06/2.526, allocations: 3.875 kB / 1.154 GB, free: 118.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009146/2.527, allocations: 405.5 kB / 1.154 GB, free: 118.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/2.527, allocations: 10.06 kB / 1.154 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/2.527, allocations: 10.62 kB / 1.154 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/2.529, allocations: 328.5 kB / 1.155 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/2.53, allocations: 97.16 kB / 1.155 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005799/2.53, allocations: 1.219 MB / 1.156 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/2.531, allocations: 21.16 kB / 1.156 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/2.531, allocations: 32.7 kB / 1.156 GB, free: 116.8 MB / 490.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.0001369/2.531, allocations: 141.9 kB / 1.156 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/2.531, allocations: 20.22 kB / 1.156 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/2.532, allocations: 0.7943 MB / 1.157 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/2.532, allocations: 5.969 kB / 1.157 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.571e-06/2.532, allocations: 2.969 kB / 1.157 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.932e-06/2.532, allocations: 11.97 kB / 1.157 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/2.533, allocations: 0.5099 MB / 1.157 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.676e-06/2.533, allocations: 0 / 1.157 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/2.533, allocations: 36.86 kB / 1.157 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/2.535, allocations: 240.9 kB / 1.158 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/2.535, allocations: 7.969 kB / 1.158 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005556/2.535, allocations: 1.261 MB / 1.159 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.812e-06/2.535, allocations: 3.75 kB / 1.159 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/2.536, allocations: 0.5404 MB / 1.159 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/2.536, allocations: 219.4 kB / 1.16 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.409e-05/2.537, allocations: 7.625 kB / 1.16 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/2.537, allocations: 14.2 kB / 1.16 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/2.537, allocations: 17.28 kB / 1.16 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/2.537, allocations: 18.78 kB / 1.16 GB, free: 114.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003833/2.537, allocations: 288.2 kB / 1.16 GB, free: 114 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.78e-07/2.537, allocations: 0 / 1.16 GB, free: 114 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001881/2.539, allocations: 411.8 kB / 1.16 GB, free: 113.9 MB / 490.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.002671/2.542, allocations: 0.7192 MB / 1.161 GB, free: 113.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007599/2.543, allocations: 304 kB / 1.161 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/2.543, allocations: 0 / 1.161 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/2.543, allocations: 181.1 kB / 1.161 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/2.544, allocations: 78.61 kB / 1.162 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.919/6.462, allocations: 1.255 GB / 2.416 GB, free: 102.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/6.463, allocations: 0.8384 MB / 2.417 GB, free: 102.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/6.463, allocations: 31.44 kB / 2.417 GB, free: 102.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.02e-06/6.463, allocations: 0 / 2.417 GB, free: 102.1 MB / 490.7 MB Notification: Performance of Templates: time 0.01778/6.481, allocations: 13.04 MB / 2.43 GB, free: 92.43 MB / 490.7 MB "Error: Could not read variable _GlobalScope.Modelica.Media.Interfaces.PartialPureSubstance.reference_X[1] in file ModelicaTest_3.2.2_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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_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