Running command: translateModel(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.2..h|pipe.mediums.2..p|pipe.mediums.3..h|pipe.mediums.3..p|pipe.mediums.4..h|pipe.mediums.4..p|pipe.mediums.5..h|pipe.mediums.5..p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues") Notification: Performance of loadModel(ModelicaTest): time 1.798/1.798, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.449e-05/3.46e-05, allocations: 8 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08546/0.08551, allocations: 48.69 MB / 321.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.507/6.592, allocations: 2.553 GB / 2.867 GB, free: 96.54 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/6.593, allocations: 78.33 kB / 2.868 GB, free: 96.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.149/8.742, allocations: 486.8 MB / 3.343 GB, free: 33.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.377e-06/8.742, allocations: 1.969 kB / 3.343 GB, free: 33.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001122/8.742, allocations: 44.06 kB / 3.343 GB, free: 33.72 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.009759/8.751, allocations: 2.835 MB / 3.346 GB, free: 32.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/8.751, allocations: 11.19 kB / 3.346 GB, free: 32.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006006/8.758, allocations: 0.6559 MB / 3.346 GB, free: 32.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004618/8.762, allocations: 1.514 MB / 3.348 GB, free: 32.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/8.762, allocations: 162.4 kB / 3.348 GB, free: 32.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000429/8.763, allocations: 173.4 kB / 3.348 GB, free: 32.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008438/8.771, allocations: 3.274 MB / 3.351 GB, free: 31.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.788e-05/8.771, allocations: 4.938 kB / 3.351 GB, free: 31.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/8.772, allocations: 69.12 kB / 3.351 GB, free: 31.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/8.772, allocations: 168.2 kB / 3.352 GB, free: 31.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008061/8.78, allocations: 3.067 MB / 3.355 GB, free: 31.59 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.01922/8.799, allocations: 13.35 MB / 3.368 GB, free: 24.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00576/8.805, allocations: 2.042 MB / 3.37 GB, free: 24.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/8.807, allocations: 1.001 MB / 3.371 GB, free: 23.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1578/8.964, allocations: 61.95 MB / 3.431 GB, free: 21.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004924/8.969, allocations: 1.592 MB / 3.433 GB, free: 21.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=143): time 5.362e-06/8.969, allocations: 0 / 3.433 GB, free: 21.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.02798/8.997, allocations: 9.191 MB / 3.442 GB, free: 19.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002154/8.998, allocations: 336.5 kB / 3.442 GB, free: 18.83 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/9, allocations: 1.086 MB / 3.443 GB, free: 18.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002474/9, allocations: 54.58 kB / 3.443 GB, free: 18.63 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006264/9, allocations: 0.799 MB / 3.444 GB, free: 18.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/9.001, allocations: 0.5652 MB / 3.444 GB, free: 17.87 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/9.001, allocations: 36.59 kB / 3.444 GB, free: 17.87 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000236/9.001, allocations: 394.9 kB / 3.445 GB, free: 17.56 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/9.003, allocations: 1.054 MB / 3.446 GB, free: 17.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/9.006, allocations: 1.598 MB / 3.447 GB, free: 16.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.466/15.47, allocations: 0.739 GB / 4.186 GB, free: 80.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-05/15.47, allocations: 9.562 kB / 4.186 GB, free: 80.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007419/15.48, allocations: 3.143 MB / 4.189 GB, free: 80.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001229/15.48, allocations: 6.536 MB / 4.196 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/15.48, allocations: 16.19 kB / 4.196 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/15.48, allocations: 444.6 kB / 4.196 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/15.49, allocations: 0.5164 MB / 4.197 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/15.49, allocations: 3.295 MB / 4.2 GB, free: 71.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/15.49, allocations: 260.7 kB / 4.2 GB, free: 71.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/15.49, allocations: 99.08 kB / 4.2 GB, free: 71.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/15.49, allocations: 3.25 kB / 4.2 GB, free: 71.16 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006301/15.5, allocations: 2.88 MB / 4.203 GB, free: 71.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/15.5, allocations: 19.47 kB / 4.203 GB, free: 71.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/15.5, allocations: 444.3 kB / 4.204 GB, free: 71.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/15.5, allocations: 0.5114 MB / 4.204 GB, free: 71.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/15.5, allocations: 3.299 MB / 4.207 GB, free: 68.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/15.51, allocations: 254 kB / 4.208 GB, free: 68.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/15.51, allocations: 98.09 kB / 4.208 GB, free: 68.45 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 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.0006851/15.51, allocations: 248.7 kB / 4.208 GB, free: 68.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/15.51, allocations: 155.4 kB / 4.208 GB, free: 68.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/15.52, allocations: 6.533 MB / 4.214 GB, free: 67.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-05/15.52, allocations: 69.02 kB / 4.214 GB, free: 67.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/15.52, allocations: 3.844 kB / 4.214 GB, free: 67.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007366/15.53, allocations: 5.133 MB / 4.22 GB, free: 67.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/15.54, allocations: 8.989 MB / 4.228 GB, free: 66.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/15.54, allocations: 2.062 kB / 4.228 GB, free: 66.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003545/15.55, allocations: 402.1 kB / 4.229 GB, free: 66.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002969/15.55, allocations: 0.5333 MB / 4.229 GB, free: 66.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/15.55, allocations: 58.02 kB / 4.229 GB, free: 66.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/15.55, allocations: 3.395 MB / 4.233 GB, free: 63.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.567e-06/15.55, allocations: 3.594 kB / 4.233 GB, free: 63.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/15.57, allocations: 6.429 MB / 4.239 GB, free: 63.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/15.57, allocations: 0.7681 MB / 4.24 GB, free: 63.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004186/15.57, allocations: 47.89 kB / 4.24 GB, free: 63.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/15.57, allocations: 194.8 kB / 4.24 GB, free: 63.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/15.57, allocations: 174 kB / 4.24 GB, free: 63.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/15.57, allocations: 62.86 kB / 4.24 GB, free: 63.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002061/15.57, allocations: 1.173 MB / 4.241 GB, free: 62.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.22e-07/15.57, allocations: 2.562 kB / 4.241 GB, free: 62.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008229/15.58, allocations: 2.283 MB / 4.243 GB, free: 62.89 MB / 490.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.008552/15.59, allocations: 2.008 MB / 4.245 GB, free: 62.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01094/15.6, allocations: 4.68 MB / 4.25 GB, free: 62.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.093e-06/15.6, allocations: 5.031 kB / 4.25 GB, free: 62.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004389/15.6, allocations: 2.153 MB / 4.252 GB, free: 62.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004781/15.61, allocations: 0.7187 MB / 4.253 GB, free: 62.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5223/16.13, allocations: 90.18 MB / 4.341 GB, free: 76.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002053/16.13, allocations: 2.004 MB / 4.343 GB, free: 75.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006583/16.14, allocations: 2.404 MB / 4.345 GB, free: 75.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007658/16.14, allocations: 149.4 kB / 4.345 GB, free: 75.55 MB / 490.7 MB Notification: Performance of SimCode: time 1.717e-06/16.14, allocations: 0 / 4.345 GB, free: 75.55 MB / 490.7 MB Notification: Performance of Templates: time 0.132/16.27, allocations: 71 MB / 4.415 GB, free: 72.52 MB / 490.7 MB