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_cpp_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.592/1.592, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.538e-05, allocations: 4 kB / 225 MB, free: 2.719 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2147, allocations: 38.76 MB / 263.7 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.738/5.953, allocations: 2.518 GB / 2.776 GB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/5.953, allocations: 71.97 kB / 2.776 GB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.52/8.473, allocations: 0.5339 GB / 3.31 GB, free: 29.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.857e-06/8.473, allocations: 0 / 3.31 GB, free: 29.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001834/8.473, allocations: 39.16 kB / 3.31 GB, free: 29.08 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.01072/8.484, allocations: 2.738 MB / 3.312 GB, free: 27.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/8.484, allocations: 7.625 kB / 3.312 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006731/8.491, allocations: 0.5939 MB / 3.313 GB, free: 27.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/8.496, allocations: 1.451 MB / 3.314 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/8.496, allocations: 152.3 kB / 3.315 GB, free: 26.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00061/8.497, allocations: 141.6 kB / 3.315 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008896/8.506, allocations: 2.771 MB / 3.317 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.929e-05/8.506, allocations: 5.688 kB / 3.317 GB, free: 25.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004463/8.506, allocations: 63.34 kB / 3.317 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/8.507, allocations: 126.5 kB / 3.318 GB, free: 25.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007625/8.514, allocations: 2.463 MB / 3.32 GB, free: 24.61 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.01946/8.534, allocations: 11.95 MB / 3.332 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005132/8.539, allocations: 1.597 MB / 3.333 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/8.54, allocations: 0.721 MB / 3.334 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/8.552, allocations: 5.688 MB / 3.339 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/8.552, allocations: 47.56 kB / 3.339 GB, free: 10.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 4.496e-06/8.552, allocations: 3.938 kB / 3.34 GB, free: 10.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.02091/8.573, allocations: 5.882 MB / 3.345 GB, free: 5.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/8.573, allocations: 149.5 kB / 3.345 GB, free: 5.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/8.575, allocations: 1.014 MB / 3.346 GB, free: 4.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002979/8.575, allocations: 45.7 kB / 3.346 GB, free: 4.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/8.575, allocations: 0.7524 MB / 3.347 GB, free: 3.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005032/8.576, allocations: 427.7 kB / 3.348 GB, free: 2.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/8.576, allocations: 32 kB / 3.348 GB, free: 2.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/8.576, allocations: 378.3 kB / 3.348 GB, free: 2.555 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/8.578, allocations: 0.7641 MB / 3.349 GB, free: 1.879 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/8.58, allocations: 1.193 MB / 3.35 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.22/11.8, allocations: 377.7 MB / 3.719 GB, free: 75.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/11.8, allocations: 2.438 kB / 3.719 GB, free: 75.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.006469/11.81, allocations: 2.377 MB / 3.721 GB, free: 74.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001075/11.81, allocations: 5.139 MB / 3.726 GB, free: 69.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-05/11.81, allocations: 17.47 kB / 3.726 GB, free: 69.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/11.81, allocations: 0.4917 MB / 3.727 GB, free: 69.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/11.81, allocations: 391.8 kB / 3.727 GB, free: 69.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/11.82, allocations: 2.864 MB / 3.73 GB, free: 67.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/11.82, allocations: 212.8 kB / 3.73 GB, free: 67.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004146/11.82, allocations: 89.06 kB / 3.73 GB, free: 67.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/11.82, allocations: 3.781 kB / 3.73 GB, free: 67.39 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005809/11.82, allocations: 2.248 MB / 3.732 GB, free: 67.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.874e-05/11.82, allocations: 11.31 kB / 3.732 GB, free: 67.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/11.83, allocations: 479.9 kB / 3.733 GB, free: 67.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/11.83, allocations: 391.2 kB / 3.733 GB, free: 67.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/11.83, allocations: 2.861 MB / 3.736 GB, free: 65.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/11.83, allocations: 203.5 kB / 3.736 GB, free: 65.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/11.83, allocations: 81.84 kB / 3.736 GB, free: 65.18 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.0005487/11.83, allocations: 212.1 kB / 3.736 GB, free: 65.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/11.83, allocations: 136.9 kB / 3.736 GB, free: 65.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00891/11.84, allocations: 5.351 MB / 3.742 GB, free: 64.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.242e-05/11.84, allocations: 62.59 kB / 3.742 GB, free: 64.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/11.84, allocations: 4.797 kB / 3.742 GB, free: 64.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007493/11.85, allocations: 4.9 MB / 3.746 GB, free: 63.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/11.87, allocations: 7.892 MB / 3.754 GB, free: 60.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/11.87, allocations: 4 kB / 3.754 GB, free: 60.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/11.87, allocations: 302.1 kB / 3.754 GB, free: 60.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/11.87, allocations: 0.5458 MB / 3.755 GB, free: 59.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002921/11.87, allocations: 42.84 kB / 3.755 GB, free: 59.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/11.87, allocations: 2.933 MB / 3.758 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.953e-06/11.87, allocations: 0 / 3.758 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008701/11.88, allocations: 4.984 MB / 3.763 GB, free: 54.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/11.88, allocations: 0.5126 MB / 3.763 GB, free: 54.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004732/11.88, allocations: 41.97 kB / 3.763 GB, free: 54.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/11.89, allocations: 153.7 kB / 3.763 GB, free: 53.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003976/11.89, allocations: 126.7 kB / 3.764 GB, free: 53.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/11.89, allocations: 41.73 kB / 3.764 GB, free: 53.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001622/11.89, allocations: 0.806 MB / 3.764 GB, free: 53.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.05e-07/11.89, allocations: 0 / 3.764 GB, free: 53.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00919/11.9, allocations: 2.166 MB / 3.767 GB, free: 51.64 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.01106/11.91, allocations: 2.247 MB / 3.769 GB, free: 50.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007712/11.92, allocations: 3.456 MB / 3.772 GB, free: 48.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/11.92, allocations: 11.75 kB / 3.772 GB, free: 48.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003155/11.92, allocations: 1.597 MB / 3.774 GB, free: 47.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004028/11.92, allocations: 0.6157 MB / 3.774 GB, free: 47.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4556/12.38, allocations: 78.16 MB / 3.851 GB, free: 63.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/12.38, allocations: 1.787 MB / 3.852 GB, free: 62.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/12.38, allocations: 139.2 kB / 3.852 GB, free: 62.55 MB / 426.7 MB Notification: Performance of SimCode: time 3.706e-06/12.38, allocations: 0 / 3.852 GB, free: 62.55 MB / 426.7 MB Notification: Performance of Templates: time 0.1196/12.5, allocations: 86.39 MB / 3.937 GB, free: 50.75 MB / 426.7 MB