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.845/1.845, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.513e-05/4.589e-05, allocations: 9.109 kB / 255.4 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07888/0.07896, allocations: 44.5 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8251/0.9041, allocations: 277.2 MB / 0.5636 GB, free: 123.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.9043, allocations: 70.86 kB / 0.5636 GB, free: 123.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.679/9.583, allocations: 1.657 GB / 2.22 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.765e-06/9.583, allocations: 4 kB / 2.22 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009747/9.584, allocations: 187.4 kB / 2.221 GB, free: 23.14 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.624, allocations: 10.1 MB / 2.231 GB, free: 18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/9.624, allocations: 13.19 kB / 2.231 GB, free: 18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/9.638, allocations: 1.232 MB / 2.232 GB, free: 17.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02476/9.663, allocations: 6.338 MB / 2.238 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007578/9.664, allocations: 429.2 kB / 2.238 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003119/9.667, allocations: 0.5315 MB / 2.239 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03127/9.698, allocations: 9.252 MB / 2.248 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/9.698, allocations: 18.88 kB / 2.248 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002966/9.701, allocations: 244.5 kB / 2.248 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/9.702, allocations: 0.5937 MB / 2.249 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/9.726, allocations: 7.799 MB / 2.256 GB, free: 6.934 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.4988/10.22, allocations: 34.92 MB / 2.29 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01746/10.24, allocations: 5.959 MB / 2.296 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009225/10.25, allocations: 3.614 MB / 2.3 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006522/10.26, allocations: 4.76 MB / 2.304 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/10.26, allocations: 102 kB / 2.305 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009929/10.27, allocations: 1.668 MB / 2.306 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=500): time 6.406e-05/10.27, allocations: 1.344 kB / 2.306 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=632): time 0.1941/10.46, allocations: 43.11 MB / 2.348 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.334e-05/10.46, allocations: 169.9 kB / 2.348 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01071/10.47, allocations: 4.131 MB / 2.352 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001967/10.48, allocations: 145.7 kB / 2.353 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002792/10.48, allocations: 2.639 MB / 2.355 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003464/10.48, allocations: 2.167 MB / 2.357 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/10.48, allocations: 143.4 kB / 2.357 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006475/10.48, allocations: 0.594 MB / 2.358 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009788/10.49, allocations: 3.808 MB / 2.362 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/10.51, allocations: 5.446 MB / 2.367 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/10.52, allocations: 4.782 MB / 2.372 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.351e-05/10.52, allocations: 12.75 kB / 2.372 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03653/10.55, allocations: 11.79 MB / 2.383 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.007277/10.56, allocations: 17.68 MB / 2.4 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/10.56, allocations: 48 kB / 2.401 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04019/10.6, allocations: 5.083 MB / 2.405 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008183/10.61, allocations: 1.369 MB / 2.407 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/10.63, allocations: 17.37 MB / 2.424 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/10.64, allocations: 0.5008 MB / 2.424 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002827/10.65, allocations: 422.5 kB / 2.425 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/10.65, allocations: 3.781 kB / 2.425 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03802/10.68, allocations: 11.64 MB / 2.436 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/10.68, allocations: 43.88 kB / 2.436 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01383/10.7, allocations: 2.951 MB / 2.439 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008311/10.71, allocations: 1.396 MB / 2.44 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03199/10.74, allocations: 21.72 MB / 2.462 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007907/10.75, allocations: 498.9 kB / 2.462 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002755/10.75, allocations: 412.5 kB / 2.462 GB, free: 4.574 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.004663/10.75, allocations: 0.5139 MB / 2.463 GB, free: 4.258 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003686/10.76, allocations: 0.6375 MB / 2.464 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04708/10.8, allocations: 13.35 MB / 2.477 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001292/10.8, allocations: 71.09 kB / 2.477 GB, free: 14.22 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/10.8, allocations: 3.797 kB / 2.477 GB, free: 14.22 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02931/10.83, allocations: 9.451 MB / 2.486 GB, free: 5.965 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.526/11.36, allocations: 24.72 MB / 2.51 GB, free: 91.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001091/11.36, allocations: 16.19 kB / 2.51 GB, free: 91.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006175/11.37, allocations: 0.8682 MB / 2.511 GB, free: 91.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03836/11.4, allocations: 5.383 MB / 2.516 GB, free: 91.22 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001909/11.41, allocations: 228.6 kB / 2.516 GB, free: 91.22 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/11.42, allocations: 17.36 MB / 2.533 GB, free: 79.34 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.178e-05/11.42, allocations: 23.88 kB / 2.533 GB, free: 79.34 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04506/11.47, allocations: 18.88 MB / 2.552 GB, free: 74.93 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007581/11.48, allocations: 1.722 MB / 2.553 GB, free: 74.84 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003761/11.48, allocations: 166.3 kB / 2.554 GB, free: 74.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008549/11.49, allocations: 331 kB / 2.554 GB, free: 74.84 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00226/11.49, allocations: 463.1 kB / 2.554 GB, free: 74.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002282/11.49, allocations: 321.8 kB / 2.555 GB, free: 74.82 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009006/11.5, allocations: 3.084 MB / 2.558 GB, free: 74.62 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.184e-06/11.5, allocations: 1.188 kB / 2.558 GB, free: 74.62 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03092/11.53, allocations: 5.859 MB / 2.563 GB, free: 74.62 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.01614/11.55, allocations: 3.757 MB / 2.567 GB, free: 74.46 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04109/11.59, allocations: 15.05 MB / 2.582 GB, free: 74.16 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.492e-05/11.59, allocations: 8 kB / 2.582 GB, free: 74.16 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0144/11.6, allocations: 4.747 MB / 2.586 GB, free: 74.11 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01787/11.62, allocations: 2.578 MB / 2.589 GB, free: 74.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03916/11.66, allocations: 14.46 MB / 2.603 GB, free: 71.19 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009074/11.67, allocations: 4.435 MB / 2.607 GB, free: 70.31 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005395/11.68, allocations: 0.684 MB / 2.608 GB, free: 70.31 MB / 0.573 GB Notification: Performance of SimCode: time 1.968e-06/11.68, allocations: 0 / 2.608 GB, free: 70.31 MB / 0.573 GB Notification: Performance of Templates: time 2.749/14.43, allocations: 0.732 GB / 3.34 GB, free: 92.97 MB / 0.573 GB