Running command: translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|annulus_pipe.mediums.1..h|annulus_pipe.mediums.2..h|annulus_pipe.mediums.2..p|circular_pipe.mediums.1..h|circular_pipe.mediums.2..h|circular_pipe.mediums.2..p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/3.011e-05, allocations: 4 kB / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.08695, allocations: 47.58 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.178/7.265, allocations: 2.796 GB / 3.106 GB, free: 94.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/7.265, allocations: 78.27 kB / 3.106 GB, free: 94.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.51/9.775, allocations: 0.5492 GB / 3.655 GB, free: 37.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.29e-06/9.775, allocations: 0 / 3.655 GB, free: 37.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001774/9.775, allocations: 45.33 kB / 3.655 GB, free: 37.59 MB / 442.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.01063/9.786, allocations: 2.802 MB / 3.658 GB, free: 36.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/9.786, allocations: 14.91 kB / 3.658 GB, free: 36.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006492/9.792, allocations: 0.5967 MB / 3.658 GB, free: 36.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004516/9.797, allocations: 1.436 MB / 3.66 GB, free: 35.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/9.797, allocations: 141.7 kB / 3.66 GB, free: 35.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005536/9.798, allocations: 155.2 kB / 3.66 GB, free: 35.65 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008295/9.806, allocations: 2.774 MB / 3.663 GB, free: 34.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.405e-05/9.806, allocations: 9.781 kB / 3.663 GB, free: 34.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003073/9.807, allocations: 69.12 kB / 3.663 GB, free: 34.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001891/9.807, allocations: 127.2 kB / 3.663 GB, free: 34.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00809/9.815, allocations: 2.465 MB / 3.665 GB, free: 34.01 MB / 442.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.01965/9.835, allocations: 11.71 MB / 3.677 GB, free: 25.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005337/9.84, allocations: 1.599 MB / 3.678 GB, free: 24.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/9.842, allocations: 0.7618 MB / 3.679 GB, free: 24.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01947/9.861, allocations: 8.32 MB / 3.687 GB, free: 18.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/9.861, allocations: 45.44 kB / 3.687 GB, free: 18.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 4.592e-06/9.861, allocations: 0 / 3.687 GB, free: 18.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.02445/9.886, allocations: 6.302 MB / 3.693 GB, free: 16.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/9.886, allocations: 141.8 kB / 3.693 GB, free: 16.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/9.888, allocations: 1.051 MB / 3.695 GB, free: 15.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003232/9.888, allocations: 53.7 kB / 3.695 GB, free: 15.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005253/9.889, allocations: 0.7187 MB / 3.695 GB, free: 14.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/9.889, allocations: 452 kB / 3.696 GB, free: 14.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/9.889, allocations: 32 kB / 3.696 GB, free: 14.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/9.889, allocations: 373.3 kB / 3.696 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/9.891, allocations: 0.768 MB / 3.697 GB, free: 13.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/9.893, allocations: 1.135 MB / 3.698 GB, free: 11.95 MB / 442.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 3.33/13.22, allocations: 379.2 MB / 4.068 GB, free: 82.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/13.22, allocations: 2.812 kB / 4.068 GB, free: 82.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007035/13.23, allocations: 2.426 MB / 4.071 GB, free: 82.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008137/13.23, allocations: 4.025 MB / 4.075 GB, free: 78.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/13.23, allocations: 9.875 kB / 4.075 GB, free: 78.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/13.23, allocations: 0.5068 MB / 4.075 GB, free: 78.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/13.24, allocations: 376.3 kB / 4.075 GB, free: 78.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/13.24, allocations: 2.899 MB / 4.078 GB, free: 76.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/13.24, allocations: 205.5 kB / 4.078 GB, free: 76.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/13.24, allocations: 68.66 kB / 4.078 GB, free: 76.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/13.24, allocations: 4.125 kB / 4.078 GB, free: 76.29 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0058/13.25, allocations: 2.228 MB / 4.081 GB, free: 76.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/13.25, allocations: 10.78 kB / 4.081 GB, free: 76.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/13.25, allocations: 0.5021 MB / 4.081 GB, free: 76.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/13.25, allocations: 370.7 kB / 4.082 GB, free: 76.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/13.25, allocations: 2.905 MB / 4.084 GB, free: 74.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/13.26, allocations: 199 kB / 4.085 GB, free: 74.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003498/13.26, allocations: 70.81 kB / 4.085 GB, free: 74.12 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.0005722/13.26, allocations: 209.4 kB / 4.085 GB, free: 74.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/13.26, allocations: 148.7 kB / 4.085 GB, free: 74.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009078/13.27, allocations: 5.462 MB / 4.09 GB, free: 73.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.431e-05/13.27, allocations: 58 kB / 4.09 GB, free: 73.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/13.27, allocations: 3.391 kB / 4.09 GB, free: 73.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007623/13.27, allocations: 4.99 MB / 4.095 GB, free: 72.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/13.29, allocations: 8.506 MB / 4.104 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/13.29, allocations: 0 / 4.104 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/13.29, allocations: 291.1 kB / 4.104 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/13.3, allocations: 0.5425 MB / 4.104 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/13.3, allocations: 41.42 kB / 4.104 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/13.3, allocations: 2.903 MB / 4.107 GB, free: 69.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.454e-06/13.3, allocations: 8.188 kB / 4.107 GB, free: 69.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00943/13.31, allocations: 5.211 MB / 4.112 GB, free: 69.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/13.31, allocations: 0.5292 MB / 4.113 GB, free: 68.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005289/13.31, allocations: 40.09 kB / 4.113 GB, free: 68.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/13.31, allocations: 168 kB / 4.113 GB, free: 68.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/13.31, allocations: 129.4 kB / 4.113 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/13.31, allocations: 52.91 kB / 4.113 GB, free: 68.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001863/13.32, allocations: 0.8977 MB / 4.114 GB, free: 68.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.152e-06/13.32, allocations: 0 / 4.114 GB, free: 68.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009197/13.32, allocations: 2.182 MB / 4.116 GB, free: 68.85 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.01104/13.34, allocations: 2.259 MB / 4.118 GB, free: 68.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008228/13.34, allocations: 3.514 MB / 4.122 GB, free: 68.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/13.34, allocations: 6.562 kB / 4.122 GB, free: 68.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003773/13.35, allocations: 1.715 MB / 4.124 GB, free: 68.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004707/13.35, allocations: 0.745 MB / 4.124 GB, free: 68.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009522/13.36, allocations: 4.438 MB / 4.129 GB, free: 67.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/13.36, allocations: 1.811 MB / 4.13 GB, free: 67.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005907/13.37, allocations: 2.098 MB / 4.132 GB, free: 66.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006286/13.37, allocations: 122.8 kB / 4.133 GB, free: 66.98 MB / 490.7 MB Notification: Performance of SimCode: time 2.043e-06/13.37, allocations: 0 / 4.133 GB, free: 66.98 MB / 490.7 MB Notification: Performance of Templates: time 0.1371/13.51, allocations: 72.13 MB / 4.203 GB, free: 50.81 MB / 490.7 MB