Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ph") Notification: Performance of loadModel(ModelicaTest): time 2.267/2.267, allocations: 235 MB / 247.6 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.602e-05, allocations: 4 kB / 304.9 MB, free: 5.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3271, allocations: 54.85 MB / 359.8 MB, free: 2.574 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.471/1.798, allocations: 0.6423 GB / 0.9936 GB, free: 110.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/1.798, allocations: 75.95 kB / 0.9937 GB, free: 110.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5331/2.331, allocations: 111.2 MB / 1.102 GB, free: 134.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.761e-06/2.331, allocations: 1.031 kB / 1.102 GB, free: 134.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/2.331, allocations: 6.125 kB / 1.102 GB, free: 134.2 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.003405/2.335, allocations: 1.046 MB / 1.103 GB, free: 133.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/2.335, allocations: 8.766 kB / 1.103 GB, free: 133.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007976/2.336, allocations: 72.16 kB / 1.103 GB, free: 133.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/2.336, allocations: 249.8 kB / 1.104 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/2.336, allocations: 24.31 kB / 1.104 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/2.336, allocations: 25.88 kB / 1.104 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/2.337, allocations: 485.3 kB / 1.104 GB, free: 133.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/2.337, allocations: 3.531 kB / 1.104 GB, free: 133.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/2.337, allocations: 13.75 kB / 1.104 GB, free: 133.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/2.338, allocations: 12.36 kB / 1.104 GB, free: 133.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/2.339, allocations: 0.6838 MB / 1.105 GB, free: 133.4 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.01176/2.351, allocations: 5.375 MB / 1.11 GB, free: 130.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007071/2.352, allocations: 183.4 kB / 1.11 GB, free: 130.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/2.352, allocations: 59.8 kB / 1.11 GB, free: 130.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05758/2.409, allocations: 25.84 MB / 1.136 GB, free: 115 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000688/2.41, allocations: 301.1 kB / 1.136 GB, free: 114.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 5.294e-06/2.41, allocations: 3.562 kB / 1.136 GB, free: 114.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.001438/2.412, allocations: 353.9 kB / 1.136 GB, free: 114.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/2.412, allocations: 428.4 kB / 1.137 GB, free: 114.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/2.412, allocations: 179.2 kB / 1.137 GB, free: 114.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/2.412, allocations: 33.48 kB / 1.137 GB, free: 114.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/2.412, allocations: 256.5 kB / 1.137 GB, free: 113.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/2.412, allocations: 98.08 kB / 1.137 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/2.412, allocations: 7.188 kB / 1.137 GB, free: 113.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.229e-05/2.412, allocations: 324.4 kB / 1.137 GB, free: 113.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/2.412, allocations: 64.09 kB / 1.137 GB, free: 113.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/2.413, allocations: 299 kB / 1.138 GB, free: 113.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/2.413, allocations: 115.8 kB / 1.138 GB, free: 113.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/2.413, allocations: 3.969 kB / 1.138 GB, free: 113.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008037/2.414, allocations: 360.6 kB / 1.138 GB, free: 113.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/2.414, allocations: 8.875 kB / 1.138 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/2.414, allocations: 11.72 kB / 1.138 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/2.414, allocations: 12.31 kB / 1.138 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/2.414, allocations: 107.9 kB / 1.138 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/2.414, allocations: 17.41 kB / 1.138 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/2.415, allocations: 51.59 kB / 1.138 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/2.415, allocations: 36.19 kB / 1.138 GB, free: 113.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/2.415, allocations: 139.5 kB / 1.139 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/2.415, allocations: 34.36 kB / 1.139 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/2.416, allocations: 0.8028 MB / 1.139 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/2.416, allocations: 9 kB / 1.139 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.963e-06/2.416, allocations: 0 / 1.139 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.249e-06/2.416, allocations: 3.938 kB / 1.139 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03247/2.449, allocations: 12.24 MB / 1.151 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.821e-06/2.449, allocations: 3 kB / 1.151 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/2.449, allocations: 30.89 kB / 1.151 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.73e-06/2.449, allocations: 5.469 kB / 1.151 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/2.449, allocations: 3.5 kB / 1.151 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.15e-06/2.449, allocations: 3.625 kB / 1.151 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.405e-06/2.449, allocations: 0 / 1.151 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/2.45, allocations: 495.3 kB / 1.152 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/2.45, allocations: 189.8 kB / 1.152 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/2.45, allocations: 11.47 kB / 1.152 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/2.45, allocations: 15.42 kB / 1.152 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/2.45, allocations: 22.34 kB / 1.152 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/2.45, allocations: 11.09 kB / 1.152 GB, free: 106.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002648/2.451, allocations: 218.7 kB / 1.152 GB, free: 106.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.108e-06/2.451, allocations: 3.812 kB / 1.152 GB, free: 106.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001873/2.453, allocations: 437.3 kB / 1.153 GB, free: 106.1 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002574/2.455, allocations: 0.7769 MB / 1.153 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005351/2.456, allocations: 226.5 kB / 1.154 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.976e-06/2.456, allocations: 4.188 kB / 1.154 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/2.456, allocations: 104.2 kB / 1.154 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/2.457, allocations: 69.52 kB / 1.154 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.326/4.782, allocations: 0.7338 GB / 1.888 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/4.783, allocations: 0.8015 MB / 1.888 GB, free: 113.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/4.783, allocations: 46.61 kB / 1.889 GB, free: 113.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.848e-06/4.783, allocations: 0 / 1.889 GB, free: 113.2 MB / 490.7 MB Notification: Performance of Templates: time 0.01789/4.801, allocations: 10.85 MB / 1.899 GB, free: 106.7 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_ph_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_ph_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_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,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