Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 270 MB / 282.7 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.648e-05, allocations: 7.984 kB / 347 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3276, allocations: 61.87 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.941/7.268, allocations: 2.827 GB / 3.226 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/7.269, allocations: 78.8 kB / 3.226 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.101/10.37, allocations: 0.7519 GB / 3.978 GB, free: 26.09 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.206e-06/10.37, allocations: 0 / 3.978 GB, free: 26.09 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001307/10.37, allocations: 31.94 kB / 3.978 GB, free: 26.06 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01041/10.38, allocations: 2.758 MB / 3.981 GB, free: 23.27 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/10.38, allocations: 8.031 kB / 3.981 GB, free: 23.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004541/10.38, allocations: 485.7 kB / 3.981 GB, free: 22.79 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/10.39, allocations: 1.119 MB / 3.982 GB, free: 21.65 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/10.39, allocations: 148 kB / 3.982 GB, free: 21.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/10.39, allocations: 102.5 kB / 3.982 GB, free: 21.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005039/10.39, allocations: 1.877 MB / 3.984 GB, free: 19.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/10.39, allocations: 0 / 3.984 GB, free: 19.42 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/10.39, allocations: 43.91 kB / 3.984 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/10.39, allocations: 81.91 kB / 3.984 GB, free: 19.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004971/10.4, allocations: 1.694 MB / 3.986 GB, free: 17.61 MB / 0.5417 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.01446/10.41, allocations: 8.543 MB / 3.994 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/10.42, allocations: 1.363 MB / 3.996 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/10.42, allocations: 479 kB / 3.996 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5135/10.93, allocations: 63.49 MB / 4.058 GB, free: 40.44 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002944/10.93, allocations: 0.8913 MB / 4.059 GB, free: 40.31 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 5.774e-06/10.93, allocations: 0 / 4.059 GB, free: 40.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.01122/10.95, allocations: 3.735 MB / 4.063 GB, free: 39.33 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/10.95, allocations: 402.3 kB / 4.063 GB, free: 38.86 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/10.95, allocations: 0.9243 MB / 4.064 GB, free: 38.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002363/10.95, allocations: 46.55 kB / 4.064 GB, free: 38.66 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/10.95, allocations: 0.5605 MB / 4.064 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000385/10.95, allocations: 300.8 kB / 4.065 GB, free: 38.24 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/10.95, allocations: 22.06 kB / 4.065 GB, free: 38.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001127/10.95, allocations: 364.8 kB / 4.065 GB, free: 37.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/10.95, allocations: 483.3 kB / 4.066 GB, free: 37.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/10.95, allocations: 0.928 MB / 4.066 GB, free: 37.37 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/10.95, allocations: 0.6352 MB / 4.067 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/10.95, allocations: 3.812 kB / 4.067 GB, free: 37.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004204/10.96, allocations: 1.676 MB / 4.069 GB, free: 37.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001075/10.96, allocations: 5.405 MB / 4.074 GB, free: 31.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/10.96, allocations: 16 kB / 4.074 GB, free: 31.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008221/10.97, allocations: 1.071 MB / 4.075 GB, free: 31.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/10.97, allocations: 250 kB / 4.075 GB, free: 31.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/10.97, allocations: 1.454 MB / 4.077 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/10.97, allocations: 129.2 kB / 4.077 GB, free: 31.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/10.97, allocations: 73.31 kB / 4.077 GB, free: 31.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/10.97, allocations: 3.344 kB / 4.077 GB, free: 31.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003895/10.98, allocations: 1.487 MB / 4.078 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-05/10.98, allocations: 16.81 kB / 4.078 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/10.98, allocations: 336.2 kB / 4.079 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/10.98, allocations: 283.9 kB / 4.079 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/10.98, allocations: 1.006 MB / 4.08 GB, free: 30.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/10.98, allocations: 131 kB / 4.08 GB, free: 30.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/10.98, allocations: 62.3 kB / 4.08 GB, free: 30.54 MB / 0.5573 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.0004794/10.98, allocations: 206.1 kB / 4.08 GB, free: 30.43 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/10.98, allocations: 122.8 kB / 4.08 GB, free: 30.37 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006174/10.99, allocations: 3.962 MB / 4.084 GB, free: 30 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.684e-05/10.99, allocations: 48.48 kB / 4.084 GB, free: 30 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/10.99, allocations: 3.953 kB / 4.084 GB, free: 30 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/10.99, allocations: 11.12 kB / 4.084 GB, free: 30 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008883/11, allocations: 5.475 MB / 4.09 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/11, allocations: 3.438 kB / 4.09 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/11, allocations: 180.8 kB / 4.09 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008651/11.01, allocations: 1.796 MB / 4.092 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/11.01, allocations: 27.42 kB / 4.092 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/11.01, allocations: 2.095 MB / 4.094 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.671e-06/11.01, allocations: 0 / 4.094 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005979/11.02, allocations: 3.811 MB / 4.097 GB, free: 27.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/11.02, allocations: 0.5351 MB / 4.098 GB, free: 27.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004002/11.02, allocations: 26.5 kB / 4.098 GB, free: 27.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/11.02, allocations: 95.89 kB / 4.098 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/11.02, allocations: 76.52 kB / 4.098 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/11.02, allocations: 39.61 kB / 4.098 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002003/11.02, allocations: 1.033 MB / 4.099 GB, free: 27.33 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.2e-07/11.02, allocations: 0 / 4.099 GB, free: 27.33 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008122/11.03, allocations: 2.065 MB / 4.101 GB, free: 27.25 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01076/11.04, allocations: 2.377 MB / 4.104 GB, free: 26.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005217/11.05, allocations: 2.22 MB / 4.106 GB, free: 26.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.499e-06/11.05, allocations: 2.188 kB / 4.106 GB, free: 26.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/11.05, allocations: 0.9755 MB / 4.107 GB, free: 26.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/11.05, allocations: 0.639 MB / 4.107 GB, free: 26.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/11.06, allocations: 2.898 MB / 4.11 GB, free: 26.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/11.06, allocations: 1.475 MB / 4.112 GB, free: 25.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/11.06, allocations: 113.7 kB / 4.112 GB, free: 25.32 MB / 0.5573 GB Notification: Performance of SimCode: time 1.871e-06/11.06, allocations: 0 / 4.112 GB, free: 25.32 MB / 0.5573 GB Notification: Performance of Templates: time 0.09022/11.15, allocations: 58.98 MB / 4.169 GB, free: 20.46 MB / 0.5573 GB