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_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.798/1.798, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.162e-05, allocations: 4 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1277, allocations: 44.5 MB / 299.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.47/6.598, allocations: 2.628 GB / 2.921 GB, free: 36.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/6.598, allocations: 71.97 kB / 2.921 GB, free: 36.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.57/9.169, allocations: 0.5462 GB / 3.467 GB, free: 33.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.126e-06/9.169, allocations: 2.562 kB / 3.467 GB, free: 33.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002011/9.169, allocations: 45.81 kB / 3.467 GB, free: 33.7 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.01093/9.18, allocations: 2.8 MB / 3.47 GB, free: 32.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/9.18, allocations: 9.812 kB / 3.47 GB, free: 32.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006111/9.186, allocations: 0.6023 MB / 3.47 GB, free: 32.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004824/9.191, allocations: 1.445 MB / 3.472 GB, free: 32.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/9.191, allocations: 141.9 kB / 3.472 GB, free: 32.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006489/9.192, allocations: 150 kB / 3.472 GB, free: 32.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008595/9.2, allocations: 2.764 MB / 3.475 GB, free: 31.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-05/9.201, allocations: 6.875 kB / 3.475 GB, free: 31.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/9.201, allocations: 68.02 kB / 3.475 GB, free: 31.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/9.201, allocations: 130.7 kB / 3.475 GB, free: 31.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007536/9.209, allocations: 2.456 MB / 3.477 GB, free: 31.56 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.01993/9.229, allocations: 11.96 MB / 3.489 GB, free: 24.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004893/9.234, allocations: 1.592 MB / 3.49 GB, free: 24.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/9.235, allocations: 0.7107 MB / 3.491 GB, free: 24.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/9.246, allocations: 5.748 MB / 3.497 GB, free: 20.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/9.246, allocations: 46 kB / 3.497 GB, free: 20.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 4.513e-06/9.246, allocations: 0 / 3.497 GB, free: 20.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.02117/9.267, allocations: 5.889 MB / 3.503 GB, free: 19.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/9.267, allocations: 151.1 kB / 3.503 GB, free: 19.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/9.269, allocations: 1.007 MB / 3.504 GB, free: 19.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003143/9.27, allocations: 47.83 kB / 3.504 GB, free: 19.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/9.27, allocations: 0.7614 MB / 3.504 GB, free: 18.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/9.271, allocations: 430.9 kB / 3.505 GB, free: 18.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/9.271, allocations: 30.25 kB / 3.505 GB, free: 18.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/9.271, allocations: 379.9 kB / 3.505 GB, free: 18.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/9.273, allocations: 0.7632 MB / 3.506 GB, free: 18.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/9.275, allocations: 1.19 MB / 3.507 GB, free: 17.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.749/12.02, allocations: 377.7 MB / 3.876 GB, free: 56.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/12.02, allocations: 0 / 3.876 GB, free: 56.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.006608/12.03, allocations: 2.45 MB / 3.878 GB, free: 54.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001037/12.03, allocations: 5.138 MB / 3.883 GB, free: 49.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/12.03, allocations: 16 kB / 3.883 GB, free: 48.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/12.03, allocations: 0.4897 MB / 3.884 GB, free: 48.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/12.04, allocations: 398.1 kB / 3.884 GB, free: 48.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/12.04, allocations: 2.86 MB / 3.887 GB, free: 45.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/12.04, allocations: 212.8 kB / 3.887 GB, free: 45.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003455/12.04, allocations: 82.55 kB / 3.887 GB, free: 45.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/12.04, allocations: 4 kB / 3.887 GB, free: 45.34 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005561/12.05, allocations: 2.257 MB / 3.89 GB, free: 43.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/12.05, allocations: 12 kB / 3.89 GB, free: 43.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/12.05, allocations: 0.4903 MB / 3.89 GB, free: 43.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/12.05, allocations: 389.2 kB / 3.89 GB, free: 43.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/12.05, allocations: 2.863 MB / 3.893 GB, free: 40.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/12.06, allocations: 210.8 kB / 3.893 GB, free: 40.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00038/12.06, allocations: 75.48 kB / 3.894 GB, free: 40.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: 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.0005723/12.06, allocations: 216.9 kB / 3.894 GB, free: 40 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/12.06, allocations: 137.8 kB / 3.894 GB, free: 39.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/12.07, allocations: 5.364 MB / 3.899 GB, free: 36.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000109/12.07, allocations: 57.47 kB / 3.899 GB, free: 36.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/12.07, allocations: 0 / 3.899 GB, free: 36.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01098/12.08, allocations: 4.909 MB / 3.904 GB, free: 33.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02039/12.1, allocations: 7.893 MB / 3.912 GB, free: 27.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/12.1, allocations: 0 / 3.912 GB, free: 27.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002342/12.1, allocations: 288.9 kB / 3.912 GB, free: 27.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003573/12.11, allocations: 0.5528 MB / 3.912 GB, free: 27.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003752/12.11, allocations: 42.97 kB / 3.913 GB, free: 27.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003451/12.11, allocations: 2.934 MB / 3.915 GB, free: 24.51 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/12.11, allocations: 0 / 3.915 GB, free: 24.51 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009251/12.12, allocations: 4.988 MB / 3.92 GB, free: 21.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/12.12, allocations: 0.5155 MB / 3.921 GB, free: 20.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005194/12.12, allocations: 34.42 kB / 3.921 GB, free: 20.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/12.12, allocations: 153.7 kB / 3.921 GB, free: 20.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004459/12.12, allocations: 116.9 kB / 3.921 GB, free: 20.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/12.13, allocations: 41.05 kB / 3.921 GB, free: 20.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001592/12.13, allocations: 0.8111 MB / 3.922 GB, free: 19.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.068e-06/12.13, allocations: 4 kB / 3.922 GB, free: 19.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009215/12.14, allocations: 2.172 MB / 3.924 GB, free: 18.18 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.01128/12.15, allocations: 2.257 MB / 3.926 GB, free: 16.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007411/12.15, allocations: 3.496 MB / 3.93 GB, free: 14.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.102e-06/12.15, allocations: 0 / 3.93 GB, free: 14.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003132/12.16, allocations: 1.602 MB / 3.931 GB, free: 13.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/12.16, allocations: 0.6295 MB / 3.932 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4766/12.64, allocations: 79.39 MB / 4.009 GB, free: 67.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/12.64, allocations: 1.801 MB / 4.011 GB, free: 66.51 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005324/12.65, allocations: 2.051 MB / 4.013 GB, free: 66.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005513/12.65, allocations: 113.6 kB / 4.013 GB, free: 66.42 MB / 474.7 MB Notification: Performance of SimCode: time 1.75e-06/12.65, allocations: 2.516 kB / 4.013 GB, free: 66.42 MB / 474.7 MB Notification: Performance of Templates: time 0.1247/12.77, allocations: 69.07 MB / 4.081 GB, free: 51.32 MB / 474.7 MB