Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_DynamicPipeInitialValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.988/1.988, allocations: 226.3 MB / 238.5 MB, free: 10.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.507e-05, allocations: 0 / 292 MB, free: 7.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 50.57 MB / 342.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.252/9.371, allocations: 2.829 GB / 3.163 GB, free: 24.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/9.371, allocations: 82.02 kB / 3.163 GB, free: 24.53 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.888/12.26, allocations: 0.4939 GB / 3.657 GB, free: 32.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.375e-06/12.26, allocations: 0 / 3.657 GB, free: 32.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001455/12.26, allocations: 46.88 kB / 3.657 GB, free: 32.44 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.01487/12.27, allocations: 2.901 MB / 3.66 GB, free: 31.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/12.27, allocations: 10.69 kB / 3.66 GB, free: 31.05 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009735/12.28, allocations: 262.4 kB / 3.66 GB, free: 30.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007516/12.28, allocations: 0.6707 MB / 3.661 GB, free: 30.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006482/12.29, allocations: 1.519 MB / 3.662 GB, free: 29.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/12.29, allocations: 153.2 kB / 3.663 GB, free: 29.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007859/12.29, allocations: 165.5 kB / 3.663 GB, free: 29.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/12.3, allocations: 3.282 MB / 3.666 GB, free: 28.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.839e-05/12.3, allocations: 7.625 kB / 3.666 GB, free: 28.47 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000387/12.3, allocations: 68.75 kB / 3.666 GB, free: 28.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/12.3, allocations: 155 kB / 3.666 GB, free: 28.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/12.31, allocations: 3.065 MB / 3.669 GB, free: 27.44 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.02596/12.34, allocations: 13.37 MB / 3.682 GB, free: 17.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006887/12.35, allocations: 2.042 MB / 3.684 GB, free: 17.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/12.35, allocations: 1.004 MB / 3.685 GB, free: 16.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6547/13, allocations: 62.03 MB / 3.746 GB, free: 37.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006117/13.01, allocations: 1.59 MB / 3.747 GB, free: 37.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=143): time 9.357e-06/13.01, allocations: 0 / 3.747 GB, free: 37.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.03989/13.05, allocations: 9.169 MB / 3.756 GB, free: 35.54 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/13.05, allocations: 339.2 kB / 3.757 GB, free: 35.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/13.05, allocations: 1.095 MB / 3.758 GB, free: 34.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005731/13.05, allocations: 61.12 kB / 3.758 GB, free: 34.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/13.05, allocations: 0.7901 MB / 3.758 GB, free: 34.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/13.05, allocations: 0.5671 MB / 3.759 GB, free: 34.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/13.05, allocations: 46.22 kB / 3.759 GB, free: 34.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/13.05, allocations: 388.8 kB / 3.759 GB, free: 34.06 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/13.06, allocations: 1.059 MB / 3.76 GB, free: 34.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/13.06, allocations: 1.602 MB / 3.762 GB, free: 33.42 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.09444/13.16, allocations: 9.047 MB / 3.771 GB, free: 33.28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.283e-05/13.16, allocations: 5.281 kB / 3.771 GB, free: 33.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009905/13.17, allocations: 3.148 MB / 3.774 GB, free: 33.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001561/13.17, allocations: 6.529 MB / 3.78 GB, free: 26.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.202e-05/13.17, allocations: 20 kB / 3.78 GB, free: 26.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/13.17, allocations: 442.3 kB / 3.781 GB, free: 26.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004396/13.17, allocations: 0.5156 MB / 3.781 GB, free: 26.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/13.18, allocations: 3.298 MB / 3.784 GB, free: 23.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004147/13.18, allocations: 259.6 kB / 3.785 GB, free: 23.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006201/13.18, allocations: 102.2 kB / 3.785 GB, free: 23.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/13.18, allocations: 3.031 kB / 3.785 GB, free: 23.65 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008597/13.19, allocations: 2.88 MB / 3.788 GB, free: 23.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.049e-05/13.19, allocations: 19.03 kB / 3.788 GB, free: 23.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/13.19, allocations: 449.4 kB / 3.788 GB, free: 23.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004321/13.2, allocations: 0.5096 MB / 3.789 GB, free: 23.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/13.2, allocations: 3.295 MB / 3.792 GB, free: 20.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/13.2, allocations: 259.8 kB / 3.792 GB, free: 20.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000623/13.2, allocations: 92.33 kB / 3.792 GB, free: 20.92 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 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.001012/13.21, allocations: 241.1 kB / 3.792 GB, free: 20.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005964/13.21, allocations: 153 kB / 3.792 GB, free: 20.74 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/13.22, allocations: 6.538 MB / 3.799 GB, free: 20.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/13.22, allocations: 69.92 kB / 3.799 GB, free: 20.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/13.22, allocations: 6.328 kB / 3.799 GB, free: 20.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01008/13.23, allocations: 5.135 MB / 3.804 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/13.25, allocations: 8.989 MB / 3.813 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-05/13.25, allocations: 3.719 kB / 3.813 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003462/13.25, allocations: 395.8 kB / 3.813 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003064/13.26, allocations: 0.5372 MB / 3.814 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005439/13.26, allocations: 62.72 kB / 3.814 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002808/13.26, allocations: 3.396 MB / 3.817 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/13.26, allocations: 0 / 3.817 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/13.27, allocations: 6.436 MB / 3.823 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002471/13.28, allocations: 0.7696 MB / 3.824 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009125/13.28, allocations: 53.75 kB / 3.824 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003503/13.28, allocations: 191.4 kB / 3.824 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008067/13.28, allocations: 172.2 kB / 3.824 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003011/13.28, allocations: 62.88 kB / 3.825 GB, free: 15.19 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002791/13.29, allocations: 1.172 MB / 3.826 GB, free: 15.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.773e-06/13.29, allocations: 0 / 3.826 GB, free: 15.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01286/13.3, allocations: 2.299 MB / 3.828 GB, free: 14.96 MB / 474.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.02705/13.33, allocations: 9.366 MB / 3.837 GB, free: 10.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01357/13.34, allocations: 4.692 MB / 3.842 GB, free: 9.445 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/13.34, allocations: 2.75 kB / 3.842 GB, free: 9.445 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005699/13.34, allocations: 2.153 MB / 3.844 GB, free: 8.605 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006911/13.35, allocations: 0.7274 MB / 3.844 GB, free: 8.445 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7624/14.11, allocations: 92.26 MB / 3.935 GB, free: 62.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001926/14.12, allocations: 2.004 MB / 3.937 GB, free: 62.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007956/14.12, allocations: 2.405 MB / 3.939 GB, free: 62.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002491/14.13, allocations: 1.049 MB / 3.94 GB, free: 62.14 MB / 490.7 MB Notification: Performance of SimCode: time 2.805e-06/14.13, allocations: 3.844 kB / 3.94 GB, free: 62.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2152/14.34, allocations: 97.88 MB / 4.035 GB, free: 35.19 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/14.34, allocations: 279 kB / 4.036 GB, free: 34.84 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/21.52, allocations: 0 / 4.036 GB, free: 34.84 MB / 490.7 MB