Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 270 MB / 282.7 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.125e-05, allocations: 4 kB / 347 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3264, allocations: 61.89 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.524/1.85, allocations: 0.5216 GB / 0.9209 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005547/1.851, allocations: 92.62 kB / 0.921 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9407/2.791, allocations: 206.4 MB / 1.122 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.499e-06/2.792, allocations: 0 / 1.122 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.922e-05/2.792, allocations: 22.94 kB / 1.123 GB, free: 104.4 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.002768/2.794, allocations: 1.03 MB / 1.124 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/2.794, allocations: 13.84 kB / 1.124 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/2.796, allocations: 129.8 kB / 1.124 GB, free: 104 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/2.797, allocations: 0.547 MB / 1.124 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/2.797, allocations: 103 kB / 1.124 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/2.797, allocations: 48.5 kB / 1.124 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/2.799, allocations: 0.8006 MB / 1.125 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/2.799, allocations: 4.656 kB / 1.125 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/2.799, allocations: 23.81 kB / 1.125 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.483e-05/2.799, allocations: 41.34 kB / 1.125 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/2.801, allocations: 0.5923 MB / 1.126 GB, free: 103.5 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.004951/2.806, allocations: 3.929 MB / 1.13 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006295/2.806, allocations: 326.3 kB / 1.13 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/2.807, allocations: 158.6 kB / 1.13 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/2.807, allocations: 93.92 kB / 1.13 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/2.807, allocations: 40 kB / 1.13 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.451e-06/2.807, allocations: 0 / 1.13 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.005971/2.813, allocations: 1.509 MB / 1.132 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/2.813, allocations: 141.9 kB / 1.132 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008004/2.814, allocations: 0.5301 MB / 1.132 GB, free: 99.99 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/2.814, allocations: 36.86 kB / 1.132 GB, free: 99.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/2.814, allocations: 397.1 kB / 1.133 GB, free: 99.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/2.814, allocations: 139.9 kB / 1.133 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/2.814, allocations: 16.38 kB / 1.133 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.712e-05/2.814, allocations: 340.2 kB / 1.133 GB, free: 99.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/2.815, allocations: 192.9 kB / 1.133 GB, free: 99.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/2.815, allocations: 0.4953 MB / 1.134 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/2.816, allocations: 287.5 kB / 1.134 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.628e-06/2.816, allocations: 0 / 1.134 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001654/2.817, allocations: 0.796 MB / 1.135 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/2.818, allocations: 15.27 kB / 1.135 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/2.818, allocations: 7.625 kB / 1.135 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/2.819, allocations: 310.5 kB / 1.135 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/2.82, allocations: 123.3 kB / 1.135 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/2.821, allocations: 0.9264 MB / 1.136 GB, free: 98.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009361/2.822, allocations: 55.39 kB / 1.136 GB, free: 98.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/2.822, allocations: 65.7 kB / 1.136 GB, free: 98.35 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.0002238/2.822, allocations: 151.7 kB / 1.137 GB, free: 98.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/2.822, allocations: 65.59 kB / 1.137 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/2.825, allocations: 0.8449 MB / 1.137 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/2.825, allocations: 6.953 kB / 1.137 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.28e-06/2.825, allocations: 2.781 kB / 1.137 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.227e-06/2.825, allocations: 6.609 kB / 1.137 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/2.828, allocations: 1.435 MB / 1.139 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.132e-06/2.828, allocations: 0 / 1.139 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/2.829, allocations: 205.6 kB / 1.139 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/2.83, allocations: 35.41 kB / 1.139 GB, free: 97.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/2.83, allocations: 15.84 kB / 1.139 GB, free: 97.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/2.831, allocations: 2.675 MB / 1.142 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/2.831, allocations: 3.875 kB / 1.142 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/2.833, allocations: 0.865 MB / 1.143 GB, free: 94.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/2.834, allocations: 181.6 kB / 1.143 GB, free: 94.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/2.834, allocations: 11.12 kB / 1.143 GB, free: 94.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000668/2.834, allocations: 28.92 kB / 1.143 GB, free: 94.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/2.835, allocations: 45.8 kB / 1.143 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.696e-05/2.835, allocations: 44.7 kB / 1.143 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006628/2.835, allocations: 423.1 kB / 1.143 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.93e-07/2.835, allocations: 0 / 1.143 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001625/2.837, allocations: 329.8 kB / 1.144 GB, free: 94.34 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.001859/2.839, allocations: 0.9617 MB / 1.144 GB, free: 94.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001356/2.84, allocations: 0.5222 MB / 1.145 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.134e-06/2.84, allocations: 0 / 1.145 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/2.841, allocations: 390.8 kB / 1.145 GB, free: 94.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/2.843, allocations: 334.8 kB / 1.146 GB, free: 94.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/2.845, allocations: 0.9831 MB / 1.147 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/2.846, allocations: 0.9487 MB / 1.148 GB, free: 93.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005869/2.846, allocations: 120.1 kB / 1.148 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-06/2.846, allocations: 3.562 kB / 1.148 GB, free: 93.02 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)).