Running command: translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.521e-05, allocations: 7.984 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09223/0.09228, allocations: 50.41 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.068/7.161, allocations: 2.801 GB / 3.136 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/7.161, allocations: 77.95 kB / 3.136 GB, free: 488 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.508/9.669, allocations: 0.5555 GB / 3.691 GB, free: 5.945 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.994e-06/9.669, allocations: 0 / 3.691 GB, free: 5.945 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001994/9.669, allocations: 52.05 kB / 3.691 GB, free: 5.895 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.01195/9.681, allocations: 2.801 MB / 3.694 GB, free: 3.039 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/9.681, allocations: 8.031 kB / 3.694 GB, free: 3.031 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006349/9.688, allocations: 0.5957 MB / 3.695 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/9.693, allocations: 1.444 MB / 3.696 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/9.693, allocations: 138.8 kB / 3.696 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006817/9.694, allocations: 151.9 kB / 3.696 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3174/10.01, allocations: 2.768 MB / 3.699 GB, free: 36.06 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-05/10.01, allocations: 6.453 kB / 3.699 GB, free: 36.06 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/10.01, allocations: 67.84 kB / 3.699 GB, free: 36.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002614/10.01, allocations: 130 kB / 3.699 GB, free: 36.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008285/10.02, allocations: 2.463 MB / 3.702 GB, free: 36.05 MB / 474.7 MB 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.02049/10.04, allocations: 11.71 MB / 3.713 GB, free: 29.06 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005331/10.05, allocations: 1.602 MB / 3.715 GB, free: 29.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/10.05, allocations: 0.7506 MB / 3.715 GB, free: 29.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01986/10.07, allocations: 8.317 MB / 3.723 GB, free: 23.96 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/10.07, allocations: 52.86 kB / 3.723 GB, free: 23.92 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 6.359e-06/10.07, allocations: 3.562 kB / 3.723 GB, free: 23.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.02472/10.09, allocations: 6.311 MB / 3.73 GB, free: 23.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/10.09, allocations: 143.5 kB / 3.73 GB, free: 23.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/10.1, allocations: 1.058 MB / 3.731 GB, free: 22.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003574/10.1, allocations: 54.11 kB / 3.731 GB, free: 22.95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/10.1, allocations: 0.6801 MB / 3.732 GB, free: 22.63 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006229/10.1, allocations: 462.2 kB / 3.732 GB, free: 22.41 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/10.1, allocations: 31.55 kB / 3.732 GB, free: 22.41 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/10.1, allocations: 373.1 kB / 3.732 GB, free: 22.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/10.1, allocations: 0.7711 MB / 3.733 GB, free: 22.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/10.1, allocations: 1.139 MB / 3.734 GB, free: 21.69 MB / 474.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: annulus_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: circular_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.03079/10.13, allocations: 5.98 MB / 3.74 GB, free: 21.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/10.13, allocations: 8.969 kB / 3.74 GB, free: 21.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006351/10.14, allocations: 2.348 MB / 3.742 GB, free: 21.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001533/10.14, allocations: 4.003 MB / 3.746 GB, free: 33.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.886e-05/10.14, allocations: 12.97 kB / 3.746 GB, free: 33.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/10.14, allocations: 0.501 MB / 3.747 GB, free: 33.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/10.14, allocations: 372.1 kB / 3.747 GB, free: 33.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/10.15, allocations: 2.903 MB / 3.75 GB, free: 31.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/10.15, allocations: 207.9 kB / 3.75 GB, free: 31.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/10.15, allocations: 76.3 kB / 3.75 GB, free: 31.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/10.15, allocations: 3.75 kB / 3.75 GB, free: 31.04 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006039/10.16, allocations: 2.228 MB / 3.752 GB, free: 30.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/10.16, allocations: 7.438 kB / 3.752 GB, free: 30.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/10.16, allocations: 481.9 kB / 3.753 GB, free: 30.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/10.16, allocations: 374 kB / 3.753 GB, free: 30.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/10.16, allocations: 2.898 MB / 3.756 GB, free: 28.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/10.17, allocations: 197 kB / 3.756 GB, free: 28.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002581/10.17, allocations: 75.94 kB / 3.756 GB, free: 28.86 MB / 490.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: annulus_pipe.mediums[1].p = 1000000.0 circular_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 11 (boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase,annulus_pipe.state_b.phase,annulus_pipe.state_a.phase,circular_pipe.state_b.phase,circular_pipe.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 171 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005817/10.17, allocations: 204.8 kB / 3.757 GB, free: 28.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/10.17, allocations: 151.5 kB / 3.757 GB, free: 28.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008985/10.18, allocations: 5.469 MB / 3.762 GB, free: 28.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.776e-05/10.18, allocations: 62.27 kB / 3.762 GB, free: 28.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/10.18, allocations: 0 / 3.762 GB, free: 28.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007598/10.18, allocations: 4.985 MB / 3.767 GB, free: 27.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/10.2, allocations: 8.518 MB / 3.775 GB, free: 26.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/10.2, allocations: 3.469 kB / 3.775 GB, free: 26.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/10.2, allocations: 280.8 kB / 3.776 GB, free: 26.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/10.21, allocations: 0.5389 MB / 3.776 GB, free: 26.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002966/10.21, allocations: 40.58 kB / 3.776 GB, free: 26.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/10.21, allocations: 2.913 MB / 3.779 GB, free: 24.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.922e-06/10.21, allocations: 3.5 kB / 3.779 GB, free: 24.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009285/10.22, allocations: 5.212 MB / 3.784 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/10.22, allocations: 0.5325 MB / 3.785 GB, free: 23.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005191/10.22, allocations: 37.42 kB / 3.785 GB, free: 23.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/10.22, allocations: 163.9 kB / 3.785 GB, free: 23.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/10.22, allocations: 137.7 kB / 3.785 GB, free: 23.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/10.22, allocations: 55.36 kB / 3.785 GB, free: 23.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001806/10.22, allocations: 0.8908 MB / 3.786 GB, free: 23.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.033e-06/10.22, allocations: 0 / 3.786 GB, free: 23.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009379/10.23, allocations: 2.186 MB / 3.788 GB, free: 23.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (circular_pipe.mediums[1].h,circular_pipe.mediums[2].p,circular_pipe.mediums[2].h,annulus_pipe.mediums[1].h,annulus_pipe.mediums[2].p,annulus_pipe.mediums[2].h) * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01176/10.25, allocations: 2.252 MB / 3.79 GB, free: 23.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008109/10.25, allocations: 3.479 MB / 3.794 GB, free: 23.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.86e-06/10.25, allocations: 3.75 kB / 3.794 GB, free: 23.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003596/10.26, allocations: 1.703 MB / 3.795 GB, free: 23.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005054/10.26, allocations: 0.7408 MB / 3.796 GB, free: 23.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009653/10.27, allocations: 4.484 MB / 3.8 GB, free: 22.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/10.27, allocations: 1.786 MB / 3.802 GB, free: 21.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008106/10.28, allocations: 146.9 kB / 3.802 GB, free: 21.45 MB / 490.7 MB Notification: Performance of SimCode: time 1.774e-06/10.28, allocations: 0 / 3.802 GB, free: 21.45 MB / 490.7 MB Notification: Performance of Templates: time 0.4377/10.71, allocations: 87.76 MB / 3.888 GB, free: 50.88 MB / 490.7 MB