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.886/1.886, allocations: 195.4 MB / 209.5 MB, free: 7.578 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.417e-05, allocations: 4 kB / 257.9 MB, free: 7.004 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3009, allocations: 44.67 MB / 302.6 MB, free: 12.48 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.908/8.209, allocations: 2.655 GB / 2.951 GB, free: 69.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/8.209, allocations: 79.64 kB / 2.951 GB, free: 69.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.562/10.77, allocations: 499 MB / 3.438 GB, free: 24.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/10.77, allocations: 0 / 3.438 GB, free: 24.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000153/10.77, allocations: 41.27 kB / 3.438 GB, free: 24.58 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.01384/10.79, allocations: 2.904 MB / 3.441 GB, free: 23.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/10.79, allocations: 9.562 kB / 3.441 GB, free: 23.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009949/10.79, allocations: 262.3 kB / 3.441 GB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007347/10.79, allocations: 0.667 MB / 3.442 GB, free: 22.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006341/10.8, allocations: 1.52 MB / 3.443 GB, free: 22.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002717/10.8, allocations: 163.3 kB / 3.443 GB, free: 22.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008863/10.8, allocations: 168.8 kB / 3.443 GB, free: 22.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/10.81, allocations: 3.352 MB / 3.447 GB, free: 20.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-05/10.81, allocations: 13.72 kB / 3.447 GB, free: 20.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004014/10.81, allocations: 72.66 kB / 3.447 GB, free: 20.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002461/10.81, allocations: 156.7 kB / 3.447 GB, free: 20.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/10.83, allocations: 3.28 MB / 3.45 GB, free: 19.6 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.02546/10.85, allocations: 13.35 MB / 3.463 GB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008394/10.86, allocations: 2.18 MB / 3.465 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5702/11.43, allocations: 62.06 MB / 3.526 GB, free: 21.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006387/11.44, allocations: 1.628 MB / 3.528 GB, free: 21.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=143): time 6.032e-06/11.44, allocations: 0 / 3.528 GB, free: 21.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=163): time 0.04224/11.48, allocations: 10.39 MB / 3.538 GB, free: 19.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/11.48, allocations: 337.6 kB / 3.538 GB, free: 19.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/11.48, allocations: 1.11 MB / 3.539 GB, free: 19.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005131/11.48, allocations: 58.58 kB / 3.539 GB, free: 19.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007442/11.48, allocations: 0.7978 MB / 3.54 GB, free: 18.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007735/11.48, allocations: 0.5623 MB / 3.54 GB, free: 18.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/11.48, allocations: 39.5 kB / 3.54 GB, free: 18.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/11.48, allocations: 386 kB / 3.541 GB, free: 18.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003512/11.49, allocations: 1.185 MB / 3.542 GB, free: 18.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003936/11.49, allocations: 1.741 MB / 3.544 GB, free: 17.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.107/20.6, allocations: 0.7384 GB / 4.282 GB, free: 7.402 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/20.6, allocations: 7.266 kB / 4.282 GB, free: 7.398 MB / 458.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01262/20.61, allocations: 3.457 MB / 4.286 GB, free: 5.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3358/20.95, allocations: 6.527 MB / 4.292 GB, free: 68.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-05/20.95, allocations: 18.28 kB / 4.292 GB, free: 68.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/20.95, allocations: 449.4 kB / 4.292 GB, free: 68.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004893/20.95, allocations: 0.5151 MB / 4.293 GB, free: 68.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/20.96, allocations: 3.314 MB / 4.296 GB, free: 66.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/20.96, allocations: 260.2 kB / 4.296 GB, free: 66.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007669/20.96, allocations: 98.97 kB / 4.296 GB, free: 66.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/20.96, allocations: 4.75 kB / 4.296 GB, free: 66.18 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01169/20.97, allocations: 3.184 MB / 4.3 GB, free: 66.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.776e-05/20.97, allocations: 17.25 kB / 4.3 GB, free: 66.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/20.98, allocations: 440.8 kB / 4.3 GB, free: 66.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004389/20.98, allocations: 0.5082 MB / 4.3 GB, free: 66.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/20.98, allocations: 3.318 MB / 4.304 GB, free: 63.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/20.99, allocations: 244 kB / 4.304 GB, free: 63.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007557/20.99, allocations: 102.5 kB / 4.304 GB, free: 63.46 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 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.002369/20.99, allocations: 0.595 MB / 4.305 GB, free: 63.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000582/20.99, allocations: 158.9 kB / 4.305 GB, free: 63.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/21.01, allocations: 6.658 MB / 4.311 GB, free: 63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/21.01, allocations: 67.3 kB / 4.311 GB, free: 63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/21.01, allocations: 3.25 kB / 4.311 GB, free: 63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01217/21.02, allocations: 5.221 MB / 4.316 GB, free: 62.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02284/21.04, allocations: 9.1 MB / 4.325 GB, free: 61.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/21.04, allocations: 7.5 kB / 4.325 GB, free: 61.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003491/21.05, allocations: 399 kB / 4.326 GB, free: 61.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003073/21.05, allocations: 0.5342 MB / 4.326 GB, free: 61.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005669/21.05, allocations: 58.17 kB / 4.326 GB, free: 61.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/21.05, allocations: 3.411 MB / 4.33 GB, free: 59.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/21.05, allocations: 3.969 kB / 4.33 GB, free: 59.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01717/21.07, allocations: 6.799 MB / 4.336 GB, free: 58.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/21.07, allocations: 0.7648 MB / 4.337 GB, free: 58.19 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000951/21.08, allocations: 50.78 kB / 4.337 GB, free: 58.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0035/21.08, allocations: 190.6 kB / 4.337 GB, free: 58.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008788/21.08, allocations: 180.1 kB / 4.337 GB, free: 58.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002772/21.08, allocations: 62.16 kB / 4.337 GB, free: 58.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002923/21.08, allocations: 1.193 MB / 4.339 GB, free: 58.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.42e-07/21.08, allocations: 0 / 4.339 GB, free: 58.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01282/21.1, allocations: 2.296 MB / 4.341 GB, free: 58 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.03092/21.13, allocations: 9.721 MB / 4.35 GB, free: 56.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0175/21.14, allocations: 5.14 MB / 4.355 GB, free: 56.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/21.14, allocations: 0 / 4.355 GB, free: 56.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006679/21.15, allocations: 2.266 MB / 4.358 GB, free: 56.04 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007178/21.16, allocations: 0.7325 MB / 4.358 GB, free: 55.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3041/21.46, allocations: 105.5 MB / 4.461 GB, free: 2.367 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/21.47, allocations: 2.006 MB / 4.463 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.3464/21.81, allocations: 2.438 MB / 4.466 GB, free: 68.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002789/21.81, allocations: 1.053 MB / 4.467 GB, free: 68.82 MB / 458.7 MB Notification: Performance of SimCode: time 1.633e-06/21.82, allocations: 2.625 kB / 4.467 GB, free: 68.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2089/22.02, allocations: 94.14 MB / 4.559 GB, free: 60.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/22.02, allocations: 304.8 kB / 4.559 GB, free: 59.84 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.154/29.18, allocations: 0 / 4.559 GB, free: 59.84 MB / 458.7 MB