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_4.0.0_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.079e-05, allocations: 4 kB / 292.1 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1341, allocations: 50.41 MB / 342.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.982/7.116, allocations: 2.801 GB / 3.136 GB, free: 71.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/7.116, allocations: 80.14 kB / 3.136 GB, free: 71.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.546/9.663, allocations: 0.5555 GB / 3.691 GB, free: 19.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.097e-06/9.663, allocations: 0 / 3.691 GB, free: 19.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001722/9.663, allocations: 51.06 kB / 3.691 GB, free: 19.91 MB / 458.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.01069/9.674, allocations: 2.793 MB / 3.694 GB, free: 17.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/9.674, allocations: 12.03 kB / 3.694 GB, free: 17.06 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006534/9.68, allocations: 0.5983 MB / 3.695 GB, free: 16.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/9.685, allocations: 1.439 MB / 3.696 GB, free: 15 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/9.685, allocations: 135.5 kB / 3.696 GB, free: 14.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005015/9.685, allocations: 149.5 kB / 3.696 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007529/9.693, allocations: 2.779 MB / 3.699 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.431e-05/9.693, allocations: 7.844 kB / 3.699 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/9.693, allocations: 71.81 kB / 3.699 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/9.694, allocations: 126.7 kB / 3.699 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007216/9.701, allocations: 2.468 MB / 3.702 GB, free: 9.141 MB / 458.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.01897/9.72, allocations: 11.7 MB / 3.713 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005463/9.725, allocations: 1.604 MB / 3.715 GB, free: 11.03 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/9.727, allocations: 0.7506 MB / 3.715 GB, free: 10.28 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02098/9.748, allocations: 8.326 MB / 3.723 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/9.748, allocations: 55.5 kB / 3.723 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 4.38e-06/9.748, allocations: 0 / 3.723 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.3308/10.08, allocations: 6.293 MB / 3.73 GB, free: 44.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/10.08, allocations: 142.7 kB / 3.73 GB, free: 44.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/10.08, allocations: 1.048 MB / 3.731 GB, free: 43.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003463/10.08, allocations: 50.7 kB / 3.731 GB, free: 43.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/10.08, allocations: 0.7143 MB / 3.731 GB, free: 43.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005452/10.08, allocations: 462.2 kB / 3.732 GB, free: 43.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/10.08, allocations: 29.81 kB / 3.732 GB, free: 43.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/10.08, allocations: 367.6 kB / 3.732 GB, free: 43.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/10.08, allocations: 0.7734 MB / 3.733 GB, free: 43.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/10.09, allocations: 1.134 MB / 3.734 GB, free: 42.68 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.03386/10.12, allocations: 6.025 MB / 3.74 GB, free: 42.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/10.12, allocations: 2.938 kB / 3.74 GB, free: 42.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006643/10.13, allocations: 2.429 MB / 3.742 GB, free: 42.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008212/10.13, allocations: 4.03 MB / 3.746 GB, free: 38.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/10.13, allocations: 9.531 kB / 3.746 GB, free: 38.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/10.13, allocations: 0.5054 MB / 3.747 GB, free: 38.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/10.13, allocations: 372.4 kB / 3.747 GB, free: 38.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/10.14, allocations: 2.906 MB / 3.75 GB, free: 35.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/10.14, allocations: 206.8 kB / 3.75 GB, free: 35.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004094/10.14, allocations: 73.39 kB / 3.75 GB, free: 35.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/10.14, allocations: 4.125 kB / 3.75 GB, free: 35.98 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00596/10.14, allocations: 2.226 MB / 3.752 GB, free: 35.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/10.14, allocations: 7.438 kB / 3.752 GB, free: 35.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/10.15, allocations: 0.506 MB / 3.753 GB, free: 35.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/10.15, allocations: 369.8 kB / 3.753 GB, free: 35.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/10.15, allocations: 2.901 MB / 3.756 GB, free: 33.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/10.15, allocations: 200.2 kB / 3.756 GB, free: 33.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003247/10.15, allocations: 75.73 kB / 3.756 GB, free: 33.8 MB / 474.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.0005513/10.16, allocations: 211.3 kB / 3.757 GB, free: 33.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/10.16, allocations: 149.6 kB / 3.757 GB, free: 33.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008933/10.16, allocations: 5.453 MB / 3.762 GB, free: 33.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.131e-05/10.17, allocations: 66.95 kB / 3.762 GB, free: 33.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/10.17, allocations: 0 / 3.762 GB, free: 33.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007433/10.17, allocations: 4.984 MB / 3.767 GB, free: 32.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/10.19, allocations: 8.507 MB / 3.775 GB, free: 31.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/10.19, allocations: 8.109 kB / 3.775 GB, free: 31.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/10.19, allocations: 286.9 kB / 3.776 GB, free: 31.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/10.19, allocations: 0.5369 MB / 3.776 GB, free: 31.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003126/10.19, allocations: 48.95 kB / 3.776 GB, free: 31.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/10.2, allocations: 2.907 MB / 3.779 GB, free: 29.37 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/10.2, allocations: 3.375 kB / 3.779 GB, free: 29.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00943/10.21, allocations: 5.209 MB / 3.784 GB, free: 28.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/10.21, allocations: 0.5352 MB / 3.785 GB, free: 28.49 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004323/10.21, allocations: 32.16 kB / 3.785 GB, free: 28.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/10.21, allocations: 170 kB / 3.785 GB, free: 28.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/10.21, allocations: 129.2 kB / 3.785 GB, free: 28.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/10.21, allocations: 52.92 kB / 3.785 GB, free: 28.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001676/10.21, allocations: 0.8952 MB / 3.786 GB, free: 28.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.82e-07/10.21, allocations: 0 / 3.786 GB, free: 28.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008787/10.22, allocations: 2.183 MB / 3.788 GB, free: 28.27 MB / 474.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.01102/10.23, allocations: 2.272 MB / 3.79 GB, free: 28.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008387/10.24, allocations: 3.52 MB / 3.794 GB, free: 27.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/10.24, allocations: 0 / 3.794 GB, free: 27.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003718/10.24, allocations: 1.715 MB / 3.795 GB, free: 27.97 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005103/10.25, allocations: 0.744 MB / 3.796 GB, free: 27.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009616/10.26, allocations: 4.444 MB / 3.8 GB, free: 27.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/10.26, allocations: 1.812 MB / 3.802 GB, free: 26.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005932/10.27, allocations: 2.089 MB / 3.804 GB, free: 26.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006024/10.27, allocations: 119.9 kB / 3.804 GB, free: 26.33 MB / 474.7 MB Notification: Performance of SimCode: time 2.115e-06/10.27, allocations: 0 / 3.804 GB, free: 26.33 MB / 474.7 MB Notification: Performance of Templates: time 0.1365/10.4, allocations: 72.17 MB / 3.875 GB, free: 12.53 MB / 474.7 MB