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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadModel(ModelicaTest): time 2.26/2.26, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.543e-05/4.573e-05, allocations: 4 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3318, allocations: 54.85 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.469/1.801, allocations: 0.6423 GB / 0.9936 GB, free: 110.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/1.801, allocations: 82.62 kB / 0.9937 GB, free: 110.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5348/2.336, allocations: 111.1 MB / 1.102 GB, free: 134.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.522e-06/2.336, allocations: 0.9688 kB / 1.102 GB, free: 134.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/2.336, allocations: 4.375 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.003658/2.34, allocations: 1.046 MB / 1.103 GB, free: 133.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/2.34, allocations: 9.438 kB / 1.103 GB, free: 133.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008237/2.341, allocations: 81.55 kB / 1.103 GB, free: 133.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/2.341, allocations: 242.9 kB / 1.104 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/2.341, allocations: 19.78 kB / 1.104 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/2.341, allocations: 26.83 kB / 1.104 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/2.342, allocations: 485 kB / 1.104 GB, free: 133.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/2.342, allocations: 3.562 kB / 1.104 GB, free: 133.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/2.342, allocations: 17.73 kB / 1.104 GB, free: 133.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/2.342, allocations: 9.719 kB / 1.104 GB, free: 133.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/2.344, allocations: 0.6836 MB / 1.105 GB, free: 133.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.01119/2.355, allocations: 4.202 MB / 1.109 GB, free: 131.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/2.356, allocations: 223.7 kB / 1.109 GB, free: 131.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/2.357, allocations: 71.55 kB / 1.109 GB, free: 131.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1541/2.511, allocations: 40.35 MB / 1.149 GB, free: 112 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008239/2.511, allocations: 319.6 kB / 1.149 GB, free: 111.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 4.55e-06/2.512, allocations: 0 / 1.149 GB, free: 111.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.003126/2.515, allocations: 0.7398 MB / 1.15 GB, free: 111.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.757e-05/2.515, allocations: 430.2 kB / 1.15 GB, free: 111.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/2.515, allocations: 154 kB / 1.15 GB, free: 111 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/2.515, allocations: 33.11 kB / 1.15 GB, free: 111 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/2.515, allocations: 240 kB / 1.15 GB, free: 110.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.364e-05/2.515, allocations: 121.2 kB / 1.151 GB, free: 110.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/2.515, allocations: 9.906 kB / 1.151 GB, free: 110.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/2.515, allocations: 332.6 kB / 1.151 GB, free: 110.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/2.515, allocations: 61.02 kB / 1.151 GB, free: 110.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/2.516, allocations: 295 kB / 1.151 GB, free: 110.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/2.516, allocations: 120.7 kB / 1.151 GB, free: 110.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.178e-06/2.516, allocations: 3.969 kB / 1.151 GB, free: 110.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008535/2.517, allocations: 364 kB / 1.152 GB, free: 110.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/2.517, allocations: 14.78 kB / 1.152 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/2.517, allocations: 11.52 kB / 1.152 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/2.517, allocations: 16.81 kB / 1.152 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/2.52, allocations: 257.6 kB / 1.152 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005091/2.52, allocations: 1.178 MB / 1.153 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/2.521, allocations: 28.22 kB / 1.153 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/2.521, allocations: 31.58 kB / 1.153 GB, free: 108.9 MB / 490.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.0001481/2.521, allocations: 138 kB / 1.153 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/2.521, allocations: 27.3 kB / 1.153 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/2.523, allocations: 0.9765 MB / 1.154 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/2.523, allocations: 11.75 kB / 1.154 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.327e-06/2.523, allocations: 3.953 kB / 1.154 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/2.523, allocations: 10.31 kB / 1.154 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03622/2.559, allocations: 12.44 MB / 1.166 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/2.559, allocations: 4.781 kB / 1.166 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/2.561, allocations: 127.5 kB / 1.167 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/2.561, allocations: 5.375 kB / 1.167 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/2.561, allocations: 18.25 kB / 1.167 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002528/2.561, allocations: 0.5777 MB / 1.167 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/2.561, allocations: 7.766 kB / 1.167 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/2.562, allocations: 0.6317 MB / 1.168 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/2.562, allocations: 191.9 kB / 1.168 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/2.562, allocations: 7.125 kB / 1.168 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/2.562, allocations: 14.16 kB / 1.168 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/2.562, allocations: 31.03 kB / 1.168 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/2.563, allocations: 10.44 kB / 1.168 GB, free: 101.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002564/2.563, allocations: 207.2 kB / 1.168 GB, free: 101.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.45e-06/2.563, allocations: 0 / 1.168 GB, free: 101.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002121/2.565, allocations: 477.7 kB / 1.169 GB, free: 101.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 (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.003061/2.568, allocations: 0.8391 MB / 1.169 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/2.57, allocations: 381.2 kB / 1.17 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.165e-06/2.57, allocations: 3.938 kB / 1.17 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/2.571, allocations: 233.2 kB / 1.17 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/2.572, allocations: 81.58 kB / 1.17 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.239/4.811, allocations: 0.679 GB / 1.849 GB, free: 124.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/4.811, allocations: 0.8171 MB / 1.85 GB, free: 123.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/4.811, allocations: 47 kB / 1.85 GB, free: 123.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.77e-06/4.811, allocations: 0 / 1.85 GB, free: 123.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02134/4.833, allocations: 12.96 MB / 1.863 GB, free: 122.5 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_pT_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_pT_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_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