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.611/1.611, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.702e-05, allocations: 4 kB / 228.1 MB, free: 7.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07985/0.0799, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.2951/0.3751, allocations: 51.21 MB / 318.1 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.03918/0.4143, allocations: 20.88 MB / 339 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.4166, allocations: 65.12 kB / 339.1 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.4196, allocations: 0.6727 MB / 339.7 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.4311, allocations: 2.76 MB / 342.5 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02221/0.4534, allocations: 5.668 MB / 348.2 MB, free: 144 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00553/0.4589, allocations: 2.163 MB / 350.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.4607, allocations: 0.7333 MB / 351.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03189/0.4926, allocations: 12.17 MB / 363.2 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03025/0.5229, allocations: 12.02 MB / 375.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02451/0.5475, allocations: 8.093 MB / 383.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003861/0.5514, allocations: 0.4961 MB / 383.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.5527, allocations: 0.5532 MB / 384.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009549/0.5537, allocations: 208 kB / 384.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.5669, allocations: 5.005 MB / 389.6 MB, free: 7.016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5669, allocations: 0 / 389.6 MB, free: 7.016 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5669, allocations: 0 / 389.6 MB, free: 7.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.345e-05/0.567, allocations: 0 / 389.6 MB, free: 7.016 MB / 314.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.01056/0.5776, allocations: 2.443 MB / 392 MB, free: 4.516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.5777, allocations: 11.97 kB / 392.1 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009715/0.5874, allocations: 0.5833 MB / 392.6 MB, free: 3.918 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009061/0.5965, allocations: 1.148 MB / 393.8 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003913/0.597, allocations: 138.8 kB / 393.9 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006744/0.5977, allocations: 148 kB / 394.1 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02609/0.6238, allocations: 2.793 MB / 396.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.968e-05/0.6239, allocations: 7.938 kB / 396.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003964/0.6243, allocations: 67.97 kB / 396.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004433/0.6248, allocations: 142.6 kB / 397.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02821/0.653, allocations: 2.664 MB / 399.7 MB, free: 12.63 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02579/0.6789, allocations: 11.94 MB / 411.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007806/0.6867, allocations: 1.755 MB / 413.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/0.7016, allocations: 5.696 MB / 419.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.7017, allocations: 51.56 kB / 419.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=108): time 3.327e-06/0.7018, allocations: 4 kB / 419.2 MB, free: 7.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.03363/0.7354, allocations: 7.013 MB / 426.2 MB, free: 336 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.7355, allocations: 145.5 kB / 426.3 MB, free: 160 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.7377, allocations: 1.015 MB / 427.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002174/0.7379, allocations: 53.7 kB / 427.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008254/0.7388, allocations: 0.7632 MB / 428.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005798/0.7394, allocations: 429.9 kB / 428.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.7396, allocations: 32 kB / 428.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.7398, allocations: 369.9 kB / 429 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/0.7429, allocations: 0.8822 MB / 429.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003779/0.7467, allocations: 1.33 MB / 431.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.317/5.063, allocations: 382.1 MB / 0.7943 GB, free: 44.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/5.063, allocations: 8 kB / 0.7943 GB, free: 44.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.008949/5.072, allocations: 2.711 MB / 0.7969 GB, free: 42.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009923/5.073, allocations: 5.306 MB / 0.8021 GB, free: 36.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/5.074, allocations: 16 kB / 0.8021 GB, free: 36.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002675/5.076, allocations: 0.4989 MB / 0.8026 GB, free: 35.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/5.079, allocations: 403.4 kB / 0.803 GB, free: 35.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/5.082, allocations: 2.868 MB / 0.8058 GB, free: 32.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/5.084, allocations: 200.7 kB / 0.806 GB, free: 32.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/5.085, allocations: 79.97 kB / 0.806 GB, free: 32.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/5.085, allocations: 8 kB / 0.8061 GB, free: 32.15 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007957/5.093, allocations: 2.524 MB / 0.8085 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/5.093, allocations: 12 kB / 0.8085 GB, free: 29.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/5.095, allocations: 0.4974 MB / 0.809 GB, free: 29.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/5.098, allocations: 395.4 kB / 0.8094 GB, free: 28.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/5.101, allocations: 2.873 MB / 0.8122 GB, free: 25.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/5.103, allocations: 200.2 kB / 0.8124 GB, free: 25.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/5.103, allocations: 75.98 kB / 0.8125 GB, free: 25.48 MB / 362.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: 61 * 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 (188): * Single equations (assignments): 184 * 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.001236/5.105, allocations: 0.5228 MB / 0.813 GB, free: 24.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/5.105, allocations: 137.2 kB / 0.8131 GB, free: 24.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/5.116, allocations: 5.442 MB / 0.8184 GB, free: 19.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.611e-05/5.116, allocations: 63.86 kB / 0.8185 GB, free: 19.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/5.116, allocations: 2.906 kB / 0.8185 GB, free: 19.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009258/5.125, allocations: 4.986 MB / 0.8233 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/5.141, allocations: 7.95 MB / 0.8311 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/5.141, allocations: 3.984 kB / 0.8311 GB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/5.143, allocations: 283.7 kB / 0.8314 GB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002876/5.146, allocations: 0.5558 MB / 0.8319 GB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/5.146, allocations: 43.97 kB / 0.832 GB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/5.149, allocations: 2.949 MB / 0.8349 GB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/5.149, allocations: 3.938 kB / 0.8349 GB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2323/5.381, allocations: 5.281 MB / 0.84 GB, free: 129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/5.383, allocations: 0.5122 MB / 0.8405 GB, free: 128.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005455/5.383, allocations: 32.83 kB / 0.8405 GB, free: 128.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/5.385, allocations: 156.2 kB / 0.8407 GB, free: 128.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004173/5.386, allocations: 121.3 kB / 0.8408 GB, free: 128.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/5.386, allocations: 45.86 kB / 0.8409 GB, free: 128.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001807/5.388, allocations: 0.8089 MB / 0.8416 GB, free: 128.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.643e-06/5.388, allocations: 1.062 kB / 0.8416 GB, free: 128.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007624/5.395, allocations: 1.925 MB / 0.8435 GB, free: 128.3 MB / 362.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.008987/5.405, allocations: 1.631 MB / 0.8451 GB, free: 128.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01267/5.417, allocations: 3.925 MB / 0.8489 GB, free: 126.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/5.417, allocations: 0 / 0.8489 GB, free: 126.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004456/5.422, allocations: 1.729 MB / 0.8506 GB, free: 126.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/5.427, allocations: 0.6263 MB / 0.8512 GB, free: 126.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/5.44, allocations: 6.33 MB / 0.8574 GB, free: 123 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/5.442, allocations: 1.796 MB / 0.8592 GB, free: 122.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.006118/5.448, allocations: 2.061 MB / 0.8612 GB, free: 121.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000587/5.448, allocations: 111.4 kB / 0.8613 GB, free: 121.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/5.448, allocations: 0 / 0.8613 GB, free: 121.5 MB / 362.7 MB Notification: Performance of Templates: time 0.1233/5.572, allocations: 59.85 MB / 0.9198 GB, free: 61.68 MB / 362.7 MB