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.833/1.833, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.264e-05/4.29e-05, allocations: 2.594 kB / 255.3 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 44.51 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.396/6.516, allocations: 2.628 GB / 2.921 GB, free: 85.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/6.516, allocations: 74.11 kB / 2.921 GB, free: 85.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.429/8.945, allocations: 0.5462 GB / 3.467 GB, free: 33.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.306e-06/8.945, allocations: 3.156 kB / 3.467 GB, free: 33.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001779/8.945, allocations: 47.44 kB / 3.467 GB, free: 33.8 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.01106/8.956, allocations: 2.79 MB / 3.47 GB, free: 32.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/8.956, allocations: 7.562 kB / 3.47 GB, free: 32.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006314/8.963, allocations: 0.6002 MB / 3.47 GB, free: 32.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004785/8.968, allocations: 1.45 MB / 3.472 GB, free: 31.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/8.968, allocations: 149.8 kB / 3.472 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006496/8.969, allocations: 144.3 kB / 3.472 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008848/8.977, allocations: 2.777 MB / 3.475 GB, free: 30.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.466e-05/8.978, allocations: 6.844 kB / 3.475 GB, free: 30.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004321/8.978, allocations: 68.38 kB / 3.475 GB, free: 30.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/8.978, allocations: 128 kB / 3.475 GB, free: 30.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008063/8.986, allocations: 2.492 MB / 3.477 GB, free: 29.28 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.02136/9.008, allocations: 11.95 MB / 3.489 GB, free: 20.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005183/9.013, allocations: 1.608 MB / 3.49 GB, free: 19.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/9.015, allocations: 0.7114 MB / 3.491 GB, free: 19.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/9.026, allocations: 5.739 MB / 3.497 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/9.026, allocations: 43.56 kB / 3.497 GB, free: 14.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 5.161e-06/9.026, allocations: 0 / 3.497 GB, free: 14.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.02154/9.047, allocations: 5.9 MB / 3.503 GB, free: 9.496 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/9.048, allocations: 141.5 kB / 3.503 GB, free: 9.328 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/9.049, allocations: 1.006 MB / 3.504 GB, free: 8.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003332/9.05, allocations: 49.7 kB / 3.504 GB, free: 8.355 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/9.05, allocations: 0.7442 MB / 3.504 GB, free: 7.656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005611/9.051, allocations: 439.9 kB / 3.505 GB, free: 7.266 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/9.051, allocations: 35.94 kB / 3.505 GB, free: 7.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/9.051, allocations: 385.2 kB / 3.505 GB, free: 6.867 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/9.053, allocations: 0.759 MB / 3.506 GB, free: 6.195 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/9.055, allocations: 1.207 MB / 3.507 GB, free: 4.906 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.365/12.42, allocations: 377.6 MB / 3.876 GB, free: 81.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/12.42, allocations: 3.531 kB / 3.876 GB, free: 81.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.006449/12.43, allocations: 2.412 MB / 3.878 GB, free: 81.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001042/12.43, allocations: 5.149 MB / 3.883 GB, free: 75.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-05/12.43, allocations: 13.94 kB / 3.883 GB, free: 75.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/12.43, allocations: 0.4955 MB / 3.884 GB, free: 75.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/12.43, allocations: 395.8 kB / 3.884 GB, free: 75.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/12.44, allocations: 2.861 MB / 3.887 GB, free: 73.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/12.44, allocations: 205.9 kB / 3.887 GB, free: 73.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003707/12.44, allocations: 81.45 kB / 3.887 GB, free: 73.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/12.44, allocations: 3.844 kB / 3.887 GB, free: 73.79 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00579/12.44, allocations: 2.288 MB / 3.89 GB, free: 73.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.779e-05/12.44, allocations: 16.97 kB / 3.89 GB, free: 73.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/12.45, allocations: 466.7 kB / 3.89 GB, free: 73.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/12.45, allocations: 396.3 kB / 3.89 GB, free: 73.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/12.45, allocations: 2.869 MB / 3.893 GB, free: 71.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/12.45, allocations: 200.9 kB / 3.893 GB, free: 71.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003167/12.45, allocations: 87.92 kB / 3.893 GB, free: 71.57 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.0005769/12.45, allocations: 211.8 kB / 3.894 GB, free: 71.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/12.45, allocations: 139.8 kB / 3.894 GB, free: 71.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009224/12.46, allocations: 5.351 MB / 3.899 GB, free: 71.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-05/12.46, allocations: 61.12 kB / 3.899 GB, free: 71.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/12.46, allocations: 2.875 kB / 3.899 GB, free: 71.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007232/12.47, allocations: 4.909 MB / 3.904 GB, free: 70.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/12.49, allocations: 7.903 MB / 3.912 GB, free: 69.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/12.49, allocations: 0 / 3.912 GB, free: 69.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/12.49, allocations: 289.2 kB / 3.912 GB, free: 69.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/12.49, allocations: 0.5533 MB / 3.912 GB, free: 69.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003032/12.49, allocations: 35.31 kB / 3.912 GB, free: 69.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/12.49, allocations: 2.94 MB / 3.915 GB, free: 67.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.824e-06/12.49, allocations: 3.5 kB / 3.915 GB, free: 67.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009018/12.5, allocations: 4.982 MB / 3.92 GB, free: 67.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/12.5, allocations: 0.5193 MB / 3.921 GB, free: 66.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004952/12.5, allocations: 32.12 kB / 3.921 GB, free: 66.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/12.51, allocations: 161.5 kB / 3.921 GB, free: 66.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/12.51, allocations: 117.2 kB / 3.921 GB, free: 66.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/12.51, allocations: 42.97 kB / 3.921 GB, free: 66.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001658/12.51, allocations: 0.8076 MB / 3.922 GB, free: 66.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.946e-06/12.51, allocations: 0 / 3.922 GB, free: 66.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009106/12.52, allocations: 2.184 MB / 3.924 GB, free: 66.8 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.01076/12.53, allocations: 2.231 MB / 3.926 GB, free: 66.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008038/12.54, allocations: 3.516 MB / 3.93 GB, free: 66.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.629e-06/12.54, allocations: 1.375 kB / 3.93 GB, free: 66.47 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003351/12.54, allocations: 1.608 MB / 3.931 GB, free: 66.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/12.54, allocations: 0.6224 MB / 3.932 GB, free: 66.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1891/12.73, allocations: 79.46 MB / 4.009 GB, free: 20.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/12.73, allocations: 1.785 MB / 4.011 GB, free: 19.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/12.73, allocations: 143.4 kB / 4.011 GB, free: 18.88 MB / 474.7 MB Notification: Performance of SimCode: time 2.018e-06/12.73, allocations: 4 kB / 4.011 GB, free: 18.87 MB / 474.7 MB Notification: Performance of Templates: time 0.4247/13.16, allocations: 86.62 MB / 4.096 GB, free: 61.64 MB / 474.7 MB