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.1_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.685/1.685, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.752e-05, allocations: 4 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3093, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.696/6.005, allocations: 2.518 GB / 2.776 GB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/6.005, allocations: 71.97 kB / 2.776 GB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.532/8.537, allocations: 0.5339 GB / 3.31 GB, free: 29.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.481e-06/8.537, allocations: 3.25 kB / 3.31 GB, free: 29.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001901/8.538, allocations: 49.95 kB / 3.31 GB, free: 29.64 MB / 378.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.01025/8.548, allocations: 2.731 MB / 3.312 GB, free: 28.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/8.548, allocations: 7.812 kB / 3.312 GB, free: 28.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006925/8.555, allocations: 0.5987 MB / 3.313 GB, free: 28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004515/8.559, allocations: 1.457 MB / 3.314 GB, free: 27.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/8.56, allocations: 144.1 kB / 3.315 GB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000569/8.56, allocations: 144.1 kB / 3.315 GB, free: 27.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008083/8.568, allocations: 2.772 MB / 3.317 GB, free: 26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.705e-05/8.568, allocations: 7.875 kB / 3.317 GB, free: 25.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003256/8.569, allocations: 64.56 kB / 3.317 GB, free: 25.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/8.569, allocations: 127.5 kB / 3.318 GB, free: 25.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008033/8.577, allocations: 2.459 MB / 3.32 GB, free: 25.19 MB / 378.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.01938/8.596, allocations: 11.95 MB / 3.332 GB, free: 16.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005382/8.602, allocations: 1.593 MB / 3.333 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/8.603, allocations: 0.722 MB / 3.334 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/8.615, allocations: 5.685 MB / 3.339 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/8.615, allocations: 43.56 kB / 3.34 GB, free: 10.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 4.905e-06/8.615, allocations: 4 kB / 3.34 GB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.02123/8.636, allocations: 5.889 MB / 3.345 GB, free: 5.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/8.636, allocations: 141.5 kB / 3.345 GB, free: 5.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/8.638, allocations: 1.01 MB / 3.346 GB, free: 4.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000313/8.638, allocations: 48.89 kB / 3.346 GB, free: 4.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005268/8.639, allocations: 0.7654 MB / 3.347 GB, free: 4.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005142/8.64, allocations: 428 kB / 3.348 GB, free: 3.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/8.64, allocations: 36 kB / 3.348 GB, free: 3.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/8.64, allocations: 372.5 kB / 3.348 GB, free: 3.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/8.641, allocations: 0.7593 MB / 3.349 GB, free: 2.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/8.643, allocations: 1.2 MB / 3.35 GB, free: 1.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.147/11.79, allocations: 377.7 MB / 3.719 GB, free: 75.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/11.79, allocations: 4.156 kB / 3.719 GB, free: 75.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.00626/11.8, allocations: 2.448 MB / 3.721 GB, free: 75.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001039/11.8, allocations: 5.136 MB / 3.726 GB, free: 70.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/11.8, allocations: 11.19 kB / 3.726 GB, free: 70.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/11.8, allocations: 0.4975 MB / 3.727 GB, free: 69.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/11.8, allocations: 397 kB / 3.727 GB, free: 69.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/11.8, allocations: 2.86 MB / 3.73 GB, free: 67.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/11.81, allocations: 211.5 kB / 3.73 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004077/11.81, allocations: 81.72 kB / 3.73 GB, free: 67.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/11.81, allocations: 3.438 kB / 3.73 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005624/11.81, allocations: 2.249 MB / 3.732 GB, free: 67.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/11.81, allocations: 16.47 kB / 3.732 GB, free: 67.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/11.82, allocations: 0.4908 MB / 3.733 GB, free: 67.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/11.82, allocations: 398 kB / 3.733 GB, free: 67.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/11.82, allocations: 2.861 MB / 3.736 GB, free: 65.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/11.82, allocations: 209.4 kB / 3.736 GB, free: 65.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/11.82, allocations: 75.34 kB / 3.736 GB, free: 65.67 MB / 426.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: circular_pipe.mediums[1].p = 1000000.0 annulus_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (186): * Single equations (assignments): 182 * 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.0005506/11.82, allocations: 217.4 kB / 3.736 GB, free: 65.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/11.82, allocations: 138.8 kB / 3.737 GB, free: 65.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008608/11.83, allocations: 5.356 MB / 3.742 GB, free: 65.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.048e-05/11.83, allocations: 56.64 kB / 3.742 GB, free: 65.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/11.83, allocations: 3.953 kB / 3.742 GB, free: 65.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007233/11.84, allocations: 4.9 MB / 3.747 GB, free: 64.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/11.85, allocations: 7.895 MB / 3.754 GB, free: 60.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/11.85, allocations: 3.125 kB / 3.754 GB, free: 60.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/11.86, allocations: 294.2 kB / 3.755 GB, free: 60.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002652/11.86, allocations: 0.5484 MB / 3.755 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002669/11.86, allocations: 40.08 kB / 3.755 GB, free: 60.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/11.86, allocations: 2.935 MB / 3.758 GB, free: 57.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.073e-06/11.86, allocations: 0 / 3.758 GB, free: 57.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008844/11.87, allocations: 4.98 MB / 3.763 GB, free: 55.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/11.87, allocations: 0.5179 MB / 3.763 GB, free: 54.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/11.87, allocations: 30.88 kB / 3.763 GB, free: 54.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/11.87, allocations: 160.5 kB / 3.764 GB, free: 54.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003404/11.87, allocations: 122.8 kB / 3.764 GB, free: 54.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/11.87, allocations: 44.5 kB / 3.764 GB, free: 54.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001573/11.88, allocations: 0.8073 MB / 3.765 GB, free: 53.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.439e-06/11.88, allocations: 5.75 kB / 3.765 GB, free: 53.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008656/11.88, allocations: 2.167 MB / 3.767 GB, free: 52.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (122): * Single equations (assignments): 102 * 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.01063/11.89, allocations: 2.244 MB / 3.769 GB, free: 50.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007576/11.9, allocations: 3.495 MB / 3.772 GB, free: 48.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.688e-06/11.9, allocations: 3.609 kB / 3.772 GB, free: 48.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003094/11.91, allocations: 1.604 MB / 3.774 GB, free: 48.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003973/11.91, allocations: 0.6153 MB / 3.774 GB, free: 47.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.447/12.36, allocations: 78.12 MB / 3.851 GB, free: 63.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/12.36, allocations: 1.802 MB / 3.853 GB, free: 63.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005626/12.36, allocations: 2.044 MB / 3.855 GB, free: 63.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005574/12.36, allocations: 116.7 kB / 3.855 GB, free: 63.01 MB / 426.7 MB Notification: Performance of SimCode: time 2.001e-06/12.36, allocations: 2.344 kB / 3.855 GB, free: 63.01 MB / 426.7 MB Notification: Performance of Templates: time 0.1333/12.5, allocations: 68.87 MB / 3.922 GB, free: 59.68 MB / 426.7 MB