Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeInitialValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.934/1.934, allocations: 195.5 MB / 207.6 MB, free: 2.863 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.577e-05, allocations: 4 kB / 255.2 MB, free: 2.02 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.09687, allocations: 44.66 MB / 299.9 MB, free: 5.297 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.01/8.107, allocations: 2.655 GB / 2.948 GB, free: 50.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/8.108, allocations: 79.34 kB / 2.948 GB, free: 50.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.571/10.68, allocations: 497.7 MB / 3.434 GB, free: 19.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/10.68, allocations: 4 kB / 3.434 GB, free: 19.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001577/10.68, allocations: 42.78 kB / 3.434 GB, free: 19.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.01416/10.69, allocations: 2.892 MB / 3.437 GB, free: 18.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/10.69, allocations: 11.44 kB / 3.437 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/10.69, allocations: 265.7 kB / 3.437 GB, free: 17.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007103/10.7, allocations: 0.6707 MB / 3.438 GB, free: 17.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006026/10.71, allocations: 1.503 MB / 3.439 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/10.71, allocations: 164.3 kB / 3.439 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006543/10.71, allocations: 160.2 kB / 3.439 GB, free: 16.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/10.72, allocations: 3.299 MB / 3.443 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.97e-05/10.72, allocations: 11.84 kB / 3.443 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006044/10.72, allocations: 70.5 kB / 3.443 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003113/10.72, allocations: 161.8 kB / 3.443 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/10.73, allocations: 3.106 MB / 3.446 GB, free: 12.23 MB / 410.7 MB 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.02803/10.76, allocations: 13.36 MB / 3.459 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007701/10.77, allocations: 2.055 MB / 3.461 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/10.77, allocations: 0.9901 MB / 3.462 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5307/11.3, allocations: 62.01 MB / 3.523 GB, free: 30.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005839/11.31, allocations: 1.597 MB / 3.524 GB, free: 30.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=143): time 6.142e-06/11.31, allocations: 0 / 3.524 GB, free: 30.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=163): time 0.03593/11.34, allocations: 9.177 MB / 3.533 GB, free: 28.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/11.34, allocations: 332.9 kB / 3.533 GB, free: 27.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/11.35, allocations: 1.094 MB / 3.534 GB, free: 27.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005026/11.35, allocations: 60.92 kB / 3.535 GB, free: 27.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007683/11.35, allocations: 0.7943 MB / 3.535 GB, free: 27.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008447/11.35, allocations: 0.5642 MB / 3.536 GB, free: 27.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/11.35, allocations: 41.84 kB / 3.536 GB, free: 27.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002384/11.35, allocations: 388.9 kB / 3.536 GB, free: 26.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/11.35, allocations: 1.058 MB / 3.537 GB, free: 26.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003189/11.35, allocations: 1.614 MB / 3.539 GB, free: 26.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.324/20.68, allocations: 0.7375 GB / 4.276 GB, free: 70.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.325e-05/20.68, allocations: 7.125 kB / 4.276 GB, free: 70.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01002/20.69, allocations: 3.196 MB / 4.279 GB, free: 70.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001532/20.69, allocations: 6.539 MB / 4.286 GB, free: 63.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-05/20.69, allocations: 16.75 kB / 4.286 GB, free: 63.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/20.69, allocations: 446 kB / 4.286 GB, free: 63.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004503/20.7, allocations: 0.5123 MB / 4.287 GB, free: 63.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/20.7, allocations: 3.309 MB / 4.29 GB, free: 61.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/20.7, allocations: 252.8 kB / 4.29 GB, free: 61.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004193/20.7, allocations: 105.2 kB / 4.29 GB, free: 61.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/20.7, allocations: 4.219 kB / 4.29 GB, free: 61.34 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008795/20.71, allocations: 2.919 MB / 4.293 GB, free: 61.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-05/20.71, allocations: 16.94 kB / 4.293 GB, free: 61.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/20.72, allocations: 446.9 kB / 4.294 GB, free: 61.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004232/20.72, allocations: 0.5047 MB / 4.294 GB, free: 61.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/20.72, allocations: 3.312 MB / 4.297 GB, free: 58.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003802/20.73, allocations: 247.7 kB / 4.298 GB, free: 58.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003916/20.73, allocations: 104 kB / 4.298 GB, free: 58.62 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: pipe.mediums[1].p = 10000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 16 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,pipe.state_a.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 239 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008809/20.73, allocations: 240.7 kB / 4.298 GB, free: 58.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000491/20.73, allocations: 153.3 kB / 4.298 GB, free: 58.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/20.74, allocations: 6.532 MB / 4.304 GB, free: 58.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.467e-05/20.74, allocations: 70.72 kB / 4.305 GB, free: 58.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/20.74, allocations: 7.828 kB / 4.305 GB, free: 58.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008871/20.75, allocations: 5.131 MB / 4.31 GB, free: 57.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/20.77, allocations: 8.989 MB / 4.318 GB, free: 56.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/20.77, allocations: 3.969 kB / 4.318 GB, free: 56.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003326/20.77, allocations: 407.1 kB / 4.319 GB, free: 56.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/20.78, allocations: 0.5338 MB / 4.319 GB, free: 56.72 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005224/20.78, allocations: 65.31 kB / 4.319 GB, free: 56.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/20.78, allocations: 3.391 MB / 4.323 GB, free: 54.12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/20.78, allocations: 10.16 kB / 4.323 GB, free: 54.12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/20.79, allocations: 6.428 MB / 4.329 GB, free: 53.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/20.79, allocations: 0.7622 MB / 4.33 GB, free: 53.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005936/20.79, allocations: 47.39 kB / 4.33 GB, free: 53.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/20.8, allocations: 200.7 kB / 4.33 GB, free: 53.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005262/20.8, allocations: 176.7 kB / 4.33 GB, free: 53.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000207/20.8, allocations: 61.89 kB / 4.33 GB, free: 53.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002397/20.8, allocations: 1.174 MB / 4.331 GB, free: 53.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.31e-07/20.8, allocations: 1.641 kB / 4.331 GB, free: 53.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01164/20.81, allocations: 2.288 MB / 4.333 GB, free: 53.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 36 ($cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition1,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].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 (180): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0262/20.84, allocations: 9.354 MB / 4.343 GB, free: 51.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01309/20.85, allocations: 4.753 MB / 4.347 GB, free: 51.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/20.85, allocations: 2.969 kB / 4.347 GB, free: 51.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005314/20.86, allocations: 2.158 MB / 4.349 GB, free: 50.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006632/20.86, allocations: 0.725 MB / 4.35 GB, free: 50.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6371/21.5, allocations: 90.71 MB / 4.439 GB, free: 69.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/21.5, allocations: 2.011 MB / 4.441 GB, free: 68.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0103/21.51, allocations: 2.409 MB / 4.443 GB, free: 68.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002835/21.52, allocations: 1.047 MB / 4.444 GB, free: 68.68 MB / 458.7 MB Notification: Performance of SimCode: time 2.064e-06/21.52, allocations: 0.7812 kB / 4.444 GB, free: 68.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2233/21.74, allocations: 97.78 MB / 4.54 GB, free: 56.98 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/21.74, allocations: 276.6 kB / 4.54 GB, free: 56.65 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.954/28.7, allocations: 3.906 kB / 4.54 GB, free: 56.64 MB / 458.7 MB