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_3.2.2_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadModel(Modelica): time 1.804/1.804, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.952e-05, allocations: 4 kB / 255.3 MB, free: 3.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07824/0.0783, allocations: 44.49 MB / 299.8 MB, free: 6.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7761/0.8544, allocations: 277.2 MB / 0.5635 GB, free: 123.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.8547, allocations: 86.67 kB / 0.5636 GB, free: 123.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.632/9.486, allocations: 1.657 GB / 2.22 GB, free: 23.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.516e-06/9.487, allocations: 4 kB / 2.22 GB, free: 23.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009085/9.487, allocations: 197.9 kB / 2.221 GB, free: 23.02 MB / 0.4948 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.04016/9.528, allocations: 10.09 MB / 2.23 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/9.528, allocations: 15.62 kB / 2.23 GB, free: 17.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/9.541, allocations: 1.235 MB / 2.232 GB, free: 17.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02503/9.566, allocations: 6.333 MB / 2.238 GB, free: 16.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000784/9.567, allocations: 429.2 kB / 2.238 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003163/9.57, allocations: 0.537 MB / 2.239 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03052/9.601, allocations: 9.311 MB / 2.248 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000272/9.601, allocations: 19.56 kB / 2.248 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003007/9.604, allocations: 250.4 kB / 2.248 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00105/9.605, allocations: 0.5907 MB / 2.249 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/9.63, allocations: 7.904 MB / 2.256 GB, free: 6.781 MB / 0.4948 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.504/10.13, allocations: 34.91 MB / 2.291 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01631/10.15, allocations: 6.011 MB / 2.296 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00862/10.16, allocations: 3.613 MB / 2.3 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006536/10.17, allocations: 4.763 MB / 2.305 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/10.17, allocations: 101.3 kB / 2.305 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009619/10.18, allocations: 1.67 MB / 2.306 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=500): time 3.223e-05/10.18, allocations: 0 / 2.306 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=632): time 0.1962/10.37, allocations: 43.11 MB / 2.348 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/10.37, allocations: 169.7 kB / 2.349 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01135/10.38, allocations: 4.131 MB / 2.353 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002024/10.38, allocations: 143.4 kB / 2.353 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002896/10.39, allocations: 2.643 MB / 2.355 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003809/10.39, allocations: 2.168 MB / 2.357 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002095/10.39, allocations: 144.8 kB / 2.358 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000791/10.39, allocations: 0.5952 MB / 2.358 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01004/10.4, allocations: 3.809 MB / 2.362 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/10.42, allocations: 5.49 MB / 2.367 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/10.43, allocations: 4.774 MB / 2.372 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.664e-05/10.43, allocations: 20.59 kB / 2.372 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03821/10.47, allocations: 11.9 MB / 2.384 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00721/10.47, allocations: 17.69 MB / 2.401 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001909/10.47, allocations: 41.88 kB / 2.401 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03984/10.51, allocations: 5.098 MB / 2.406 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008343/10.52, allocations: 1.37 MB / 2.407 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/10.54, allocations: 17.38 MB / 2.424 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/10.56, allocations: 0.5105 MB / 2.425 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002685/10.56, allocations: 425.3 kB / 2.425 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/10.56, allocations: 2.375 kB / 2.425 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03801/10.6, allocations: 11.76 MB / 2.437 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001569/10.6, allocations: 44.06 kB / 2.437 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/10.61, allocations: 2.951 MB / 2.439 GB, free: 4.805 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008151/10.62, allocations: 1.395 MB / 2.441 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03173/10.65, allocations: 21.72 MB / 2.462 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007993/10.66, allocations: 497 kB / 2.463 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002663/10.66, allocations: 417.1 kB / 2.463 GB, free: 4.391 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 734 * 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.004574/10.67, allocations: 0.517 MB / 2.463 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003471/10.67, allocations: 0.6411 MB / 2.464 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05006/10.72, allocations: 13.51 MB / 2.477 GB, free: 14.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000107/10.72, allocations: 64 kB / 2.477 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/10.72, allocations: 3.781 kB / 2.477 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02956/10.75, allocations: 9.446 MB / 2.487 GB, free: 5.949 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5022/11.25, allocations: 24.78 MB / 2.511 GB, free: 91.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.464e-05/11.25, allocations: 17.34 kB / 2.511 GB, free: 91.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005564/11.26, allocations: 0.8611 MB / 2.512 GB, free: 91.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03777/11.29, allocations: 5.394 MB / 2.517 GB, free: 90.95 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002004/11.3, allocations: 233.8 kB / 2.517 GB, free: 90.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/11.31, allocations: 17.37 MB / 2.534 GB, free: 79.07 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.157e-05/11.31, allocations: 23.97 kB / 2.534 GB, free: 79.07 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04382/11.36, allocations: 18.88 MB / 2.553 GB, free: 74.67 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00703/11.36, allocations: 1.715 MB / 2.554 GB, free: 74.57 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003506/11.37, allocations: 167.3 kB / 2.554 GB, free: 74.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008179/11.38, allocations: 331.5 kB / 2.555 GB, free: 74.57 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002208/11.38, allocations: 461 kB / 2.555 GB, free: 74.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002024/11.38, allocations: 324 kB / 2.555 GB, free: 74.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.008416/11.39, allocations: 3.083 MB / 2.558 GB, free: 74.35 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.103e-06/11.39, allocations: 0 / 2.558 GB, free: 74.35 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02877/11.42, allocations: 5.858 MB / 2.564 GB, free: 74.35 MB / 0.573 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.01511/11.43, allocations: 3.742 MB / 2.568 GB, free: 74.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04071/11.47, allocations: 15.28 MB / 2.583 GB, free: 73.85 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.581e-05/11.47, allocations: 11.08 kB / 2.583 GB, free: 73.85 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01347/11.49, allocations: 4.8 MB / 2.587 GB, free: 73.78 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01715/11.5, allocations: 2.578 MB / 2.59 GB, free: 73.73 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03905/11.54, allocations: 14.51 MB / 2.604 GB, free: 70.85 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008976/11.55, allocations: 4.43 MB / 2.608 GB, free: 69.98 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005057/11.56, allocations: 0.6838 MB / 2.609 GB, free: 69.98 MB / 0.573 GB Notification: Performance of SimCode: time 1.894e-06/11.56, allocations: 0 / 2.609 GB, free: 69.98 MB / 0.573 GB Notification: Performance of Templates: time 2.756/14.31, allocations: 0.7325 GB / 3.342 GB, free: 108 MB / 0.5886 GB