Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeLumpedPressureInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.993/1.993, allocations: 195.5 MB / 207.6 MB, free: 2.777 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.26e-05/4.288e-05, allocations: 6.953 kB / 255.2 MB, free: 2.004 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 44.66 MB / 299.9 MB, free: 5.281 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.85/7.973, allocations: 2.655 GB / 2.948 GB, free: 51.58 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/7.973, allocations: 85.52 kB / 2.948 GB, free: 51.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.548/10.52, allocations: 494 MB / 3.43 GB, free: 36.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.824e-06/10.52, allocations: 0 / 3.43 GB, free: 36.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001297/10.52, allocations: 39.48 kB / 3.43 GB, free: 36.11 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.01334/10.53, allocations: 2.885 MB / 3.433 GB, free: 34.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/10.53, allocations: 6.656 kB / 3.433 GB, free: 34.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006087/10.54, allocations: 213 kB / 3.433 GB, free: 34.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005965/10.54, allocations: 0.5799 MB / 3.434 GB, free: 34.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005961/10.55, allocations: 1.473 MB / 3.435 GB, free: 33.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/10.55, allocations: 137.2 kB / 3.436 GB, free: 33.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007355/10.55, allocations: 152.7 kB / 3.436 GB, free: 33.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00796/10.56, allocations: 2.684 MB / 3.438 GB, free: 32.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.631e-05/10.56, allocations: 10.12 kB / 3.438 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003072/10.56, allocations: 61.11 kB / 3.438 GB, free: 32.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/10.56, allocations: 106.3 kB / 3.438 GB, free: 32.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008388/10.57, allocations: 2.521 MB / 3.441 GB, free: 31.78 MB / 426.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.02022/10.59, allocations: 10.93 MB / 3.452 GB, free: 21.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005889/10.59, allocations: 1.768 MB / 3.453 GB, free: 20.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/10.59, allocations: 0.8456 MB / 3.454 GB, free: 19.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5369/11.13, allocations: 62 MB / 3.515 GB, free: 18.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005157/11.14, allocations: 1.392 MB / 3.516 GB, free: 18.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=127): time 5.6e-06/11.14, allocations: 0 / 3.516 GB, free: 18.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=151): time 0.02416/11.16, allocations: 6.983 MB / 3.523 GB, free: 32.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001857/11.16, allocations: 279.5 kB / 3.523 GB, free: 32.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/11.16, allocations: 0.8822 MB / 3.524 GB, free: 32.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004383/11.16, allocations: 60.48 kB / 3.524 GB, free: 32.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006661/11.16, allocations: 0.6694 MB / 3.525 GB, free: 32.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007318/11.16, allocations: 0.5181 MB / 3.525 GB, free: 31.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/11.16, allocations: 35.91 kB / 3.525 GB, free: 31.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002168/11.16, allocations: 376.9 kB / 3.526 GB, free: 31.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/11.17, allocations: 0.8863 MB / 3.526 GB, free: 31.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/11.17, allocations: 1.378 MB / 3.528 GB, free: 31.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.116/18.28, allocations: 0.5687 GB / 4.097 GB, free: 19.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/18.28, allocations: 4 kB / 4.097 GB, free: 19.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.007846/18.29, allocations: 3.101 MB / 4.1 GB, free: 17.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001167/18.29, allocations: 5.653 MB / 4.105 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-05/18.29, allocations: 16 kB / 4.105 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01859/18.31, allocations: 2.395 MB / 4.107 GB, free: 9.617 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/18.31, allocations: 281.8 kB / 4.108 GB, free: 9.375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006531/18.32, allocations: 3.02 MB / 4.111 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/18.32, allocations: 211.8 kB / 4.111 GB, free: 7.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003938/18.33, allocations: 93.84 kB / 4.111 GB, free: 6.957 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/18.33, allocations: 4 kB / 4.111 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3276/18.65, allocations: 2.923 MB / 4.114 GB, free: 72.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.417e-05/18.65, allocations: 14.94 kB / 4.114 GB, free: 72.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01234/18.67, allocations: 1.84 MB / 4.116 GB, free: 72.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/18.67, allocations: 299.3 kB / 4.116 GB, free: 72.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006437/18.67, allocations: 2.754 MB / 4.119 GB, free: 71.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/18.68, allocations: 215.8 kB / 4.119 GB, free: 71.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003669/18.68, allocations: 84.64 kB / 4.119 GB, free: 71.68 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 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe.mediums[2].p = 0.0 $DER.pipe.mediums[3].p = 0.0 $DER.pipe.mediums[4].p = 0.0 $DER.pipe.mediums[1].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.mediums[1].phase,pipe.mediums[2].phase,pipe.mediums[4].phase,pipe.mediums[5].phase,pipe.statesFM[2].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * 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 {6 79} Notification: Performance of prepare postOptimizeDAE: time 0.0007199/18.68, allocations: 235.7 kB / 4.119 GB, free: 71.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/18.68, allocations: 141.5 kB / 4.119 GB, free: 71.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/18.69, allocations: 5.729 MB / 4.125 GB, free: 71.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.232e-05/18.69, allocations: 56.41 kB / 4.125 GB, free: 71.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/18.69, allocations: 1.156 kB / 4.125 GB, free: 71.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007895/18.7, allocations: 4.645 MB / 4.129 GB, free: 70.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/18.72, allocations: 7.987 MB / 4.137 GB, free: 69.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/18.72, allocations: 6.969 kB / 4.137 GB, free: 69.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/18.72, allocations: 253.9 kB / 4.138 GB, free: 69.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007116/18.72, allocations: 1.236 MB / 4.139 GB, free: 69.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003969/18.73, allocations: 50.09 kB / 4.139 GB, free: 69.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003844/18.73, allocations: 2.181 MB / 4.141 GB, free: 69.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/18.73, allocations: 6.375 kB / 4.141 GB, free: 69.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/18.74, allocations: 5.412 MB / 4.146 GB, free: 68.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/18.74, allocations: 0.6141 MB / 4.147 GB, free: 68.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006304/18.74, allocations: 48.86 kB / 4.147 GB, free: 68.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/18.75, allocations: 172.9 kB / 4.147 GB, free: 68.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004996/18.75, allocations: 158.7 kB / 4.147 GB, free: 68.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/18.75, allocations: 56.09 kB / 4.147 GB, free: 68.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002024/18.75, allocations: 0.9418 MB / 4.148 GB, free: 68.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/18.75, allocations: 0 / 4.148 GB, free: 68.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01103/18.76, allocations: 2.128 MB / 4.15 GB, free: 68.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (pipe.mediums[1].h,pipe.mediums[2].h,pipe.mediums[3].h,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 31 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.mediums[1].phase,pipe.mediums[2].phase,pipe.mediums[4].phase,pipe.mediums[5].phase,pipe.statesFM[2].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 (124): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 1 * 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 {10 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.02326/18.78, allocations: 8.45 MB / 4.158 GB, free: 66.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01064/18.79, allocations: 4.014 MB / 4.162 GB, free: 66.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/18.79, allocations: 0 / 4.162 GB, free: 66.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00443/18.8, allocations: 1.817 MB / 4.164 GB, free: 66.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006191/18.8, allocations: 0.673 MB / 4.165 GB, free: 66.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2015/19.01, allocations: 59.53 MB / 4.223 GB, free: 57.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/19.01, allocations: 1.746 MB / 4.225 GB, free: 56.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004767/19.01, allocations: 1.398 MB / 4.226 GB, free: 55.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/19.01, allocations: 0.8224 MB / 4.227 GB, free: 54.87 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/19.01, allocations: 4 kB / 4.227 GB, free: 54.87 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6427/19.66, allocations: 97.06 MB / 4.322 GB, free: 67.42 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/19.66, allocations: 295.8 kB / 4.322 GB, free: 67.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/26.33, allocations: 0 / 4.322 GB, free: 67.09 MB / 458.7 MB