Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadModel(ModelicaTest): time 2.313/2.313, allocations: 270 MB / 282.7 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.381e-05, allocations: 4 kB / 347 MB, free: 3.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3239, allocations: 61.88 MB / 408.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.504, allocations: 498.1 MB / 0.8857 GB, free: 33.37 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.504, allocations: 96.67 kB / 0.8858 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9176/2.422, allocations: 219.6 MB / 1.1 GB, free: 33.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.019e-06/2.422, allocations: 3.938 kB / 1.1 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.977e-05/2.422, allocations: 15.98 kB / 1.1 GB, free: 33.19 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001871/2.424, allocations: 0.8911 MB / 1.101 GB, free: 32.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/2.424, allocations: 8.031 kB / 1.101 GB, free: 32.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/2.425, allocations: 139.1 kB / 1.101 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/2.426, allocations: 479.2 kB / 1.102 GB, free: 31.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/2.426, allocations: 29 kB / 1.102 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/2.426, allocations: 47.98 kB / 1.102 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/2.427, allocations: 0.5636 MB / 1.102 GB, free: 30.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/2.427, allocations: 0 / 1.102 GB, free: 30.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/2.427, allocations: 24 kB / 1.102 GB, free: 30.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/2.427, allocations: 12 kB / 1.102 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009645/2.428, allocations: 441.2 kB / 1.103 GB, free: 30.45 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.002938/2.431, allocations: 2.63 MB / 1.105 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/2.432, allocations: 307.5 kB / 1.106 GB, free: 27.29 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/2.432, allocations: 141.4 kB / 1.106 GB, free: 27.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/2.433, allocations: 437.9 kB / 1.106 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/2.433, allocations: 38.8 kB / 1.106 GB, free: 26.58 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.758e-06/2.433, allocations: 4 kB / 1.106 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001212/2.434, allocations: 436.2 kB / 1.107 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/2.434, allocations: 132.5 kB / 1.107 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/2.435, allocations: 419.8 kB / 1.107 GB, free: 25.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/2.435, allocations: 29.7 kB / 1.107 GB, free: 25.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/2.435, allocations: 314.2 kB / 1.108 GB, free: 25.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.998e-05/2.435, allocations: 114.4 kB / 1.108 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/2.435, allocations: 8 kB / 1.108 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/2.435, allocations: 330.8 kB / 1.108 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/2.435, allocations: 153.1 kB / 1.108 GB, free: 24.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/2.436, allocations: 283.8 kB / 1.108 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/2.436, allocations: 191.6 kB / 1.109 GB, free: 24.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.095e-06/2.436, allocations: 0 / 1.109 GB, free: 24.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001139/2.437, allocations: 0.5172 MB / 1.109 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/2.437, allocations: 11.89 kB / 1.109 GB, free: 23.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.234e-06/2.437, allocations: 4 kB / 1.109 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/2.439, allocations: 241 kB / 1.109 GB, free: 23.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/2.439, allocations: 131.8 kB / 1.109 GB, free: 23.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/2.444, allocations: 17.42 MB / 1.126 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/2.445, allocations: 67.62 kB / 1.127 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/2.445, allocations: 51.98 kB / 1.127 GB, free: 4.465 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000164/2.445, allocations: 128.9 kB / 1.127 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/2.445, allocations: 51.44 kB / 1.127 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/2.447, allocations: 1.014 MB / 1.128 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.974e-06/2.447, allocations: 0 / 1.128 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/2.447, allocations: 0 / 1.128 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.953e-06/2.447, allocations: 11.94 kB / 1.128 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/2.449, allocations: 0.8841 MB / 1.129 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.253e-06/2.449, allocations: 4 kB / 1.129 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/2.449, allocations: 56.06 kB / 1.129 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/2.451, allocations: 232.6 kB / 1.129 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/2.451, allocations: 8 kB / 1.129 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000377/2.451, allocations: 0.5991 MB / 1.129 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/2.451, allocations: 4.031 kB / 1.129 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007005/2.452, allocations: 0.4883 MB / 1.13 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/2.452, allocations: 148.4 kB / 1.13 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/2.452, allocations: 15.95 kB / 1.13 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/2.453, allocations: 39.81 kB / 1.13 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/2.453, allocations: 23.97 kB / 1.13 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/2.453, allocations: 19.98 kB / 1.13 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005107/2.453, allocations: 369.5 kB / 1.131 GB, free: 180 kB / 0.5261 GB Notification: Performance of sort global known variables: time 7.9e-07/2.453, allocations: 0 / 1.131 GB, free: 180 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.3103/2.764, allocations: 421.8 kB / 1.131 GB, free: 112.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002802/2.766, allocations: 1.151 MB / 1.132 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001266/2.768, allocations: 345.8 kB / 1.132 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.901e-06/2.768, allocations: 1.406 kB / 1.132 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003535/2.768, allocations: 123.1 kB / 1.133 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/2.77, allocations: 275.1 kB / 1.133 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/2.771, allocations: 0.5835 MB / 1.133 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/2.771, allocations: 0.8667 MB / 1.134 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/2.772, allocations: 116.3 kB / 1.134 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.724e-06/2.772, allocations: 0 / 1.134 GB, free: 111.5 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)).