Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeLumpedPressureInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 2.082/2.082, allocations: 226.3 MB / 238.5 MB, free: 10.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.916e-05/4.935e-05, allocations: 4 kB / 292 MB, free: 7.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1491, allocations: 50.57 MB / 342.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.081/9.23, allocations: 2.829 GB / 3.163 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/9.23, allocations: 77.41 kB / 3.163 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.893/12.12, allocations: 0.4902 GB / 3.653 GB, free: 37.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.873e-06/12.12, allocations: 2.531 kB / 3.653 GB, free: 37.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000164/12.12, allocations: 39.95 kB / 3.653 GB, free: 37.59 MB / 458.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.01521/12.14, allocations: 2.9 MB / 3.656 GB, free: 36.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/12.14, allocations: 10.75 kB / 3.656 GB, free: 36.34 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001069/12.14, allocations: 208.7 kB / 3.656 GB, free: 36.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006891/12.15, allocations: 0.5791 MB / 3.657 GB, free: 36.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0066/12.15, allocations: 1.481 MB / 3.658 GB, free: 35.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/12.15, allocations: 134.6 kB / 3.659 GB, free: 35.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008256/12.15, allocations: 140.5 kB / 3.659 GB, free: 35.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/12.16, allocations: 2.679 MB / 3.661 GB, free: 34.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-05/12.16, allocations: 7.5 kB / 3.661 GB, free: 34.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006261/12.17, allocations: 62.44 kB / 3.661 GB, free: 34.13 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/12.17, allocations: 110.8 kB / 3.662 GB, free: 34.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009137/12.17, allocations: 2.493 MB / 3.664 GB, free: 33.38 MB / 458.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.02334/12.2, allocations: 10.93 MB / 3.675 GB, free: 25.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006481/12.2, allocations: 1.747 MB / 3.676 GB, free: 24.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/12.21, allocations: 0.8478 MB / 3.677 GB, free: 24.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.601/12.81, allocations: 62.02 MB / 3.738 GB, free: 48.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005908/12.81, allocations: 1.384 MB / 3.739 GB, free: 48.03 MB / 474.7 MB Notification: Performance of pre-optimization done (n=127): time 5.992e-06/12.81, allocations: 2.75 kB / 3.739 GB, free: 48.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=151): time 0.0281/12.84, allocations: 6.976 MB / 3.746 GB, free: 46.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/12.84, allocations: 277.9 kB / 3.746 GB, free: 46.58 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/12.84, allocations: 0.891 MB / 3.747 GB, free: 46.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005052/12.85, allocations: 51.08 kB / 3.747 GB, free: 46.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007998/12.85, allocations: 0.6699 MB / 3.748 GB, free: 46.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009265/12.85, allocations: 0.518 MB / 3.748 GB, free: 45.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/12.85, allocations: 34.53 kB / 3.748 GB, free: 45.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/12.85, allocations: 378.2 kB / 3.749 GB, free: 45.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/12.85, allocations: 0.8838 MB / 3.749 GB, free: 45.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0032/12.85, allocations: 1.364 MB / 3.751 GB, free: 45.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1009/12.95, allocations: 9.724 MB / 3.76 GB, free: 44.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.326e-05/12.95, allocations: 3.469 kB / 3.76 GB, free: 44.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.009454/12.96, allocations: 3.064 MB / 3.763 GB, free: 44.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001502/12.97, allocations: 5.66 MB / 3.769 GB, free: 38.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-05/12.97, allocations: 20 kB / 3.769 GB, free: 38.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0234/12.99, allocations: 2.404 MB / 3.771 GB, free: 38.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/12.99, allocations: 279.1 kB / 3.771 GB, free: 38.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/13, allocations: 3.017 MB / 3.774 GB, free: 37.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005569/13.01, allocations: 217.9 kB / 3.775 GB, free: 37.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007987/13.01, allocations: 89.64 kB / 3.775 GB, free: 37.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/13.01, allocations: 3.312 kB / 3.775 GB, free: 37.96 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01183/13.02, allocations: 2.878 MB / 3.778 GB, free: 37.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-05/13.02, allocations: 20.28 kB / 3.778 GB, free: 37.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01397/13.04, allocations: 1.84 MB / 3.779 GB, free: 37.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/13.04, allocations: 293.3 kB / 3.78 GB, free: 37.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/13.04, allocations: 2.75 MB / 3.782 GB, free: 37.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003435/13.05, allocations: 213.2 kB / 3.782 GB, free: 37.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006295/13.05, allocations: 97.3 kB / 3.783 GB, free: 37.33 MB / 474.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.0008289/13.05, allocations: 228.5 kB / 3.783 GB, free: 37.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006147/13.05, allocations: 134.1 kB / 3.783 GB, free: 37.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/13.06, allocations: 5.724 MB / 3.789 GB, free: 36.74 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.743e-05/13.06, allocations: 52.55 kB / 3.789 GB, free: 36.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/13.06, allocations: 3 kB / 3.789 GB, free: 36.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0111/13.07, allocations: 4.649 MB / 3.793 GB, free: 36.08 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02313/13.1, allocations: 7.988 MB / 3.801 GB, free: 35.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/13.1, allocations: 7.656 kB / 3.801 GB, free: 35.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/13.1, allocations: 253.3 kB / 3.801 GB, free: 35.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0098/13.11, allocations: 1.232 MB / 3.802 GB, free: 35.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004463/13.11, allocations: 51.12 kB / 3.802 GB, free: 35.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00532/13.11, allocations: 2.178 MB / 3.805 GB, free: 34.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/13.11, allocations: 10.59 kB / 3.805 GB, free: 34.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/13.13, allocations: 5.409 MB / 3.81 GB, free: 34.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/13.13, allocations: 0.6207 MB / 3.81 GB, free: 33.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009379/13.13, allocations: 45.69 kB / 3.81 GB, free: 33.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003754/13.14, allocations: 172.8 kB / 3.811 GB, free: 33.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006003/13.14, allocations: 158.6 kB / 3.811 GB, free: 33.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002552/13.14, allocations: 51.17 kB / 3.811 GB, free: 33.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002597/13.14, allocations: 0.9437 MB / 3.812 GB, free: 33.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.152e-06/13.14, allocations: 0 / 3.812 GB, free: 33.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01321/13.15, allocations: 2.128 MB / 3.814 GB, free: 33.52 MB / 474.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.03216/13.19, allocations: 8.479 MB / 3.822 GB, free: 29.72 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01178/13.2, allocations: 3.948 MB / 3.826 GB, free: 28.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/13.2, allocations: 3.781 kB / 3.826 GB, free: 28.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004755/13.2, allocations: 1.819 MB / 3.828 GB, free: 27.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006648/13.21, allocations: 0.6638 MB / 3.828 GB, free: 27.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2181/13.43, allocations: 59.7 MB / 3.887 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/13.43, allocations: 1.746 MB / 3.888 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005925/13.43, allocations: 1.401 MB / 3.89 GB, free: 14.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/13.44, allocations: 0.819 MB / 3.891 GB, free: 13.69 MB / 490.7 MB Notification: Performance of SimCode: time 1.894e-06/13.44, allocations: 4 kB / 3.891 GB, free: 13.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6931/14.13, allocations: 97.1 MB / 3.985 GB, free: 59.38 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/14.13, allocations: 285.9 kB / 3.986 GB, free: 59.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.339/21.47, allocations: 0 / 3.986 GB, free: 59.05 MB / 490.7 MB