Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 270 MB / 282.7 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.659e-05, allocations: 0 / 347 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3309, allocations: 61.88 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/1.579, allocations: 0.5099 GB / 0.9092 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/1.58, allocations: 91.88 kB / 0.9093 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.885/2.465, allocations: 203.6 MB / 1.108 GB, free: 25.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.002e-06/2.465, allocations: 4 kB / 1.108 GB, free: 25.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.572e-05/2.465, allocations: 24.12 kB / 1.108 GB, free: 25.75 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.002415/2.467, allocations: 1.017 MB / 1.109 GB, free: 24.69 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/2.467, allocations: 12.03 kB / 1.109 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/2.468, allocations: 131.1 kB / 1.109 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/2.47, allocations: 0.5442 MB / 1.11 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/2.47, allocations: 104.3 kB / 1.11 GB, free: 23.85 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/2.47, allocations: 55.98 kB / 1.11 GB, free: 23.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/2.471, allocations: 0.7939 MB / 1.111 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/2.471, allocations: 3.938 kB / 1.111 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/2.472, allocations: 31.98 kB / 1.111 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.72e-05/2.472, allocations: 40.97 kB / 1.111 GB, free: 22.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/2.473, allocations: 0.5913 MB / 1.111 GB, free: 22.25 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.004847/2.478, allocations: 3.922 MB / 1.115 GB, free: 18.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/2.478, allocations: 323.3 kB / 1.116 GB, free: 17.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/2.479, allocations: 165.4 kB / 1.116 GB, free: 17.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/2.479, allocations: 93.38 kB / 1.116 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/2.479, allocations: 38.84 kB / 1.116 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.498e-06/2.479, allocations: 0 / 1.116 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.005898/2.485, allocations: 1.529 MB / 1.117 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/2.485, allocations: 136.5 kB / 1.117 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007635/2.486, allocations: 0.5229 MB / 1.118 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/2.486, allocations: 37.7 kB / 1.118 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/2.486, allocations: 389.4 kB / 1.118 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/2.486, allocations: 149.9 kB / 1.118 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/2.486, allocations: 16 kB / 1.119 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.242e-05/2.486, allocations: 338.8 kB / 1.119 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/2.487, allocations: 189.5 kB / 1.119 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/2.487, allocations: 0.4975 MB / 1.119 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/2.488, allocations: 291.3 kB / 1.12 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.071e-06/2.488, allocations: 11.92 kB / 1.12 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001627/2.489, allocations: 0.7832 MB / 1.121 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/2.489, allocations: 12 kB / 1.121 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/2.489, allocations: 8 kB / 1.121 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/2.491, allocations: 305 kB / 1.121 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/2.492, allocations: 119.8 kB / 1.121 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/2.493, allocations: 0.9307 MB / 1.122 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008508/2.494, allocations: 51.91 kB / 1.122 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/2.494, allocations: 72.05 kB / 1.122 GB, free: 10.76 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.0002034/2.494, allocations: 144.8 kB / 1.122 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/2.494, allocations: 67.25 kB / 1.122 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/2.496, allocations: 0.85 MB / 1.123 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.249e-06/2.496, allocations: 7.938 kB / 1.123 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.856e-06/2.496, allocations: 3.938 kB / 1.123 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.896e-06/2.496, allocations: 0 / 1.123 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/2.499, allocations: 1.433 MB / 1.124 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.25e-06/2.499, allocations: 0 / 1.124 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/2.5, allocations: 219.7 kB / 1.125 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/2.5, allocations: 29.03 kB / 1.125 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/2.5, allocations: 16 kB / 1.125 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/2.502, allocations: 2.668 MB / 1.127 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.621e-06/2.502, allocations: 4.203 kB / 1.127 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/2.503, allocations: 0.8662 MB / 1.128 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/2.504, allocations: 180.3 kB / 1.128 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/2.504, allocations: 8 kB / 1.128 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005968/2.505, allocations: 39.89 kB / 1.128 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/2.505, allocations: 43.89 kB / 1.128 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/2.505, allocations: 43.98 kB / 1.128 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006177/2.505, allocations: 419.2 kB / 1.129 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.19e-07/2.505, allocations: 0 / 1.129 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001476/2.507, allocations: 327.8 kB / 1.129 GB, free: 2.91 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.001686/2.509, allocations: 0.9478 MB / 1.13 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001495/2.51, allocations: 0.5193 MB / 1.131 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.812e-06/2.51, allocations: 0 / 1.131 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/2.511, allocations: 382.1 kB / 1.131 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/2.513, allocations: 335.9 kB / 1.131 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3128/2.826, allocations: 0.9797 MB / 1.132 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/2.827, allocations: 0.9449 MB / 1.133 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007367/2.827, allocations: 124.2 kB / 1.133 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.71e-06/2.827, allocations: 0 / 1.133 GB, free: 109.5 MB / 0.5261 GB [CodegenCppCommon.tpl:986:14-986:14:writable] Error: Template error: Unknown exp:.Modelica.Media.IdealGases.Common.DataRecord("N2", #(0.0280134), #(0), #(309498.4543111511), #(1000), #({22103.71497, -381.846182, 6.08273836, -0.00853091441, 1.384646189e-05, -9.62579362e-09, 2.519705809e-12}), #({710.846086, -10.76003744}), #({587712.406, -2239.249073, 6.06694922, -0.00061396855, 1.491806679e-07, -1.923105485e-11, 1.061954386e-15}), #({12832.10415, -15.86640027}), #(296.8033869505308)).