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.2_cpp_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.842/1.842, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.661e-05, allocations: 3.219 kB / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0785/0.07855, allocations: 44.5 MB / 299.9 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.068/6.147, allocations: 2.628 GB / 2.921 GB, free: 36.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/6.147, allocations: 70.78 kB / 2.921 GB, free: 36.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.659/8.806, allocations: 0.5462 GB / 3.467 GB, free: 33.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/8.806, allocations: 0 / 3.467 GB, free: 33.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001888/8.806, allocations: 46 kB / 3.467 GB, free: 33.83 MB / 426.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.01131/8.817, allocations: 2.799 MB / 3.47 GB, free: 32.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/8.817, allocations: 9.219 kB / 3.47 GB, free: 32.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006484/8.824, allocations: 0.6003 MB / 3.47 GB, free: 32.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004798/8.829, allocations: 1.452 MB / 3.472 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/8.829, allocations: 138.7 kB / 3.472 GB, free: 32.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005692/8.83, allocations: 149 kB / 3.472 GB, free: 32.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0085/8.838, allocations: 2.762 MB / 3.475 GB, free: 31.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.262e-05/8.838, allocations: 13.05 kB / 3.475 GB, free: 31.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/8.839, allocations: 64.84 kB / 3.475 GB, free: 31.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/8.839, allocations: 129.7 kB / 3.475 GB, free: 31.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008163/8.847, allocations: 2.457 MB / 3.477 GB, free: 31.69 MB / 426.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.01988/8.867, allocations: 11.96 MB / 3.489 GB, free: 24.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/8.872, allocations: 1.595 MB / 3.49 GB, free: 24.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/8.873, allocations: 0.7132 MB / 3.491 GB, free: 24.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/8.885, allocations: 5.745 MB / 3.497 GB, free: 20.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/8.885, allocations: 46.97 kB / 3.497 GB, free: 20.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 5.193e-06/8.885, allocations: 0 / 3.497 GB, free: 20.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.02236/8.907, allocations: 5.891 MB / 3.503 GB, free: 19.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/8.908, allocations: 140.9 kB / 3.503 GB, free: 19.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/8.909, allocations: 1.006 MB / 3.504 GB, free: 19.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003047/8.91, allocations: 52.23 kB / 3.504 GB, free: 19.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/8.91, allocations: 0.7552 MB / 3.504 GB, free: 18.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/8.911, allocations: 428.8 kB / 3.505 GB, free: 18.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/8.911, allocations: 35.81 kB / 3.505 GB, free: 18.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/8.911, allocations: 380.5 kB / 3.505 GB, free: 18.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/8.913, allocations: 0.7629 MB / 3.506 GB, free: 18.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/8.914, allocations: 1.196 MB / 3.507 GB, free: 17.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.905/11.82, allocations: 377.6 MB / 3.876 GB, free: 56.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/11.82, allocations: 4 kB / 3.876 GB, free: 56.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.006134/11.83, allocations: 2.376 MB / 3.878 GB, free: 54.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001024/11.83, allocations: 5.142 MB / 3.883 GB, free: 49.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/11.83, allocations: 12 kB / 3.883 GB, free: 49.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/11.83, allocations: 0.4957 MB / 3.884 GB, free: 48.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/11.83, allocations: 396.6 kB / 3.884 GB, free: 48.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/11.83, allocations: 2.857 MB / 3.887 GB, free: 45.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/11.84, allocations: 212.8 kB / 3.887 GB, free: 45.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003995/11.84, allocations: 81.09 kB / 3.887 GB, free: 45.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/11.84, allocations: 5.25 kB / 3.887 GB, free: 45.71 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005398/11.84, allocations: 2.25 MB / 3.889 GB, free: 44.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.645e-05/11.84, allocations: 12 kB / 3.889 GB, free: 44.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/11.84, allocations: 470.3 kB / 3.89 GB, free: 43.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/11.85, allocations: 391.2 kB / 3.89 GB, free: 43.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/11.85, allocations: 2.869 MB / 3.893 GB, free: 40.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/11.85, allocations: 210 kB / 3.893 GB, free: 40.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003976/11.85, allocations: 79.23 kB / 3.893 GB, free: 40.53 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: 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.000621/11.85, allocations: 207.8 kB / 3.894 GB, free: 40.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/11.85, allocations: 138.3 kB / 3.894 GB, free: 40.33 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00847/11.86, allocations: 5.366 MB / 3.899 GB, free: 36.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.538e-05/11.86, allocations: 57.47 kB / 3.899 GB, free: 36.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/11.86, allocations: 0 / 3.899 GB, free: 36.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006925/11.87, allocations: 4.907 MB / 3.904 GB, free: 33.49 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/11.88, allocations: 7.894 MB / 3.912 GB, free: 28.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/11.88, allocations: 0 / 3.912 GB, free: 28.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/11.88, allocations: 293.4 kB / 3.912 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/11.88, allocations: 0.5428 MB / 3.912 GB, free: 27.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002726/11.88, allocations: 45.03 kB / 3.912 GB, free: 27.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/11.89, allocations: 2.928 MB / 3.915 GB, free: 24.95 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.609e-06/11.89, allocations: 0 / 3.915 GB, free: 24.95 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008456/11.9, allocations: 4.992 MB / 3.92 GB, free: 21.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/11.9, allocations: 0.5127 MB / 3.921 GB, free: 21.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/11.9, allocations: 36.98 kB / 3.921 GB, free: 21.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/11.9, allocations: 152.7 kB / 3.921 GB, free: 21.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003421/11.9, allocations: 116.8 kB / 3.921 GB, free: 20.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/11.9, allocations: 40.8 kB / 3.921 GB, free: 20.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001688/11.9, allocations: 0.8132 MB / 3.922 GB, free: 20.35 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.003e-06/11.9, allocations: 0 / 3.922 GB, free: 20.35 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009456/11.91, allocations: 2.178 MB / 3.924 GB, free: 18.62 MB / 474.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.01116/11.92, allocations: 2.25 MB / 3.926 GB, free: 17.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00769/11.93, allocations: 3.463 MB / 3.929 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/11.93, allocations: 0 / 3.929 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003187/11.93, allocations: 1.6 MB / 3.931 GB, free: 13.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/11.94, allocations: 0.62 MB / 3.932 GB, free: 13.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4901/12.43, allocations: 79.45 MB / 4.009 GB, free: 67.67 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/12.43, allocations: 1.779 MB / 4.011 GB, free: 66.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/12.43, allocations: 137.4 kB / 4.011 GB, free: 66.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.798e-06/12.43, allocations: 6.344 kB / 4.011 GB, free: 66.89 MB / 474.7 MB Notification: Performance of Templates: time 0.1213/12.55, allocations: 86.54 MB / 4.096 GB, free: 36.8 MB / 474.7 MB