Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 270 MB / 282.7 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.938e-05, allocations: 7.984 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3302, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.527, allocations: 0.5 GB / 0.8993 GB, free: 19.75 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.527, allocations: 91.12 kB / 0.8994 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.318/2.846, allocations: 249 MB / 1.143 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.978e-06/2.846, allocations: 3.656 kB / 1.143 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.968e-05/2.846, allocations: 12.81 kB / 1.143 GB, free: 103.3 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002491/2.848, allocations: 1.081 MB / 1.144 GB, free: 103 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/2.848, allocations: 11.75 kB / 1.144 GB, free: 103 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/2.85, allocations: 152.8 kB / 1.144 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/2.851, allocations: 0.4986 MB / 1.144 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/2.851, allocations: 31.69 kB / 1.144 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.911e-05/2.851, allocations: 41.84 kB / 1.144 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/2.852, allocations: 0.6308 MB / 1.145 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/2.852, allocations: 3.844 kB / 1.145 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/2.852, allocations: 21.72 kB / 1.145 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/2.852, allocations: 14.41 kB / 1.145 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/2.853, allocations: 474 kB / 1.145 GB, free: 102.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.003065/2.857, allocations: 2.614 MB / 1.148 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/2.857, allocations: 299.6 kB / 1.148 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/2.858, allocations: 144.5 kB / 1.148 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/2.858, allocations: 439.9 kB / 1.149 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/2.858, allocations: 47.17 kB / 1.149 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 3.163e-06/2.858, allocations: 0 / 1.149 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.00129/2.859, allocations: 450.4 kB / 1.149 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/2.859, allocations: 171.8 kB / 1.149 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006223/2.86, allocations: 455.5 kB / 1.15 GB, free: 99.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/2.86, allocations: 35.02 kB / 1.15 GB, free: 99.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/2.86, allocations: 332.2 kB / 1.15 GB, free: 99.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/2.86, allocations: 127.1 kB / 1.15 GB, free: 99.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/2.861, allocations: 12.34 kB / 1.15 GB, free: 99.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/2.861, allocations: 327.9 kB / 1.151 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/2.861, allocations: 138 kB / 1.151 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/2.861, allocations: 307.2 kB / 1.151 GB, free: 99.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/2.862, allocations: 186.3 kB / 1.151 GB, free: 99.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/2.862, allocations: 0 / 1.151 GB, free: 99.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001091/2.863, allocations: 0.4967 MB / 1.152 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/2.863, allocations: 9.625 kB / 1.152 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.767e-06/2.863, allocations: 5.125 kB / 1.152 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/2.864, allocations: 238.6 kB / 1.152 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/2.865, allocations: 122 kB / 1.152 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005745/2.866, allocations: 0.5826 MB / 1.153 GB, free: 98.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/2.866, allocations: 73.34 kB / 1.153 GB, free: 98.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/2.866, allocations: 56.28 kB / 1.153 GB, free: 98.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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): 51 * 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 prepare postOptimizeDAE: time 0.0001595/2.866, allocations: 139.3 kB / 1.153 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/2.867, allocations: 57.75 kB / 1.153 GB, free: 98.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/2.869, allocations: 1.053 MB / 1.154 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.424e-06/2.869, allocations: 3.938 kB / 1.154 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.921e-06/2.869, allocations: 0 / 1.154 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/2.869, allocations: 0 / 1.154 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/2.871, allocations: 0.9212 MB / 1.155 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.771e-06/2.871, allocations: 3.562 kB / 1.155 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/2.871, allocations: 48.34 kB / 1.155 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/2.872, allocations: 234.8 kB / 1.155 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/2.873, allocations: 9.062 kB / 1.155 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003909/2.873, allocations: 0.5845 MB / 1.156 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/2.873, allocations: 7.562 kB / 1.156 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/2.874, allocations: 0.5257 MB / 1.156 GB, free: 97.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/2.874, allocations: 149.9 kB / 1.156 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/2.874, allocations: 9.469 kB / 1.156 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/2.875, allocations: 35.33 kB / 1.157 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/2.875, allocations: 26.27 kB / 1.157 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/2.875, allocations: 19.42 kB / 1.157 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006108/2.875, allocations: 403.1 kB / 1.157 GB, free: 96.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.92e-07/2.876, allocations: 0 / 1.157 GB, free: 96.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001733/2.877, allocations: 449.3 kB / 1.157 GB, free: 96.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.00221/2.879, allocations: 1.228 MB / 1.159 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008367/2.88, allocations: 333.4 kB / 1.159 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.011e-06/2.88, allocations: 3.875 kB / 1.159 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/2.881, allocations: 128.3 kB / 1.159 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/2.883, allocations: 349.5 kB / 1.159 GB, free: 96.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/2.884, allocations: 0.6238 MB / 1.16 GB, free: 96.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/2.884, allocations: 0.8724 MB / 1.161 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/2.885, allocations: 122 kB / 1.161 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.958e-06/2.885, allocations: 0 / 1.161 GB, free: 95.64 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)).