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.926/1.926, allocations: 209.3 MB / 223.8 MB, free: 0.5039 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.494e-05/2.519e-05, allocations: 0 / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3489, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization): time 0.06683/0.4158, allocations: 38.84 MB / 363.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04324/0.4591, allocations: 20.94 MB / 384.7 MB, free: 3.613 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.4608, allocations: 35.69 kB / 384.7 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.4629, allocations: 477.7 kB / 385.2 MB, free: 3.109 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01712/0.4801, allocations: 3.997 MB / 389.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01447/0.4946, allocations: 3.615 MB / 392.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004419/0.4991, allocations: 1.842 MB / 394.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.5005, allocations: 0.6355 MB / 395.2 MB, free: 9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1278/0.6283, allocations: 50.4 MB / 445.6 MB, free: 6.574 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04961/0.678, allocations: 19.7 MB / 465.3 MB, free: 2.867 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02335/0.7014, allocations: 7.609 MB / 473 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003634/0.7051, allocations: 496 kB / 473.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.7063, allocations: 490.7 kB / 473.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008425/0.7071, allocations: 196 kB / 474.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.7193, allocations: 4.603 MB / 478.7 MB, free: 5.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.7193, allocations: 0 / 478.7 MB, free: 5.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7193, allocations: 0 / 478.7 MB, free: 5.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.217e-05/0.7194, allocations: 4 kB / 478.7 MB, free: 5.477 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.009921/0.7293, allocations: 2.409 MB / 481.1 MB, free: 3.012 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.7294, allocations: 12.03 kB / 481.1 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006372/0.7358, allocations: 0.56 MB / 481.7 MB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/0.7389, allocations: 1.012 MB / 482.7 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.7392, allocations: 134.6 kB / 482.8 MB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005603/0.7398, allocations: 151.8 kB / 483 MB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2775/1.017, allocations: 2.707 MB / 485.7 MB, free: 136.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.949e-05/1.017, allocations: 10.11 kB / 485.7 MB, free: 136.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/1.018, allocations: 61.77 kB / 485.8 MB, free: 136.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002707/1.018, allocations: 122 kB / 485.9 MB, free: 136.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/1.029, allocations: 2.7 MB / 488.6 MB, free: 135.7 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02106/1.05, allocations: 10.92 MB / 499.5 MB, free: 127.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007441/1.058, allocations: 1.842 MB / 0.4896 GB, free: 127.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2202/1.278, allocations: 62.46 MB / 0.5506 GB, free: 65.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005881/1.284, allocations: 1.429 MB / 0.552 GB, free: 64.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 6.332e-06/1.284, allocations: 0 / 0.552 GB, free: 64.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=151): time 0.03287/1.317, allocations: 8.436 MB / 0.5602 GB, free: 55.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/1.317, allocations: 274.3 kB / 0.5605 GB, free: 55.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/1.319, allocations: 0.9026 MB / 0.5614 GB, free: 54.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003108/1.319, allocations: 53.7 kB / 0.5614 GB, free: 54.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005523/1.32, allocations: 0.6614 MB / 0.5621 GB, free: 53.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005729/1.32, allocations: 0.5238 MB / 0.5626 GB, free: 53.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/1.32, allocations: 40 kB / 0.5626 GB, free: 53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/1.321, allocations: 373.9 kB / 0.563 GB, free: 52.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003089/1.324, allocations: 1.011 MB / 0.564 GB, free: 51.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003546/1.327, allocations: 1.51 MB / 0.5654 GB, free: 49.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.96/8.287, allocations: 0.5846 GB / 1.15 GB, free: 103.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/8.287, allocations: 4 kB / 1.15 GB, free: 103.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01115/8.298, allocations: 3.426 MB / 1.153 GB, free: 99.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001158/8.3, allocations: 5.756 MB / 1.159 GB, free: 93.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-05/8.3, allocations: 16 kB / 1.159 GB, free: 93.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02025/8.32, allocations: 2.628 MB / 1.162 GB, free: 91.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/8.322, allocations: 279.5 kB / 1.162 GB, free: 90.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00873/8.331, allocations: 3.264 MB / 1.165 GB, free: 87.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/8.334, allocations: 208.4 kB / 1.165 GB, free: 87.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004888/8.334, allocations: 87.97 kB / 1.165 GB, free: 87.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/8.334, allocations: 4 kB / 1.165 GB, free: 87.31 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01304/8.347, allocations: 3.397 MB / 1.169 GB, free: 83.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.926e-05/8.347, allocations: 16.88 kB / 1.169 GB, free: 83.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01315/8.361, allocations: 2.044 MB / 1.171 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/8.363, allocations: 299.5 kB / 1.171 GB, free: 81.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007327/8.37, allocations: 2.999 MB / 1.174 GB, free: 78.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/8.373, allocations: 213 kB / 1.174 GB, free: 78.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004606/8.374, allocations: 87.97 kB / 1.174 GB, free: 78.27 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) 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: 66 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,pipe.state_a.phase,valve.state_b.phase,valve.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 (147): * Single equations (assignments): 146 * 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.001606/8.375, allocations: 0.5252 MB / 1.175 GB, free: 77.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004223/8.376, allocations: 136.8 kB / 1.175 GB, free: 77.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/8.389, allocations: 5.831 MB / 1.181 GB, free: 71.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.008e-05/8.389, allocations: 47.89 kB / 1.181 GB, free: 71.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/8.389, allocations: 4 kB / 1.181 GB, free: 71.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008937/8.398, allocations: 4.728 MB / 1.185 GB, free: 67.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/8.414, allocations: 8.159 MB / 1.193 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/8.414, allocations: 0 / 1.193 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/8.416, allocations: 251.8 kB / 1.193 GB, free: 58.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007651/8.424, allocations: 1.288 MB / 1.195 GB, free: 57.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004393/8.425, allocations: 51.97 kB / 1.195 GB, free: 57.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/8.429, allocations: 2.193 MB / 1.197 GB, free: 54.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/8.429, allocations: 8.031 kB / 1.197 GB, free: 54.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/8.441, allocations: 5.78 MB / 1.203 GB, free: 49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/8.442, allocations: 0.6067 MB / 1.203 GB, free: 48.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005265/8.443, allocations: 47.98 kB / 1.203 GB, free: 48.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/8.445, allocations: 155.8 kB / 1.203 GB, free: 48.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/8.446, allocations: 157 kB / 1.203 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/8.446, allocations: 55.97 kB / 1.203 GB, free: 47.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001791/8.448, allocations: 0.9537 MB / 1.204 GB, free: 47.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.7e-07/8.448, allocations: 0.7656 kB / 1.204 GB, free: 47.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007204/8.455, allocations: 1.916 MB / 1.206 GB, free: 45.21 MB / 426.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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.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.008211/8.463, allocations: 1.528 MB / 1.208 GB, free: 43.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01425/8.477, allocations: 4.396 MB / 1.212 GB, free: 39.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/8.477, allocations: 0 / 1.212 GB, free: 39.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004767/8.482, allocations: 1.932 MB / 1.214 GB, free: 37.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005759/8.488, allocations: 0.6608 MB / 1.215 GB, free: 36.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/8.5, allocations: 6.341 MB / 1.221 GB, free: 30.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/8.502, allocations: 1.74 MB / 1.223 GB, free: 28.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004811/8.507, allocations: 1.4 MB / 1.224 GB, free: 27.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/8.507, allocations: 107.4 kB / 1.224 GB, free: 27.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/8.507, allocations: 4 kB / 1.224 GB, free: 27.31 MB / 426.7 MB Notification: Performance of Templates: time 0.4264/8.934, allocations: 68.25 MB / 1.291 GB, free: 113.2 MB / 426.7 MB