Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization") Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.97/1.97, allocations: 226.3 MB / 238.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.586e-05, allocations: 5.25 kB / 291.9 MB, free: 7.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09354, allocations: 50.56 MB / 342.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.633/7.726, allocations: 2.829 GB / 3.163 GB, free: 57.12 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/7.726, allocations: 80.52 kB / 3.163 GB, free: 57.08 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605/10.33, allocations: 0.4901 GB / 3.653 GB, free: 37.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.582e-06/10.33, allocations: 0 / 3.653 GB, free: 37.37 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001361/10.33, allocations: 37.8 kB / 3.653 GB, free: 37.37 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.0111/10.34, allocations: 2.89 MB / 3.656 GB, free: 36.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/10.34, allocations: 11.06 kB / 3.656 GB, free: 36.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006159/10.35, allocations: 0.5802 MB / 3.657 GB, free: 36.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00486/10.35, allocations: 1.47 MB / 3.658 GB, free: 35.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/10.35, allocations: 137.8 kB / 3.658 GB, free: 35.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006333/10.35, allocations: 141.8 kB / 3.658 GB, free: 35.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007888/10.36, allocations: 2.682 MB / 3.661 GB, free: 35.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/10.36, allocations: 5.875 kB / 3.661 GB, free: 35.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/10.36, allocations: 61.97 kB / 3.661 GB, free: 35.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/10.36, allocations: 110 kB / 3.661 GB, free: 35.44 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007297/10.37, allocations: 2.492 MB / 3.664 GB, free: 35.43 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.01706/10.39, allocations: 10.93 MB / 3.674 GB, free: 28.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005557/10.39, allocations: 1.754 MB / 3.676 GB, free: 28.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/10.39, allocations: 0.8458 MB / 3.677 GB, free: 27.67 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1605/10.56, allocations: 62.02 MB / 3.737 GB, free: 17.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004293/10.56, allocations: 1.39 MB / 3.739 GB, free: 16.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 5.994e-06/10.56, allocations: 0 / 3.739 GB, free: 16.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=151): time 0.01973/10.58, allocations: 6.97 MB / 3.746 GB, free: 10.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001971/10.58, allocations: 286 kB / 3.746 GB, free: 10.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/10.58, allocations: 0.8843 MB / 3.747 GB, free: 9.637 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003826/10.58, allocations: 53.7 kB / 3.747 GB, free: 9.578 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000824/10.58, allocations: 0.6669 MB / 3.747 GB, free: 8.977 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008208/10.58, allocations: 0.5146 MB / 3.748 GB, free: 8.512 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/10.58, allocations: 36.12 kB / 3.748 GB, free: 8.477 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002487/10.58, allocations: 381.6 kB / 3.748 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/10.59, allocations: 0.8883 MB / 3.749 GB, free: 7.332 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/10.59, allocations: 1.366 MB / 3.75 GB, free: 5.883 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3615/10.95, allocations: 9.805 MB / 3.76 GB, free: 66.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/10.95, allocations: 4.625 kB / 3.76 GB, free: 66.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.008192/10.96, allocations: 3.057 MB / 3.763 GB, free: 66.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001219/10.96, allocations: 5.664 MB / 3.769 GB, free: 60.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/10.96, allocations: 14.44 kB / 3.769 GB, free: 60.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01444/10.97, allocations: 2.407 MB / 3.771 GB, free: 60.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/10.98, allocations: 282.1 kB / 3.771 GB, free: 60.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005674/10.98, allocations: 3.014 MB / 3.774 GB, free: 60.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/10.98, allocations: 215.2 kB / 3.774 GB, free: 60.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004104/10.98, allocations: 89.95 kB / 3.774 GB, free: 60.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/10.98, allocations: 4.312 kB / 3.774 GB, free: 60.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007372/10.99, allocations: 2.882 MB / 3.777 GB, free: 60.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.822e-05/10.99, allocations: 18.47 kB / 3.777 GB, free: 60.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009069/11, allocations: 1.826 MB / 3.779 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/11, allocations: 302.3 kB / 3.779 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004618/11.01, allocations: 2.759 MB / 3.782 GB, free: 59.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/11.01, allocations: 205.7 kB / 3.782 GB, free: 59.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000493/11.01, allocations: 97.03 kB / 3.782 GB, free: 59.59 MB / 490.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.0007117/11.01, allocations: 230.9 kB / 3.783 GB, free: 59.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004246/11.01, allocations: 135.7 kB / 3.783 GB, free: 59.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00953/11.02, allocations: 5.73 MB / 3.788 GB, free: 59.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-05/11.02, allocations: 53.22 kB / 3.788 GB, free: 59.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/11.02, allocations: 3.953 kB / 3.788 GB, free: 59.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006689/11.03, allocations: 4.653 MB / 3.793 GB, free: 58.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/11.04, allocations: 7.985 MB / 3.801 GB, free: 57.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/11.04, allocations: 0 / 3.801 GB, free: 57.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/11.04, allocations: 257.7 kB / 3.801 GB, free: 57.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005986/11.05, allocations: 1.223 MB / 3.802 GB, free: 57.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003693/11.05, allocations: 49.25 kB / 3.802 GB, free: 57.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/11.05, allocations: 2.179 MB / 3.804 GB, free: 57.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.696e-06/11.05, allocations: 7.156 kB / 3.804 GB, free: 57.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008991/11.06, allocations: 5.411 MB / 3.81 GB, free: 56.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/11.06, allocations: 0.6222 MB / 3.81 GB, free: 56.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005291/11.07, allocations: 43.73 kB / 3.81 GB, free: 56.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/11.07, allocations: 168.9 kB / 3.81 GB, free: 56.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004143/11.07, allocations: 158.1 kB / 3.811 GB, free: 56.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/11.07, allocations: 59.31 kB / 3.811 GB, free: 56.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001693/11.07, allocations: 0.9428 MB / 3.812 GB, free: 56.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.22e-07/11.07, allocations: 0 / 3.812 GB, free: 56.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008672/11.08, allocations: 2.137 MB / 3.814 GB, free: 56.1 MB / 490.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.0103/11.09, allocations: 2.01 MB / 3.816 GB, free: 55.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009079/11.1, allocations: 3.947 MB / 3.819 GB, free: 55.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.23e-06/11.1, allocations: 0 / 3.819 GB, free: 55.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003516/11.1, allocations: 1.811 MB / 3.821 GB, free: 55.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/11.11, allocations: 0.6648 MB / 3.822 GB, free: 55.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1538/11.26, allocations: 58.7 MB / 3.879 GB, free: 49.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/11.26, allocations: 1.75 MB / 3.881 GB, free: 48.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004067/11.27, allocations: 1.403 MB / 3.882 GB, free: 48.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000491/11.27, allocations: 106.2 kB / 3.882 GB, free: 48.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.72e-06/11.27, allocations: 0 / 3.882 GB, free: 48.3 MB / 490.7 MB Notification: Performance of Templates: time 0.4403/11.71, allocations: 75.02 MB / 3.956 GB, free: 64.39 MB / 490.7 MB