Running command: translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.mediums.2..T|pipe2.mediums.1..T|pipe2.mediums.2..T|pipe3.mediums.1..T|pipe3.mediums.2..T|pipe4.mediums.1..T|pipe4.mediums.2..T|pipe5.mediums.1..T|pipe5.mediums.2..T|pipe6.mediums.1..T|pipe6.mediums.2..T|pipe7.mediums.1..T|pipe7.mediums.2..T|pipe8.mediums.1..T|pipe8.mediums.2..T|pipe9.mediums.1..T|pipe9.mediums.2..T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.22e-05, allocations: 6.031 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09069/0.09074, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9335/1.024, allocations: 276.5 MB / 0.6051 GB, free: 96.77 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/1.024, allocations: 79.95 kB / 0.6051 GB, free: 96.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.78/8.804, allocations: 1.52 GB / 2.125 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.304e-06/8.804, allocations: 0 / 2.125 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008958/8.805, allocations: 191.8 kB / 2.125 GB, free: 17.25 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.03167/8.837, allocations: 8.045 MB / 2.133 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/8.837, allocations: 8.031 kB / 2.133 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/8.851, allocations: 1.279 MB / 2.134 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02341/8.874, allocations: 6.284 MB / 2.141 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00071/8.875, allocations: 434.3 kB / 2.141 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002894/8.878, allocations: 0.5271 MB / 2.141 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03338/8.911, allocations: 9.253 MB / 2.151 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002706/8.912, allocations: 15.81 kB / 2.151 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003008/8.915, allocations: 247.9 kB / 2.151 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001245/8.916, allocations: 0.6033 MB / 2.151 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4405/9.356, allocations: 7.788 MB / 2.159 GB, free: 28.61 MB / 0.5261 GB 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.08083/9.437, allocations: 34.96 MB / 2.193 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01575/9.453, allocations: 5.964 MB / 2.199 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008354/9.461, allocations: 3.617 MB / 2.202 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007891/9.469, allocations: 5.162 MB / 2.207 GB, free: 24.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/9.47, allocations: 97.27 kB / 2.208 GB, free: 24.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009354/9.479, allocations: 1.681 MB / 2.209 GB, free: 24.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 3.044e-05/9.479, allocations: 1.312 kB / 2.209 GB, free: 24.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.1914/9.671, allocations: 43.06 MB / 2.251 GB, free: 22.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/9.671, allocations: 169.2 kB / 2.251 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/9.681, allocations: 4.207 MB / 2.256 GB, free: 21.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002012/9.683, allocations: 144.7 kB / 2.256 GB, free: 21.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0033/9.687, allocations: 2.968 MB / 2.259 GB, free: 20.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003583/9.69, allocations: 2.165 MB / 2.261 GB, free: 19.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/9.692, allocations: 141.5 kB / 2.261 GB, free: 19.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0007428/9.693, allocations: 0.5871 MB / 2.261 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009463/9.702, allocations: 3.803 MB / 2.265 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/9.714, allocations: 5.386 MB / 2.27 GB, free: 17.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/9.725, allocations: 4.762 MB / 2.275 GB, free: 17.11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.439e-05/9.725, allocations: 12.62 kB / 2.275 GB, free: 17.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.03633/9.762, allocations: 12.09 MB / 2.287 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.01027/9.772, allocations: 20.35 MB / 2.307 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/9.772, allocations: 43.28 kB / 2.307 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04181/9.814, allocations: 5.143 MB / 2.312 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008101/9.822, allocations: 1.352 MB / 2.313 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02105/9.843, allocations: 17.37 MB / 2.33 GB, free: 8.402 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/9.854, allocations: 0.5036 MB / 2.331 GB, free: 8.273 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002688/9.857, allocations: 412.2 kB / 2.331 GB, free: 8.215 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/9.857, allocations: 3.281 kB / 2.331 GB, free: 8.215 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03537/9.892, allocations: 11.59 MB / 2.342 GB, free: 4.477 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/9.892, allocations: 42.69 kB / 2.342 GB, free: 4.477 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01486/9.907, allocations: 3.256 MB / 2.346 GB, free: 3.672 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008156/9.915, allocations: 1.373 MB / 2.347 GB, free: 3.621 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03045/9.946, allocations: 21.79 MB / 2.368 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009882/9.956, allocations: 496.3 kB / 2.369 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00277/9.958, allocations: 402.8 kB / 2.369 GB, free: 3.176 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 728 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.004744/9.963, allocations: 0.5134 MB / 2.369 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003633/9.967, allocations: 0.6445 MB / 2.37 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.475/10.44, allocations: 18.3 MB / 2.388 GB, free: 89.09 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001283/10.44, allocations: 64.34 kB / 2.388 GB, free: 89.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.591e-05/10.44, allocations: 1.312 kB / 2.388 GB, free: 89.09 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02694/10.47, allocations: 9.448 MB / 2.397 GB, free: 88.47 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06572/10.53, allocations: 24.4 MB / 2.421 GB, free: 86.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.151e-05/10.54, allocations: 14.44 kB / 2.421 GB, free: 86.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005602/10.54, allocations: 0.8692 MB / 2.422 GB, free: 86.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03844/10.58, allocations: 5.415 MB / 2.427 GB, free: 85.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001894/10.58, allocations: 223.9 kB / 2.427 GB, free: 85.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/10.6, allocations: 17.36 MB / 2.444 GB, free: 73.99 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.017e-05/10.6, allocations: 24.97 kB / 2.444 GB, free: 73.99 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04174/10.64, allocations: 18.91 MB / 2.463 GB, free: 69.59 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006847/10.65, allocations: 1.659 MB / 2.465 GB, free: 69.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003461/10.65, allocations: 170.2 kB / 2.465 GB, free: 69.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008332/10.66, allocations: 333.9 kB / 2.465 GB, free: 69.36 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002171/10.66, allocations: 464.3 kB / 2.465 GB, free: 69.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002028/10.66, allocations: 323.5 kB / 2.466 GB, free: 69.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.008409/10.67, allocations: 3.147 MB / 2.469 GB, free: 69.13 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.002e-06/10.67, allocations: 0 / 2.469 GB, free: 69.13 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0255/10.7, allocations: 5.102 MB / 2.474 GB, free: 69.13 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,12 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.01098/10.71, allocations: 2.689 MB / 2.476 GB, free: 69 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03954/10.75, allocations: 15.2 MB / 2.491 GB, free: 66.81 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.482e-05/10.75, allocations: 8.906 kB / 2.491 GB, free: 66.81 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01329/10.76, allocations: 4.75 MB / 2.496 GB, free: 65.38 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01729/10.78, allocations: 2.638 MB / 2.499 GB, free: 64.82 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0372/10.81, allocations: 14.26 MB / 2.512 GB, free: 59.79 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008998/10.82, allocations: 4.518 MB / 2.517 GB, free: 58.53 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.03228/10.86, allocations: 9.743 MB / 2.526 GB, free: 58.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004258/10.86, allocations: 0.5258 MB / 2.527 GB, free: 58.16 MB / 0.5886 GB Notification: Performance of SimCode: time 2.17e-06/10.86, allocations: 0 / 2.527 GB, free: 58.16 MB / 0.5886 GB Notification: Performance of Templates: time 0.798/11.66, allocations: 182.2 MB / 2.705 GB, free: 76.29 MB / 0.5886 GB