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 2.003/2.003, allocations: 195.5 MB / 202.7 MB, free: 6.332 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.198e-05, allocations: 1.375 kB / 249.7 MB, free: 5.121 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.0965, allocations: 44.66 MB / 294.4 MB, free: 9.938 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.2/8.297, allocations: 2.654 GB / 2.942 GB, free: 78.44 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/8.297, allocations: 76.52 kB / 2.942 GB, free: 78.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.68/10.98, allocations: 492.7 MB / 3.423 GB, free: 27.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.043e-06/10.98, allocations: 0 / 3.423 GB, free: 27.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001392/10.98, allocations: 35.72 kB / 3.423 GB, free: 27.32 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.01446/10.99, allocations: 2.902 MB / 3.426 GB, free: 26.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/10.99, allocations: 7.156 kB / 3.426 GB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007153/11, allocations: 0.6778 MB / 3.427 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005956/11, allocations: 1.513 MB / 3.428 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/11.01, allocations: 90.2 kB / 3.428 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000658/11.01, allocations: 94.06 kB / 3.428 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006252/11.01, allocations: 2.594 MB / 3.431 GB, free: 25.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006298/11.02, allocations: 2.666 MB / 3.433 GB, free: 24.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.825e-05/11.02, allocations: 15.44 kB / 3.433 GB, free: 24.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003159/11.02, allocations: 3.656 kB / 3.433 GB, free: 24.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002244/11.02, allocations: 156.9 kB / 3.434 GB, free: 24.11 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.8279/11.85, allocations: 135.6 MB / 3.566 GB, free: 23.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003884/11.85, allocations: 1.481 MB / 3.567 GB, free: 23.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/11.85, allocations: 0.9134 MB / 3.568 GB, free: 23.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05206/11.91, allocations: 16.86 MB / 3.585 GB, free: 28.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002516/11.91, allocations: 1.057 MB / 3.586 GB, free: 28.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=129): time 5.01e-06/11.91, allocations: 0 / 3.586 GB, free: 28.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=149): time 0.03042/11.94, allocations: 7.058 MB / 3.593 GB, free: 27.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/11.94, allocations: 197.5 kB / 3.593 GB, free: 27.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/11.94, allocations: 0.8923 MB / 3.594 GB, free: 27.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006254/11.94, allocations: 29.7 kB / 3.594 GB, free: 27.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001407/11.94, allocations: 0.8459 MB / 3.595 GB, free: 26.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/11.94, allocations: 0.4988 MB / 3.595 GB, free: 26.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004123/11.95, allocations: 0 / 3.595 GB, free: 26.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005256/11.95, allocations: 448.9 kB / 3.596 GB, free: 26.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00396/11.95, allocations: 1.036 MB / 3.597 GB, free: 26.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004908/11.95, allocations: 1.584 MB / 3.598 GB, free: 25.63 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0439/12, allocations: 4.409 MB / 3.602 GB, free: 25.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/12, allocations: 3.844 kB / 3.602 GB, free: 25.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.0208/12.02, allocations: 4.109 MB / 3.606 GB, free: 25.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003431/12.02, allocations: 6.535 MB / 3.613 GB, free: 18.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.759e-05/12.02, allocations: 16.53 kB / 3.613 GB, free: 18.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/12.03, allocations: 423.3 kB / 3.613 GB, free: 18.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005946/12.03, allocations: 0.5171 MB / 3.614 GB, free: 18.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004993/12.04, allocations: 3.337 MB / 3.617 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005285/12.04, allocations: 231.6 kB / 3.617 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006924/12.04, allocations: 105.5 kB / 3.617 GB, free: 15.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/12.04, allocations: 3.719 kB / 3.617 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02303/12.07, allocations: 3.7 MB / 3.621 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-05/12.07, allocations: 15.91 kB / 3.621 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/12.07, allocations: 421.7 kB / 3.621 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00421/12.07, allocations: 0.5109 MB / 3.622 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003654/12.08, allocations: 3.356 MB / 3.625 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003741/12.08, allocations: 208.6 kB / 3.625 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007873/12.08, allocations: 102.1 kB / 3.625 GB, free: 12.84 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 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 ($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,source.medium.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.001352/12.08, allocations: 172.1 kB / 3.626 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00855/12.09, allocations: 2.381 MB / 3.628 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/12.09, allocations: 134.2 kB / 3.628 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/12.1, allocations: 5.404 MB / 3.633 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.538e-05/12.1, allocations: 57.73 kB / 3.633 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/12.1, allocations: 3.625 kB / 3.633 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009678/12.11, allocations: 4.861 MB / 3.638 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/12.13, allocations: 7.973 MB / 3.646 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/12.13, allocations: 3.188 kB / 3.646 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002968/12.13, allocations: 363.5 kB / 3.646 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/12.14, allocations: 0.5089 MB / 3.647 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003035/12.14, allocations: 33.91 kB / 3.647 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003375/12.14, allocations: 3.551 MB / 3.65 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/12.14, allocations: 2.062 kB / 3.65 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/12.15, allocations: 5.896 MB / 3.656 GB, free: 4.605 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/12.15, allocations: 0.5529 MB / 3.657 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004893/12.15, allocations: 13.78 kB / 3.657 GB, free: 4.199 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/12.16, allocations: 164.2 kB / 3.657 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004867/12.16, allocations: 158 kB / 3.657 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/12.16, allocations: 59.81 kB / 3.657 GB, free: 3.969 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001253/12.16, allocations: 0.6662 MB / 3.658 GB, free: 3.559 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.61e-07/12.16, allocations: 1.969 kB / 3.658 GB, free: 3.559 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01006/12.17, allocations: 2.121 MB / 3.66 GB, free: 1.727 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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: 31 ($cse3.phase,$cse3.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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.3432/12.51, allocations: 8.554 MB / 3.668 GB, free: 73.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0131/12.53, allocations: 4.488 MB / 3.672 GB, free: 73.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/12.53, allocations: 0.9844 kB / 3.672 GB, free: 73.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004766/12.53, allocations: 1.913 MB / 3.674 GB, free: 73.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005366/12.54, allocations: 0.5443 MB / 3.675 GB, free: 73.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2031/12.74, allocations: 59.1 MB / 3.732 GB, free: 71.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/12.74, allocations: 1.868 MB / 3.734 GB, free: 70.28 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008236/12.75, allocations: 2.502 MB / 3.737 GB, free: 70.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002462/12.75, allocations: 0.9017 MB / 3.738 GB, free: 70.16 MB / 458.7 MB Notification: Performance of SimCode: time 1.934e-06/12.75, allocations: 0 / 3.738 GB, free: 70.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5241/13.28, allocations: 80.66 MB / 3.816 GB, free: 62.87 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/13.28, allocations: 227.5 kB / 3.817 GB, free: 62.59 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.293/19.57, allocations: 0 / 3.817 GB, free: 62.59 MB / 458.7 MB