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_trunk_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.807e-05, allocations: 4 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09487, allocations: 50.42 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.071/7.166, allocations: 2.801 GB / 3.136 GB, free: 71.01 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/7.167, allocations: 76.28 kB / 3.136 GB, free: 70.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495/9.661, allocations: 0.5555 GB / 3.692 GB, free: 19.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.462e-06/9.661, allocations: 0 / 3.692 GB, free: 19.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001971/9.661, allocations: 51.3 kB / 3.692 GB, free: 19.69 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.01033/9.672, allocations: 2.794 MB / 3.694 GB, free: 16.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/9.672, allocations: 12.03 kB / 3.694 GB, free: 16.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006073/9.678, allocations: 0.6022 MB / 3.695 GB, free: 16.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004464/9.682, allocations: 1.441 MB / 3.696 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/9.683, allocations: 149.5 kB / 3.697 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00063/9.683, allocations: 138.8 kB / 3.697 GB, free: 14.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007783/9.691, allocations: 2.774 MB / 3.699 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.385e-05/9.691, allocations: 11.84 kB / 3.699 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/9.692, allocations: 62.17 kB / 3.699 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/9.692, allocations: 138.5 kB / 3.7 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007192/9.699, allocations: 2.46 MB / 3.702 GB, free: 8.93 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.01966/9.719, allocations: 11.71 MB / 3.713 GB, free: 12.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005533/9.724, allocations: 1.596 MB / 3.715 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/9.726, allocations: 0.7583 MB / 3.716 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02111/9.747, allocations: 8.322 MB / 3.724 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/9.747, allocations: 47.56 kB / 3.724 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 4.894e-06/9.747, allocations: 0 / 3.724 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.3304/10.08, allocations: 6.306 MB / 3.73 GB, free: 44.54 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/10.08, allocations: 147.2 kB / 3.73 GB, free: 44.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/10.08, allocations: 1.049 MB / 3.731 GB, free: 44.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003349/10.08, allocations: 53.33 kB / 3.731 GB, free: 44.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005751/10.08, allocations: 0.7102 MB / 3.732 GB, free: 43.95 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004996/10.08, allocations: 467.5 kB / 3.732 GB, free: 43.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/10.08, allocations: 31 kB / 3.732 GB, free: 43.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/10.08, allocations: 364.1 kB / 3.733 GB, free: 43.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/10.08, allocations: 0.7744 MB / 3.734 GB, free: 43.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/10.09, allocations: 1.13 MB / 3.735 GB, free: 43.01 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.03303/10.12, allocations: 6.021 MB / 3.741 GB, free: 42.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/10.12, allocations: 8.969 kB / 3.741 GB, free: 42.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006266/10.13, allocations: 2.423 MB / 3.743 GB, free: 42.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008414/10.13, allocations: 4.03 MB / 3.747 GB, free: 38.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/10.13, allocations: 14.56 kB / 3.747 GB, free: 38.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/10.13, allocations: 0.4998 MB / 3.747 GB, free: 38.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/10.13, allocations: 378.8 kB / 3.748 GB, free: 38.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/10.13, allocations: 2.899 MB / 3.751 GB, free: 36.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/10.14, allocations: 206.2 kB / 3.751 GB, free: 36.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003918/10.14, allocations: 74.56 kB / 3.751 GB, free: 36.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/10.14, allocations: 5.938 kB / 3.751 GB, free: 36.31 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005726/10.14, allocations: 2.225 MB / 3.753 GB, free: 36.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/10.14, allocations: 11.31 kB / 3.753 GB, free: 36.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/10.14, allocations: 0.5042 MB / 3.754 GB, free: 36.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/10.15, allocations: 370 kB / 3.754 GB, free: 36.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/10.15, allocations: 2.907 MB / 3.757 GB, free: 34.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/10.15, allocations: 203.1 kB / 3.757 GB, free: 34.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003308/10.15, allocations: 65.48 kB / 3.757 GB, free: 34.13 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.0005758/10.15, allocations: 211.1 kB / 3.757 GB, free: 34.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004517/10.15, allocations: 148.6 kB / 3.757 GB, free: 33.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008831/10.16, allocations: 5.457 MB / 3.763 GB, free: 33.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.397e-05/10.16, allocations: 64.27 kB / 3.763 GB, free: 33.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/10.16, allocations: 0 / 3.763 GB, free: 33.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007389/10.17, allocations: 4.98 MB / 3.768 GB, free: 32.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/10.19, allocations: 8.509 MB / 3.776 GB, free: 31.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/10.19, allocations: 2.734 kB / 3.776 GB, free: 31.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/10.19, allocations: 291.8 kB / 3.776 GB, free: 31.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/10.19, allocations: 0.5355 MB / 3.777 GB, free: 31.78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/10.19, allocations: 51.33 kB / 3.777 GB, free: 31.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/10.19, allocations: 2.913 MB / 3.78 GB, free: 29.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.432e-06/10.19, allocations: 0.5625 kB / 3.78 GB, free: 29.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009051/10.2, allocations: 5.211 MB / 3.785 GB, free: 29.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/10.2, allocations: 0.5314 MB / 3.785 GB, free: 28.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/10.2, allocations: 35.47 kB / 3.785 GB, free: 28.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/10.21, allocations: 170.4 kB / 3.785 GB, free: 28.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/10.21, allocations: 124.6 kB / 3.785 GB, free: 28.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/10.21, allocations: 55.48 kB / 3.786 GB, free: 28.81 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001656/10.21, allocations: 0.8946 MB / 3.786 GB, free: 28.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.075e-06/10.21, allocations: 0 / 3.786 GB, free: 28.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008511/10.22, allocations: 2.187 MB / 3.789 GB, free: 28.6 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.01081/10.23, allocations: 2.277 MB / 3.791 GB, free: 28.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007991/10.23, allocations: 3.517 MB / 3.794 GB, free: 28.31 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/10.23, allocations: 2.469 kB / 3.794 GB, free: 28.31 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003467/10.24, allocations: 1.714 MB / 3.796 GB, free: 28.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004804/10.24, allocations: 0.7389 MB / 3.797 GB, free: 28.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008977/10.25, allocations: 4.435 MB / 3.801 GB, free: 27.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/10.25, allocations: 1.811 MB / 3.803 GB, free: 26.71 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005618/10.26, allocations: 2.095 MB / 3.805 GB, free: 26.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005919/10.26, allocations: 122.4 kB / 3.805 GB, free: 26.67 MB / 474.7 MB Notification: Performance of SimCode: time 1.6e-06/10.26, allocations: 1.875 kB / 3.805 GB, free: 26.67 MB / 474.7 MB Notification: Performance of Templates: time 0.1436/10.4, allocations: 72.15 MB / 3.875 GB, free: 12.38 MB / 474.7 MB