Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 270 MB / 282.7 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.687e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3304, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.482/1.813, allocations: 0.5216 GB / 0.9209 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/1.813, allocations: 93.25 kB / 0.921 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9262/2.739, allocations: 206.4 MB / 1.123 GB, free: 105 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.958e-06/2.739, allocations: 0 / 1.123 GB, free: 105 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.841e-05/2.739, allocations: 22.19 kB / 1.123 GB, free: 105 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002844/2.742, allocations: 1.033 MB / 1.124 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/2.742, allocations: 13.34 kB / 1.124 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/2.743, allocations: 130.9 kB / 1.124 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/2.745, allocations: 0.5456 MB / 1.124 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/2.745, allocations: 103 kB / 1.124 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/2.745, allocations: 48.67 kB / 1.124 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/2.747, allocations: 0.7984 MB / 1.125 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/2.747, allocations: 4.406 kB / 1.125 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/2.747, allocations: 29.67 kB / 1.125 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.596e-05/2.747, allocations: 44.7 kB / 1.125 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/2.748, allocations: 0.5886 MB / 1.126 GB, free: 104 MB / 0.5261 GB 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.005341/2.754, allocations: 3.924 MB / 1.13 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/2.754, allocations: 320.8 kB / 1.13 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/2.755, allocations: 165.7 kB / 1.13 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/2.755, allocations: 91.52 kB / 1.13 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/2.755, allocations: 40.48 kB / 1.13 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.515e-06/2.755, allocations: 2.5 kB / 1.13 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.006325/2.761, allocations: 1.52 MB / 1.132 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/2.761, allocations: 132.4 kB / 1.132 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008123/2.762, allocations: 0.5324 MB / 1.132 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.656e-05/2.762, allocations: 33.36 kB / 1.132 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/2.763, allocations: 402.1 kB / 1.133 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/2.763, allocations: 142.1 kB / 1.133 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/2.763, allocations: 12.47 kB / 1.133 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.698e-05/2.763, allocations: 341.6 kB / 1.133 GB, free: 99.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/2.763, allocations: 194.5 kB / 1.133 GB, free: 99.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/2.764, allocations: 0.4886 MB / 1.134 GB, free: 99.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/2.764, allocations: 289.8 kB / 1.134 GB, free: 99.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.602e-06/2.764, allocations: 3.688 kB / 1.134 GB, free: 99.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001759/2.766, allocations: 0.7922 MB / 1.135 GB, free: 99.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/2.766, allocations: 14.48 kB / 1.135 GB, free: 99.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/2.766, allocations: 17.97 kB / 1.135 GB, free: 99.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/2.768, allocations: 297.9 kB / 1.135 GB, free: 99.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/2.768, allocations: 127.1 kB / 1.135 GB, free: 99.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/2.77, allocations: 0.918 MB / 1.136 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009325/2.771, allocations: 58.09 kB / 1.136 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/2.771, allocations: 64.48 kB / 1.136 GB, free: 98.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002156/2.771, allocations: 155.4 kB / 1.137 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/2.771, allocations: 63.25 kB / 1.137 GB, free: 98.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/2.774, allocations: 0.8573 MB / 1.137 GB, free: 98.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.764e-06/2.774, allocations: 6.547 kB / 1.137 GB, free: 98.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.69e-06/2.774, allocations: 0 / 1.137 GB, free: 98.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.893e-06/2.774, allocations: 3.844 kB / 1.137 GB, free: 98.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/2.776, allocations: 1.427 MB / 1.139 GB, free: 98.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.158e-06/2.776, allocations: 8.562 kB / 1.139 GB, free: 98.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/2.778, allocations: 208.2 kB / 1.139 GB, free: 98.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/2.778, allocations: 31.38 kB / 1.139 GB, free: 98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/2.778, allocations: 16.12 kB / 1.139 GB, free: 98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/2.78, allocations: 2.676 MB / 1.142 GB, free: 95.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.328e-06/2.78, allocations: 3.375 kB / 1.142 GB, free: 95.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/2.781, allocations: 0.863 MB / 1.143 GB, free: 95.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/2.782, allocations: 184.8 kB / 1.143 GB, free: 94.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/2.782, allocations: 10.39 kB / 1.143 GB, free: 94.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006989/2.783, allocations: 32.11 kB / 1.143 GB, free: 94.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/2.783, allocations: 44.08 kB / 1.143 GB, free: 94.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.08e-05/2.783, allocations: 44.03 kB / 1.143 GB, free: 94.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006745/2.784, allocations: 423.3 kB / 1.143 GB, free: 94.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.13e-07/2.784, allocations: 0 / 1.143 GB, free: 94.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001773/2.785, allocations: 325.9 kB / 1.144 GB, free: 94.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001941/2.787, allocations: 0.9548 MB / 1.145 GB, free: 94.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001477/2.789, allocations: 0.5232 MB / 1.145 GB, free: 94.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/2.789, allocations: 0 / 1.145 GB, free: 94.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/2.79, allocations: 392.5 kB / 1.145 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/2.792, allocations: 335.9 kB / 1.146 GB, free: 94.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/2.794, allocations: 0.9805 MB / 1.147 GB, free: 94.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/2.795, allocations: 0.9435 MB / 1.148 GB, free: 93.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005932/2.795, allocations: 124.5 kB / 1.148 GB, free: 93.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.632e-06/2.795, allocations: 0 / 1.148 GB, free: 93.55 MB / 0.5261 GB [CodegenCppCommon.tpl:986:14-986:14:writable] Error: Template error: Unknown exp:.Modelica.Media.IdealGases.Common.DataRecord("Air", #(0.0289651159), #(-4333.833858403446), #(298609.6803431054), #(1000), #({10099.5016, -196.827561, 5.00915511, -0.00576101373, 1.06685993e-05, -7.94029797e-09, 2.18523191e-12}), #({-176.796731, -3.921504225}), #({241521.443, -1257.8746, 5.14455867, -0.000213854179, 7.06522784e-08, -1.07148349e-11, 6.57780015e-16}), #({6462.26319, -8.147411905}), #(287.0512249529787)).