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.851/1.851, allocations: 195.5 MB / 207.6 MB, free: 2.852 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.659e-05, allocations: 2.672 kB / 255.3 MB, free: 1.992 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.09901, allocations: 44.65 MB / 299.9 MB, free: 5.281 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.913/8.012, allocations: 2.655 GB / 2.948 GB, free: 45 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/8.012, allocations: 73.47 kB / 2.948 GB, free: 44.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.666/10.68, allocations: 494 MB / 3.43 GB, free: 35.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/10.68, allocations: 0 / 3.43 GB, free: 35.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001794/10.68, allocations: 39.28 kB / 3.43 GB, free: 35.45 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.01484/10.69, allocations: 2.888 MB / 3.433 GB, free: 34.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/10.69, allocations: 9.75 kB / 3.433 GB, free: 34.11 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009285/10.69, allocations: 212 kB / 3.433 GB, free: 33.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006739/10.7, allocations: 0.5783 MB / 3.434 GB, free: 33.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006231/10.71, allocations: 1.479 MB / 3.435 GB, free: 33.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/10.71, allocations: 139.1 kB / 3.436 GB, free: 33.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007432/10.71, allocations: 143.6 kB / 3.436 GB, free: 33.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008783/10.72, allocations: 2.683 MB / 3.438 GB, free: 30.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.136e-05/10.72, allocations: 7.938 kB / 3.438 GB, free: 30.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/10.72, allocations: 60.77 kB / 3.438 GB, free: 30.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/10.72, allocations: 108.9 kB / 3.438 GB, free: 30.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00869/10.73, allocations: 2.487 MB / 3.441 GB, free: 28.71 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.02236/10.75, allocations: 10.91 MB / 3.452 GB, free: 18.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006202/10.76, allocations: 1.738 MB / 3.453 GB, free: 16.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/10.76, allocations: 0.8641 MB / 3.454 GB, free: 16.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5561/11.31, allocations: 62.01 MB / 3.515 GB, free: 32.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004922/11.32, allocations: 1.389 MB / 3.516 GB, free: 32.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=127): time 5.22e-06/11.32, allocations: 0 / 3.516 GB, free: 32.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=151): time 0.02364/11.34, allocations: 6.975 MB / 3.523 GB, free: 30.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/11.34, allocations: 277.4 kB / 3.523 GB, free: 30.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/11.34, allocations: 0.888 MB / 3.524 GB, free: 30.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003459/11.34, allocations: 52.58 kB / 3.524 GB, free: 30.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006418/11.35, allocations: 0.668 MB / 3.525 GB, free: 30.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007162/11.35, allocations: 0.5184 MB / 3.525 GB, free: 29.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/11.35, allocations: 39.47 kB / 3.525 GB, free: 29.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/11.35, allocations: 377.9 kB / 3.526 GB, free: 29.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/11.35, allocations: 0.8867 MB / 3.526 GB, free: 29.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/11.35, allocations: 1.366 MB / 3.528 GB, free: 28.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.139/18.49, allocations: 0.5687 GB / 4.097 GB, free: 14.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/18.49, allocations: 8 kB / 4.097 GB, free: 14.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.008223/18.5, allocations: 3.05 MB / 4.1 GB, free: 12.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001181/18.5, allocations: 5.662 MB / 4.105 GB, free: 6.477 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.711e-05/18.5, allocations: 19.66 kB / 4.105 GB, free: 6.461 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3407/18.84, allocations: 2.383 MB / 4.107 GB, free: 72.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/18.84, allocations: 275.2 kB / 4.108 GB, free: 72.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/18.85, allocations: 3.019 MB / 4.111 GB, free: 71.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003513/18.85, allocations: 211.1 kB / 4.111 GB, free: 71.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004891/18.86, allocations: 90.16 kB / 4.111 GB, free: 71.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/18.86, allocations: 3.891 kB / 4.111 GB, free: 71.61 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009136/18.86, allocations: 2.884 MB / 4.114 GB, free: 71.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.534e-05/18.86, allocations: 13.84 kB / 4.114 GB, free: 71.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/18.88, allocations: 1.834 MB / 4.116 GB, free: 71.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/18.88, allocations: 294.7 kB / 4.116 GB, free: 71.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/18.88, allocations: 2.758 MB / 4.118 GB, free: 71.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/18.89, allocations: 216.2 kB / 4.119 GB, free: 71.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004822/18.89, allocations: 85.73 kB / 4.119 GB, free: 71.03 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.0007596/18.89, allocations: 234.8 kB / 4.119 GB, free: 70.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/18.89, allocations: 138.5 kB / 4.119 GB, free: 70.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/18.9, allocations: 5.726 MB / 4.125 GB, free: 70.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.746e-05/18.9, allocations: 56.09 kB / 4.125 GB, free: 70.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/18.9, allocations: 7.766 kB / 4.125 GB, free: 70.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007651/18.91, allocations: 4.646 MB / 4.129 GB, free: 69.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/18.93, allocations: 7.984 MB / 4.137 GB, free: 69.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/18.93, allocations: 3.594 kB / 4.137 GB, free: 69.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/18.93, allocations: 258.5 kB / 4.137 GB, free: 69.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007032/18.93, allocations: 1.222 MB / 4.139 GB, free: 69.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004234/18.93, allocations: 50.86 kB / 4.139 GB, free: 69.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003757/18.94, allocations: 2.179 MB / 4.141 GB, free: 68.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/18.94, allocations: 0 / 4.141 GB, free: 68.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009916/18.95, allocations: 5.419 MB / 4.146 GB, free: 67.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001883/18.95, allocations: 0.6186 MB / 4.147 GB, free: 67.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000569/18.95, allocations: 46.23 kB / 4.147 GB, free: 67.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002684/18.95, allocations: 172.8 kB / 4.147 GB, free: 67.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005132/18.95, allocations: 153.5 kB / 4.147 GB, free: 67.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/18.95, allocations: 56.64 kB / 4.147 GB, free: 67.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001953/18.96, allocations: 0.9422 MB / 4.148 GB, free: 67.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.72e-07/18.96, allocations: 2.875 kB / 4.148 GB, free: 67.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01079/18.97, allocations: 2.129 MB / 4.15 GB, free: 67.59 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.02276/18.99, allocations: 8.455 MB / 4.158 GB, free: 65.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01114/19, allocations: 3.945 MB / 4.162 GB, free: 65.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/19, allocations: 3.312 kB / 4.162 GB, free: 65.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004594/19.01, allocations: 1.813 MB / 4.164 GB, free: 65.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006346/19.01, allocations: 0.6727 MB / 4.165 GB, free: 65.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2084/19.22, allocations: 59.52 MB / 4.223 GB, free: 54.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/19.22, allocations: 1.747 MB / 4.224 GB, free: 53.13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00515/19.23, allocations: 1.398 MB / 4.226 GB, free: 52.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001696/19.23, allocations: 0.819 MB / 4.227 GB, free: 51.55 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/19.23, allocations: 3.391 kB / 4.227 GB, free: 51.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.551/19.78, allocations: 96.92 MB / 4.321 GB, free: 65.65 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/19.78, allocations: 301.5 kB / 4.322 GB, free: 65.31 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.536/26.32, allocations: 0 / 4.322 GB, free: 65.31 MB / 458.7 MB