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.906/1.906, allocations: 195.5 MB / 207.6 MB, free: 2.848 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.089e-05/4.1e-05, allocations: 7.938 kB / 255.3 MB, free: 2.004 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 44.66 MB / 299.9 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.875/7.978, allocations: 2.655 GB / 2.948 GB, free: 51.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/7.978, allocations: 73.59 kB / 2.948 GB, free: 51.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.682/10.66, allocations: 497.7 MB / 3.434 GB, free: 19.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/10.66, allocations: 0 / 3.434 GB, free: 19.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001751/10.66, allocations: 45.53 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.01881/10.68, allocations: 2.899 MB / 3.437 GB, free: 18.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/10.68, allocations: 10 kB / 3.437 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001572/10.68, allocations: 261.4 kB / 3.437 GB, free: 17.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/10.69, allocations: 0.6687 MB / 3.438 GB, free: 17.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006087/10.7, allocations: 1.511 MB / 3.439 GB, free: 17.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/10.7, allocations: 155 kB / 3.439 GB, free: 16.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009181/10.7, allocations: 162.8 kB / 3.44 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/10.71, allocations: 3.288 MB / 3.443 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/10.71, allocations: 15.84 kB / 3.443 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000697/10.71, allocations: 71.28 kB / 3.443 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003287/10.71, allocations: 150.2 kB / 3.443 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01463/10.73, allocations: 3.069 MB / 3.446 GB, free: 12.66 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.03502/10.76, allocations: 13.35 MB / 3.459 GB, free: 16.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009949/10.77, allocations: 2.044 MB / 3.461 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00382/10.78, allocations: 0.9898 MB / 3.462 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5788/11.36, allocations: 62.02 MB / 3.523 GB, free: 31.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005547/11.36, allocations: 1.592 MB / 3.524 GB, free: 30.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=143): time 5.25e-06/11.36, allocations: 0 / 3.524 GB, free: 30.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=163): time 0.0367/11.4, allocations: 9.175 MB / 3.533 GB, free: 29.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/11.4, allocations: 337.8 kB / 3.533 GB, free: 28.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/11.4, allocations: 1.093 MB / 3.534 GB, free: 28.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006245/11.4, allocations: 55.83 kB / 3.534 GB, free: 28.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008305/11.4, allocations: 0.7924 MB / 3.535 GB, free: 28.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008848/11.4, allocations: 0.566 MB / 3.536 GB, free: 28.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/11.4, allocations: 37.84 kB / 3.536 GB, free: 28.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/11.4, allocations: 389.5 kB / 3.536 GB, free: 27.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/11.41, allocations: 1.052 MB / 3.537 GB, free: 27.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/11.41, allocations: 1.606 MB / 3.539 GB, free: 27.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.137/20.55, allocations: 0.7374 GB / 4.276 GB, free: 70.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.58e-05/20.55, allocations: 8.156 kB / 4.276 GB, free: 70.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01027/20.56, allocations: 3.15 MB / 4.279 GB, free: 70.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00168/20.56, allocations: 6.536 MB / 4.286 GB, free: 64.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.528e-05/20.56, allocations: 17.81 kB / 4.286 GB, free: 64.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002508/20.56, allocations: 448.2 kB / 4.286 GB, free: 64.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004487/20.57, allocations: 0.5101 MB / 4.287 GB, free: 64.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/20.57, allocations: 3.305 MB / 4.29 GB, free: 61.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/20.57, allocations: 257.6 kB / 4.29 GB, free: 61.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004447/20.57, allocations: 104.8 kB / 4.29 GB, free: 61.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/20.57, allocations: 4 kB / 4.29 GB, free: 61.45 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007844/20.58, allocations: 2.883 MB / 4.293 GB, free: 61.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.486e-05/20.58, allocations: 17.66 kB / 4.293 GB, free: 61.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/20.58, allocations: 441.1 kB / 4.293 GB, free: 61.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004379/20.59, allocations: 0.5057 MB / 4.294 GB, free: 61.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/20.59, allocations: 3.308 MB / 4.297 GB, free: 58.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/20.6, allocations: 249.3 kB / 4.297 GB, free: 58.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007204/20.6, allocations: 98.3 kB / 4.298 GB, free: 58.74 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.0009518/20.6, allocations: 237.5 kB / 4.298 GB, free: 58.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000579/20.6, allocations: 153.8 kB / 4.298 GB, free: 58.63 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/20.61, allocations: 6.533 MB / 4.304 GB, free: 58.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000101/20.61, allocations: 75.02 kB / 4.304 GB, free: 58.19 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/20.61, allocations: 0 / 4.304 GB, free: 58.19 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009939/20.62, allocations: 5.131 MB / 4.309 GB, free: 57.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02054/20.64, allocations: 8.986 MB / 4.318 GB, free: 56.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/20.64, allocations: 2.672 kB / 4.318 GB, free: 56.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/20.65, allocations: 396.1 kB / 4.319 GB, free: 56.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003009/20.65, allocations: 0.5379 MB / 4.319 GB, free: 56.85 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005591/20.65, allocations: 60.94 kB / 4.319 GB, free: 56.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/20.65, allocations: 3.397 MB / 4.322 GB, free: 54.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/20.65, allocations: 3.344 kB / 4.322 GB, free: 54.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/20.67, allocations: 6.422 MB / 4.329 GB, free: 53.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/20.67, allocations: 0.7695 MB / 4.329 GB, free: 53.35 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000759/20.67, allocations: 54.8 kB / 4.33 GB, free: 53.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003305/20.67, allocations: 199.9 kB / 4.33 GB, free: 53.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007835/20.67, allocations: 167.3 kB / 4.33 GB, free: 53.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/20.67, allocations: 62.98 kB / 4.33 GB, free: 53.33 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002623/20.68, allocations: 1.175 MB / 4.331 GB, free: 53.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.41e-07/20.68, allocations: 0 / 4.331 GB, free: 53.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01244/20.69, allocations: 2.302 MB / 4.333 GB, free: 53.16 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.02655/20.72, allocations: 9.352 MB / 4.342 GB, free: 51.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01333/20.73, allocations: 4.686 MB / 4.347 GB, free: 51.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/20.73, allocations: 3.531 kB / 4.347 GB, free: 51.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005667/20.74, allocations: 2.146 MB / 4.349 GB, free: 50.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006968/20.74, allocations: 0.7203 MB / 4.35 GB, free: 50.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7033/21.45, allocations: 90.7 MB / 4.438 GB, free: 69.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003796/21.45, allocations: 2.004 MB / 4.44 GB, free: 68.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009488/21.46, allocations: 2.409 MB / 4.443 GB, free: 68.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002563/21.46, allocations: 1.05 MB / 4.444 GB, free: 68.77 MB / 458.7 MB Notification: Performance of SimCode: time 2.164e-06/21.46, allocations: 0 / 4.444 GB, free: 68.77 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2532/21.72, allocations: 97.77 MB / 4.539 GB, free: 57.22 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/21.72, allocations: 267.2 kB / 4.539 GB, free: 56.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/28.52, allocations: 0 / 4.539 GB, free: 56.89 MB / 458.7 MB