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.944/1.944, allocations: 195.4 MB / 209.5 MB, free: 7.383 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.35e-05, allocations: 4 kB / 257.9 MB, free: 6.805 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3137, allocations: 44.66 MB / 302.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.12/8.434, allocations: 2.655 GB / 2.951 GB, free: 70.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/8.434, allocations: 78.84 kB / 2.951 GB, free: 70.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.648/11.08, allocations: 495.3 MB / 3.434 GB, free: 26.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.655e-06/11.08, allocations: 3.406 kB / 3.434 GB, free: 26.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001527/11.08, allocations: 31.06 kB / 3.434 GB, free: 26.13 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.0146/11.1, allocations: 2.894 MB / 3.437 GB, free: 24.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/11.1, allocations: 10.44 kB / 3.437 GB, free: 24.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009767/11.1, allocations: 217.8 kB / 3.437 GB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006819/11.11, allocations: 0.5792 MB / 3.438 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006239/11.11, allocations: 1.477 MB / 3.439 GB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/11.11, allocations: 133.1 kB / 3.44 GB, free: 23.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008581/11.11, allocations: 145.1 kB / 3.44 GB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009731/11.12, allocations: 2.738 MB / 3.442 GB, free: 22.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.588e-05/11.12, allocations: 11.77 kB / 3.442 GB, free: 22.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003282/11.12, allocations: 60.25 kB / 3.442 GB, free: 22.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/11.12, allocations: 108.7 kB / 3.443 GB, free: 22.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/11.13, allocations: 2.692 MB / 3.445 GB, free: 21.84 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02178/11.16, allocations: 10.92 MB / 3.456 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007355/11.16, allocations: 1.817 MB / 3.458 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5651/11.73, allocations: 61.68 MB / 3.518 GB, free: 52.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006066/11.73, allocations: 1.425 MB / 3.519 GB, free: 52.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=127): time 5.61e-06/11.73, allocations: 7.328 kB / 3.519 GB, free: 52.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=151): time 0.03545/11.77, allocations: 8.344 MB / 3.527 GB, free: 51.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/11.77, allocations: 279.7 kB / 3.528 GB, free: 51.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/11.77, allocations: 0.8932 MB / 3.528 GB, free: 50.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004846/11.77, allocations: 54.98 kB / 3.529 GB, free: 50.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006656/11.77, allocations: 0.6658 MB / 3.529 GB, free: 50.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008074/11.77, allocations: 0.5199 MB / 3.53 GB, free: 50.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/11.77, allocations: 38.12 kB / 3.53 GB, free: 50.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/11.77, allocations: 375.4 kB / 3.53 GB, free: 50.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/11.78, allocations: 1.015 MB / 3.531 GB, free: 50.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/11.78, allocations: 1.498 MB / 3.533 GB, free: 49.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.263/19.04, allocations: 0.569 GB / 4.102 GB, free: 38.58 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/19.04, allocations: 8 kB / 4.102 GB, free: 38.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01019/19.05, allocations: 3.424 MB / 4.105 GB, free: 36.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001217/19.06, allocations: 5.667 MB / 4.11 GB, free: 30.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.726e-05/19.06, allocations: 12 kB / 4.11 GB, free: 30.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01996/19.08, allocations: 2.543 MB / 4.113 GB, free: 28.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/19.08, allocations: 279.4 kB / 4.113 GB, free: 27.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008183/19.09, allocations: 3.264 MB / 4.116 GB, free: 25.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/19.09, allocations: 213.5 kB / 4.117 GB, free: 25.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/19.09, allocations: 87.52 kB / 4.117 GB, free: 25.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/19.09, allocations: 4 kB / 4.117 GB, free: 25.16 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01017/19.1, allocations: 3.253 MB / 4.12 GB, free: 22.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.28e-05/19.1, allocations: 12 kB / 4.12 GB, free: 22.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01302/19.11, allocations: 1.988 MB / 4.122 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/19.11, allocations: 297.6 kB / 4.122 GB, free: 20.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007348/19.12, allocations: 2.987 MB / 4.125 GB, free: 18.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/19.13, allocations: 209.8 kB / 4.125 GB, free: 18.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/19.13, allocations: 92.53 kB / 4.125 GB, free: 18.52 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) 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.001517/19.13, allocations: 0.5211 MB / 4.126 GB, free: 18.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/19.13, allocations: 137.8 kB / 4.126 GB, free: 18.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/19.14, allocations: 5.835 MB / 4.132 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.769e-05/19.14, allocations: 52.56 kB / 4.132 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/19.14, allocations: 4 kB / 4.132 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3455/19.49, allocations: 4.723 MB / 4.136 GB, free: 73.78 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/19.5, allocations: 8.182 MB / 4.144 GB, free: 73.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/19.5, allocations: 0 / 4.144 GB, free: 73.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/19.5, allocations: 257.9 kB / 4.145 GB, free: 73.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006892/19.51, allocations: 1.221 MB / 4.146 GB, free: 73.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/19.51, allocations: 56.61 kB / 4.146 GB, free: 73.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003618/19.51, allocations: 2.192 MB / 4.148 GB, free: 72.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/19.51, allocations: 6.75 kB / 4.148 GB, free: 72.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/19.53, allocations: 5.786 MB / 4.154 GB, free: 72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/19.53, allocations: 0.6121 MB / 4.154 GB, free: 71.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000394/19.53, allocations: 47.31 kB / 4.154 GB, free: 71.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/19.53, allocations: 173.8 kB / 4.154 GB, free: 71.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004334/19.53, allocations: 162.2 kB / 4.155 GB, free: 71.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/19.53, allocations: 51.84 kB / 4.155 GB, free: 71.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001761/19.53, allocations: 0.9636 MB / 4.156 GB, free: 71.67 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.41e-07/19.53, allocations: 0 / 4.156 GB, free: 71.67 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009781/19.54, allocations: 2.127 MB / 4.158 GB, free: 71.67 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.02398/19.57, allocations: 8.823 MB / 4.166 GB, free: 69.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01241/19.58, allocations: 4.384 MB / 4.17 GB, free: 69.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/19.58, allocations: 0 / 4.17 GB, free: 69.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004763/19.58, allocations: 1.944 MB / 4.172 GB, free: 69.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005982/19.59, allocations: 0.6748 MB / 4.173 GB, free: 69.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2036/19.79, allocations: 72.12 MB / 4.243 GB, free: 54.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/19.8, allocations: 1.747 MB / 4.245 GB, free: 53.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004611/19.8, allocations: 1.405 MB / 4.247 GB, free: 53.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/19.8, allocations: 0.8172 MB / 4.247 GB, free: 53.11 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/19.8, allocations: 0 / 4.247 GB, free: 53.11 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5519/20.35, allocations: 93.72 MB / 4.339 GB, free: 67.25 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/20.35, allocations: 329.4 kB / 4.339 GB, free: 66.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/27.14, allocations: 0 / 4.339 GB, free: 66.89 MB / 458.7 MB