Running command: translateModel(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.3..h|pipe.mediums.4..h|pipe.mediums.5..h|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization") Notification: Performance of loadModel(ModelicaTest): time 1.838/1.838, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.663e-05, allocations: 8 kB / 273.1 MB, free: 3.176 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08811/0.08817, allocations: 48.69 MB / 321.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.235/6.323, allocations: 2.553 GB / 2.867 GB, free: 76.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/6.323, allocations: 76.95 kB / 2.868 GB, free: 76.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.133/8.457, allocations: 483.1 MB / 3.339 GB, free: 39.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.045e-06/8.457, allocations: 2.938 kB / 3.339 GB, free: 39.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001392/8.457, allocations: 40.48 kB / 3.339 GB, free: 39.25 MB / 442.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.01119/8.468, allocations: 2.821 MB / 3.342 GB, free: 38.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/8.468, allocations: 10.34 kB / 3.342 GB, free: 38.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00671/8.475, allocations: 0.5654 MB / 3.343 GB, free: 38.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004635/8.48, allocations: 1.477 MB / 3.344 GB, free: 37.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/8.48, allocations: 136.7 kB / 3.344 GB, free: 37.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005393/8.48, allocations: 133.3 kB / 3.344 GB, free: 37.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007521/8.488, allocations: 2.683 MB / 3.347 GB, free: 37.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.276e-05/8.488, allocations: 13.12 kB / 3.347 GB, free: 37.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/8.488, allocations: 66.52 kB / 3.347 GB, free: 37.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/8.488, allocations: 109.2 kB / 3.347 GB, free: 37.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00755/8.496, allocations: 2.496 MB / 3.35 GB, free: 37.3 MB / 442.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.01695/8.513, allocations: 10.91 MB / 3.36 GB, free: 30.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005382/8.518, allocations: 1.746 MB / 3.362 GB, free: 30.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/8.52, allocations: 0.8492 MB / 3.363 GB, free: 30.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1537/8.674, allocations: 61.94 MB / 3.423 GB, free: 6.996 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004111/8.678, allocations: 1.387 MB / 3.425 GB, free: 5.914 MB / 458.7 MB Notification: Performance of pre-optimization done (n=127): time 5.588e-06/8.678, allocations: 0 / 3.425 GB, free: 5.914 MB / 458.7 MB Notification: Performance of matching and sorting (n=151): time 0.01877/8.697, allocations: 6.967 MB / 3.431 GB, free: 15.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/8.697, allocations: 287.3 kB / 3.432 GB, free: 15.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/8.699, allocations: 0.8833 MB / 3.433 GB, free: 14.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002904/8.699, allocations: 49.7 kB / 3.433 GB, free: 14.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007476/8.7, allocations: 0.6764 MB / 3.433 GB, free: 14.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007052/8.701, allocations: 0.5179 MB / 3.434 GB, free: 13.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/8.701, allocations: 36 kB / 3.434 GB, free: 13.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002436/8.701, allocations: 378.1 kB / 3.434 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/8.703, allocations: 0.8826 MB / 3.435 GB, free: 12.49 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/8.705, allocations: 1.366 MB / 3.436 GB, free: 11.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.049/13.75, allocations: 0.5687 GB / 4.005 GB, free: 80.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-05/13.75, allocations: 4.938 kB / 4.005 GB, free: 80.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.006835/13.76, allocations: 3.054 MB / 4.008 GB, free: 80.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001159/13.76, allocations: 5.668 MB / 4.014 GB, free: 75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/13.76, allocations: 14.19 kB / 4.014 GB, free: 75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01499/13.78, allocations: 2.381 MB / 4.016 GB, free: 74.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/13.78, allocations: 276.5 kB / 4.016 GB, free: 74.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005284/13.78, allocations: 3.019 MB / 4.019 GB, free: 74.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/13.79, allocations: 213.1 kB / 4.019 GB, free: 74.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003225/13.79, allocations: 91.03 kB / 4.02 GB, free: 74.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/13.79, allocations: 8.594 kB / 4.02 GB, free: 74.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006437/13.79, allocations: 2.875 MB / 4.022 GB, free: 74.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-05/13.79, allocations: 17.52 kB / 4.022 GB, free: 74.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009331/13.8, allocations: 1.831 MB / 4.024 GB, free: 74.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/13.8, allocations: 302.5 kB / 4.024 GB, free: 74.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/13.81, allocations: 2.75 MB / 4.027 GB, free: 73.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/13.81, allocations: 210.4 kB / 4.027 GB, free: 73.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003485/13.81, allocations: 92.02 kB / 4.027 GB, free: 73.7 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.0006263/13.81, allocations: 234.7 kB / 4.028 GB, free: 73.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/13.81, allocations: 143.7 kB / 4.028 GB, free: 73.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009141/13.82, allocations: 5.73 MB / 4.033 GB, free: 73.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.119e-05/13.82, allocations: 49.31 kB / 4.033 GB, free: 73.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/13.82, allocations: 3.156 kB / 4.033 GB, free: 73.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007385/13.83, allocations: 4.645 MB / 4.038 GB, free: 72.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02262/13.85, allocations: 7.985 MB / 4.046 GB, free: 71.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.579e-05/13.85, allocations: 0 / 4.046 GB, free: 71.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/13.86, allocations: 255.6 kB / 4.046 GB, free: 71.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009467/13.86, allocations: 1.229 MB / 4.047 GB, free: 71.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004552/13.87, allocations: 55.08 kB / 4.047 GB, free: 71.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005448/13.87, allocations: 2.182 MB / 4.049 GB, free: 71.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/13.87, allocations: 4.344 kB / 4.049 GB, free: 71.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/13.89, allocations: 5.412 MB / 4.055 GB, free: 70.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002389/13.89, allocations: 0.612 MB / 4.055 GB, free: 70.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007536/13.89, allocations: 45.47 kB / 4.055 GB, free: 70.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/13.89, allocations: 171.5 kB / 4.055 GB, free: 70.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006412/13.89, allocations: 155.8 kB / 4.056 GB, free: 70.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000292/13.89, allocations: 56.36 kB / 4.056 GB, free: 70.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00284/13.9, allocations: 0.9456 MB / 4.057 GB, free: 70.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.57e-06/13.9, allocations: 0 / 4.057 GB, free: 70.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01273/13.91, allocations: 2.116 MB / 4.059 GB, free: 70.12 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.0142/13.92, allocations: 2.001 MB / 4.061 GB, free: 69.85 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01384/13.94, allocations: 3.942 MB / 4.064 GB, free: 69.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/13.94, allocations: 4.719 kB / 4.064 GB, free: 69.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006041/13.94, allocations: 1.809 MB / 4.066 GB, free: 69.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009569/13.95, allocations: 0.678 MB / 4.067 GB, free: 69.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4256/14.38, allocations: 58.51 MB / 4.124 GB, free: 77.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/14.38, allocations: 1.756 MB / 4.126 GB, free: 76.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004168/14.38, allocations: 1.395 MB / 4.127 GB, free: 76.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/14.38, allocations: 105.6 kB / 4.127 GB, free: 76.49 MB / 490.7 MB Notification: Performance of SimCode: time 1.73e-06/14.38, allocations: 0 / 4.127 GB, free: 76.49 MB / 490.7 MB Notification: Performance of Templates: time 0.1396/14.52, allocations: 74.71 MB / 4.2 GB, free: 74.04 MB / 490.7 MB