Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_LumpedPipeInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.611/2.611, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.957e-05, allocations: 8 kB / 347.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4313, allocations: 61.87 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.61/9.042, allocations: 2.827 GB / 3.226 GB, free: 76.81 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/9.042, allocations: 84.7 kB / 3.226 GB, free: 76.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.344/13.39, allocations: 0.752 GB / 3.978 GB, free: 45.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.344e-06/13.39, allocations: 0 / 3.978 GB, free: 45.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001707/13.39, allocations: 32.34 kB / 3.978 GB, free: 45.73 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.01325/13.4, allocations: 2.762 MB / 3.981 GB, free: 44.49 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/13.4, allocations: 11.56 kB / 3.981 GB, free: 44.49 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007431/13.4, allocations: 157.4 kB / 3.981 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/13.41, allocations: 480.8 kB / 3.981 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004195/13.41, allocations: 1.115 MB / 3.982 GB, free: 44.06 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/13.41, allocations: 152.4 kB / 3.983 GB, free: 44 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004695/13.41, allocations: 99.42 kB / 3.983 GB, free: 44 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005951/13.42, allocations: 1.869 MB / 3.984 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.221e-05/13.42, allocations: 11 kB / 3.984 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002516/13.42, allocations: 46.86 kB / 3.984 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/13.42, allocations: 77.62 kB / 3.985 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005942/13.42, allocations: 1.699 MB / 3.986 GB, free: 43.64 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.01861/13.44, allocations: 8.533 MB / 3.995 GB, free: 38.75 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/13.45, allocations: 1.369 MB / 3.996 GB, free: 38.44 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/13.45, allocations: 462.9 kB / 3.996 GB, free: 38.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2529/13.7, allocations: 63.51 MB / 4.058 GB, free: 30.94 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003037/13.7, allocations: 0.8947 MB / 4.059 GB, free: 30.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=82): time 4.057e-06/13.7, allocations: 0 / 4.059 GB, free: 30.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=86): time 0.01246/13.72, allocations: 3.74 MB / 4.063 GB, free: 29.69 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002374/13.72, allocations: 399.7 kB / 4.063 GB, free: 29.22 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/13.72, allocations: 0.9295 MB / 4.064 GB, free: 29.05 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003128/13.72, allocations: 46.3 kB / 4.064 GB, free: 29.02 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005247/13.72, allocations: 0.5571 MB / 4.065 GB, free: 28.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004407/13.72, allocations: 309.2 kB / 4.065 GB, free: 28.51 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/13.72, allocations: 22.59 kB / 4.065 GB, free: 28.51 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001947/13.72, allocations: 364.7 kB / 4.065 GB, free: 28.19 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/13.72, allocations: 479 kB / 4.066 GB, free: 28.19 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/13.72, allocations: 0.9376 MB / 4.067 GB, free: 27.61 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/13.72, allocations: 0.6299 MB / 4.067 GB, free: 27.58 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/13.72, allocations: 3.781 kB / 4.067 GB, free: 27.58 MB / 0.573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004694/13.73, allocations: 1.663 MB / 4.069 GB, free: 27.48 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002172/13.73, allocations: 5.404 MB / 4.074 GB, free: 21.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-05/13.73, allocations: 14.12 kB / 4.074 GB, free: 21.82 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/13.74, allocations: 1.076 MB / 4.075 GB, free: 21.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/13.74, allocations: 251.7 kB / 4.076 GB, free: 21.78 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/13.75, allocations: 1.448 MB / 4.077 GB, free: 21.24 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/13.75, allocations: 128.9 kB / 4.077 GB, free: 21.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/13.75, allocations: 77.47 kB / 4.077 GB, free: 21.22 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/13.75, allocations: 6.844 kB / 4.077 GB, free: 21.22 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004481/13.75, allocations: 1.48 MB / 4.079 GB, free: 21.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.875e-05/13.75, allocations: 16.09 kB / 4.079 GB, free: 21.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/13.76, allocations: 340.7 kB / 4.079 GB, free: 21.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/13.76, allocations: 278.5 kB / 4.079 GB, free: 21.16 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/13.76, allocations: 1.015 MB / 4.08 GB, free: 20.63 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/13.76, allocations: 113.4 kB / 4.08 GB, free: 20.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/13.76, allocations: 81.3 kB / 4.08 GB, free: 20.62 MB / 0.573 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.0005823/13.76, allocations: 195.9 kB / 4.081 GB, free: 20.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/13.76, allocations: 126.8 kB / 4.081 GB, free: 20.43 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006964/13.77, allocations: 3.968 MB / 4.085 GB, free: 19.99 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.439e-05/13.77, allocations: 40.23 kB / 4.085 GB, free: 19.99 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/13.77, allocations: 3.531 kB / 4.085 GB, free: 19.99 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/13.77, allocations: 6.656 kB / 4.085 GB, free: 19.99 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009943/13.78, allocations: 5.489 MB / 4.09 GB, free: 19.35 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/13.78, allocations: 4.906 kB / 4.09 GB, free: 19.35 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/13.78, allocations: 166.2 kB / 4.09 GB, free: 19.35 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01121/13.79, allocations: 1.802 MB / 4.092 GB, free: 19.26 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/13.79, allocations: 22.88 kB / 4.092 GB, free: 19.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002417/13.8, allocations: 2.086 MB / 4.094 GB, free: 18.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/13.8, allocations: 14 kB / 4.094 GB, free: 18.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006455/13.8, allocations: 3.813 MB / 4.098 GB, free: 15.86 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/13.8, allocations: 0.5331 MB / 4.098 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/13.8, allocations: 28.06 kB / 4.098 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/13.81, allocations: 90 kB / 4.098 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/13.81, allocations: 74.73 kB / 4.098 GB, free: 15.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/13.81, allocations: 43.03 kB / 4.099 GB, free: 15.22 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002229/13.81, allocations: 1.037 MB / 4.1 GB, free: 14.26 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.61e-07/13.81, allocations: 4 kB / 4.1 GB, free: 14.25 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009786/13.82, allocations: 2.059 MB / 4.102 GB, free: 12.24 MB / 0.573 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.02196/13.84, allocations: 6.628 MB / 4.108 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006323/13.85, allocations: 2.211 MB / 4.11 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/13.85, allocations: 8.062 kB / 4.11 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/13.85, allocations: 0.9766 MB / 4.111 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005854/13.85, allocations: 0.628 MB / 4.112 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/13.87, allocations: 3.839 MB / 4.116 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/13.87, allocations: 1.469 MB / 4.117 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/13.87, allocations: 0.7228 MB / 4.118 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of SimCode: time 1.162e-06/13.87, allocations: 0 / 4.118 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.319/19.19, allocations: 67.06 MB / 4.183 GB, free: 78.86 MB / 0.5886 GB