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.977/1.977, allocations: 195.5 MB / 202.7 MB, free: 6.32 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.083e-05, allocations: 1.375 kB / 249.7 MB, free: 5.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09522, allocations: 44.65 MB / 294.4 MB, free: 9.941 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.03/8.126, allocations: 2.654 GB / 2.942 GB, free: 92.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/8.126, allocations: 77.7 kB / 2.942 GB, free: 92.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.701/10.83, allocations: 489.1 MB / 3.42 GB, free: 29.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/10.83, allocations: 1.5 kB / 3.42 GB, free: 29.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001313/10.83, allocations: 34.75 kB / 3.42 GB, free: 29.48 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.01413/10.84, allocations: 2.891 MB / 3.422 GB, free: 28.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/10.84, allocations: 10.59 kB / 3.422 GB, free: 28.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007738/10.85, allocations: 0.5788 MB / 3.423 GB, free: 28.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007648/10.86, allocations: 1.467 MB / 3.424 GB, free: 27.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/10.86, allocations: 77.92 kB / 3.424 GB, free: 27.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000725/10.86, allocations: 84.8 kB / 3.425 GB, free: 27.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007891/10.87, allocations: 2.005 MB / 3.426 GB, free: 27.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006876/10.87, allocations: 2.041 MB / 3.428 GB, free: 27.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.192e-05/10.87, allocations: 6.062 kB / 3.428 GB, free: 27.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/10.87, allocations: 7.469 kB / 3.428 GB, free: 27.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00023/10.87, allocations: 110.5 kB / 3.429 GB, free: 27.41 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.7947/11.67, allocations: 133.5 MB / 3.559 GB, free: 36.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003273/11.67, allocations: 1.186 MB / 3.56 GB, free: 36.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/11.67, allocations: 0.7478 MB / 3.561 GB, free: 36.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04993/11.72, allocations: 16.72 MB / 3.577 GB, free: 26.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002197/11.73, allocations: 0.856 MB / 3.578 GB, free: 25.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=112): time 5.501e-06/11.73, allocations: 0 / 3.578 GB, free: 25.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=136): time 0.02313/11.75, allocations: 5.994 MB / 3.584 GB, free: 25.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/11.75, allocations: 198.4 kB / 3.584 GB, free: 24.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/11.75, allocations: 0.8272 MB / 3.585 GB, free: 24.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003831/11.75, allocations: 25.7 kB / 3.585 GB, free: 24.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006973/11.75, allocations: 0.7215 MB / 3.586 GB, free: 24.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005861/11.75, allocations: 466 kB / 3.586 GB, free: 24.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/11.75, allocations: 0 / 3.586 GB, free: 24.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/11.75, allocations: 434.3 kB / 3.586 GB, free: 23.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/11.75, allocations: 0.8551 MB / 3.587 GB, free: 23.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/11.76, allocations: 1.339 MB / 3.589 GB, free: 23.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02854/11.78, allocations: 4.384 MB / 3.593 GB, free: 22.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/11.78, allocations: 4.719 kB / 3.593 GB, free: 22.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01712/11.8, allocations: 3.956 MB / 3.597 GB, free: 22.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001219/11.8, allocations: 5.657 MB / 3.602 GB, free: 16.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.917e-05/11.8, allocations: 16.53 kB / 3.602 GB, free: 16.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01452/11.82, allocations: 2.065 MB / 3.604 GB, free: 16.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/11.82, allocations: 281 kB / 3.605 GB, free: 16.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007538/11.83, allocations: 3.24 MB / 3.608 GB, free: 16.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003408/11.83, allocations: 195.9 kB / 3.608 GB, free: 16.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/11.83, allocations: 90.36 kB / 3.608 GB, free: 16.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/11.83, allocations: 3.75 kB / 3.608 GB, free: 16.05 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01772/11.85, allocations: 3.831 MB / 3.612 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.054e-05/11.85, allocations: 15.22 kB / 3.612 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/11.86, allocations: 1.763 MB / 3.613 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/11.86, allocations: 301.8 kB / 3.614 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005807/11.87, allocations: 2.871 MB / 3.617 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/11.87, allocations: 178.7 kB / 3.617 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004686/11.87, allocations: 87.73 kB / 3.617 GB, free: 15.33 MB / 442.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 ($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,source.medium.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.0006981/11.87, allocations: 179.7 kB / 3.617 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00744/11.88, allocations: 2.239 MB / 3.619 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006901/11.88, allocations: 125.2 kB / 3.619 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/11.89, allocations: 4.58 MB / 3.624 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.565e-05/11.89, allocations: 47.48 kB / 3.624 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/11.89, allocations: 0.5625 kB / 3.624 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008356/11.9, allocations: 4.269 MB / 3.628 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/11.92, allocations: 6.959 MB / 3.635 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/11.92, allocations: 2.5 kB / 3.635 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/11.92, allocations: 215.4 kB / 3.635 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006668/11.92, allocations: 1.194 MB / 3.636 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000414/11.92, allocations: 32.75 kB / 3.636 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004147/11.93, allocations: 2.381 MB / 3.638 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/11.93, allocations: 5.656 kB / 3.638 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/11.94, allocations: 4.867 MB / 3.643 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/11.94, allocations: 442.1 kB / 3.644 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005019/11.94, allocations: 15.3 kB / 3.644 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/11.94, allocations: 133.3 kB / 3.644 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005533/11.94, allocations: 145.4 kB / 3.644 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/11.94, allocations: 45.27 kB / 3.644 GB, free: 10.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001212/11.95, allocations: 0.5901 MB / 3.645 GB, free: 10.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-07/11.95, allocations: 5.312 kB / 3.645 GB, free: 10.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009866/11.96, allocations: 1.973 MB / 3.647 GB, free: 8.816 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 26 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.02857/11.98, allocations: 7.796 MB / 3.654 GB, free: 3.668 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01291/12, allocations: 3.74 MB / 3.658 GB, free: 416 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/12, allocations: 0.5625 kB / 3.658 GB, free: 416 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01493/12.01, allocations: 1.938 MB / 3.66 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006562/12.02, allocations: 0.5059 MB / 3.66 GB, free: 15.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/12.04, allocations: 4.662 MB / 3.665 GB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002463/12.04, allocations: 1.61 MB / 3.666 GB, free: 10.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006003/12.05, allocations: 1.551 MB / 3.668 GB, free: 9.281 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/12.05, allocations: 0.6737 MB / 3.668 GB, free: 8.664 MB / 458.7 MB Notification: Performance of SimCode: time 2.184e-06/12.05, allocations: 0 / 3.668 GB, free: 8.664 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5412/12.59, allocations: 81.73 MB / 3.748 GB, free: 66.68 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/12.59, allocations: 253 kB / 3.749 GB, free: 66.39 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.059/18.65, allocations: 0 / 3.749 GB, free: 66.39 MB / 458.7 MB