Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_3.2.2_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization") Notification: Performance of loadModel(ModelicaTestOverdetermined): time 1.927/1.927, allocations: 195.4 MB / 209.9 MB, free: 7.445 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.867e-05, allocations: 0 / 258.3 MB, free: 7.004 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3055, allocations: 44.67 MB / 303 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization): time 0.06566/0.3712, allocations: 39.11 MB / 342.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.05734/0.4286, allocations: 21.05 MB / 363.1 MB, free: 0.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.4309, allocations: 39.69 kB / 363.1 MB, free: 472 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.4339, allocations: 473.8 kB / 363.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02173/0.4557, allocations: 4.038 MB / 367.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01957/0.4753, allocations: 3.643 MB / 371.3 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004463/0.4798, allocations: 1.889 MB / 373.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.4813, allocations: 0.6316 MB / 373.8 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4065/0.8878, allocations: 50.56 MB / 424.4 MB, free: 42.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04024/0.9281, allocations: 19.84 MB / 444.2 MB, free: 26.92 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02065/0.9488, allocations: 7.713 MB / 451.9 MB, free: 22.44 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003654/0.9525, allocations: 0.4961 MB / 452.4 MB, free: 21.94 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.9537, allocations: 497.9 kB / 452.9 MB, free: 21.62 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008985/0.9546, allocations: 192 kB / 453.1 MB, free: 21.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.9657, allocations: 4.636 MB / 457.7 MB, free: 17.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.9658, allocations: 0 / 457.7 MB, free: 17.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.25e-06/0.9658, allocations: 0 / 457.7 MB, free: 17.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.071e-05/0.9659, allocations: 6.719 kB / 457.7 MB, free: 17.5 MB / 346.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.009827/0.9757, allocations: 2.448 MB / 460.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.9758, allocations: 8.031 kB / 460.2 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006303/0.9821, allocations: 0.5769 MB / 460.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.9849, allocations: 1.011 MB / 461.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.9852, allocations: 137.3 kB / 461.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004601/0.9857, allocations: 136.2 kB / 462 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009112/0.9948, allocations: 2.715 MB / 464.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-05/0.9949, allocations: 8.875 kB / 464.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002958/0.9952, allocations: 60.33 kB / 464.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/0.9954, allocations: 127.8 kB / 465 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/1.006, allocations: 2.694 MB / 467.6 MB, free: 9.375 MB / 346.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.02028/1.026, allocations: 10.92 MB / 478.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007754/1.034, allocations: 1.853 MB / 480.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2438/1.278, allocations: 62.53 MB / 0.5302 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006313/1.284, allocations: 1.428 MB / 0.5316 GB, free: 9.066 MB / 426.7 MB Notification: Performance of pre-optimization done (n=127): time 5.45e-06/1.284, allocations: 0 / 0.5316 GB, free: 9.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=151): time 0.03631/1.321, allocations: 8.432 MB / 0.5399 GB, free: 2.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/1.321, allocations: 280.9 kB / 0.5401 GB, free: 2.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/1.323, allocations: 0.8864 MB / 0.541 GB, free: 1.379 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000418/1.323, allocations: 58.25 kB / 0.5411 GB, free: 1.336 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007361/1.324, allocations: 0.6685 MB / 0.5417 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008098/1.325, allocations: 0.5185 MB / 0.5422 GB, free: 412 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/1.325, allocations: 37 kB / 0.5422 GB, free: 404 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/1.325, allocations: 383.1 kB / 0.5426 GB, free: 44 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/1.329, allocations: 1.009 MB / 0.5436 GB, free: 15.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004173/1.333, allocations: 1.509 MB / 0.5451 GB, free: 14.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.152/8.485, allocations: 0.5846 GB / 1.13 GB, free: 83.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/8.485, allocations: 4 kB / 1.13 GB, free: 83.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01081/8.496, allocations: 3.434 MB / 1.133 GB, free: 79.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001179/8.497, allocations: 5.75 MB / 1.139 GB, free: 73.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.217e-05/8.497, allocations: 16 kB / 1.139 GB, free: 73.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02022/8.518, allocations: 2.638 MB / 1.141 GB, free: 71.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/8.519, allocations: 275.6 kB / 1.142 GB, free: 70.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008254/8.528, allocations: 3.266 MB / 1.145 GB, free: 67.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/8.531, allocations: 207 kB / 1.145 GB, free: 67.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/8.531, allocations: 95.98 kB / 1.145 GB, free: 67.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/8.531, allocations: 4 kB / 1.145 GB, free: 67.29 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01118/8.542, allocations: 3.401 MB / 1.148 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-05/8.542, allocations: 16 kB / 1.148 GB, free: 63.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01314/8.556, allocations: 2.044 MB / 1.15 GB, free: 61.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/8.558, allocations: 291.5 kB / 1.151 GB, free: 61.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007433/8.565, allocations: 2.994 MB / 1.154 GB, free: 58.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/8.568, allocations: 207.7 kB / 1.154 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/8.568, allocations: 87.98 kB / 1.154 GB, free: 58.26 MB / 442.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.001318/8.57, allocations: 0.5228 MB / 1.154 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003685/8.57, allocations: 143.3 kB / 1.154 GB, free: 57.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/8.582, allocations: 5.824 MB / 1.16 GB, free: 51.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.353e-05/8.582, allocations: 55.92 kB / 1.16 GB, free: 51.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/8.582, allocations: 4 kB / 1.16 GB, free: 51.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008858/8.591, allocations: 4.718 MB / 1.165 GB, free: 47.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/8.608, allocations: 8.156 MB / 1.173 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/8.608, allocations: 4 kB / 1.173 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001943/8.61, allocations: 261.8 kB / 1.173 GB, free: 38.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007289/8.617, allocations: 1.28 MB / 1.174 GB, free: 37.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003143/8.617, allocations: 51.97 kB / 1.174 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/8.621, allocations: 2.194 MB / 1.176 GB, free: 34.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/8.621, allocations: 3.984 kB / 1.176 GB, free: 34.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2758/8.897, allocations: 5.782 MB / 1.182 GB, free: 184.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/8.899, allocations: 0.6035 MB / 1.183 GB, free: 184.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005431/8.899, allocations: 43.59 kB / 1.183 GB, free: 184.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/8.902, allocations: 165.9 kB / 1.183 GB, free: 184.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000425/8.902, allocations: 152.1 kB / 1.183 GB, free: 184.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/8.902, allocations: 58 kB / 1.183 GB, free: 184.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00183/8.904, allocations: 0.9566 MB / 1.184 GB, free: 184.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/8.904, allocations: 0 / 1.184 GB, free: 184.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006573/8.911, allocations: 1.919 MB / 1.186 GB, free: 184.1 MB / 442.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.007963/8.919, allocations: 1.532 MB / 1.187 GB, free: 183.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01308/8.932, allocations: 4.387 MB / 1.192 GB, free: 182.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/8.932, allocations: 0 / 1.192 GB, free: 182.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004781/8.937, allocations: 1.935 MB / 1.194 GB, free: 181.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005924/8.943, allocations: 0.6602 MB / 1.194 GB, free: 181.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/8.955, allocations: 6.337 MB / 1.2 GB, free: 175.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/8.956, allocations: 1.751 MB / 1.202 GB, free: 173.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004583/8.961, allocations: 1.403 MB / 1.204 GB, free: 172 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/8.961, allocations: 103.4 kB / 1.204 GB, free: 171.9 MB / 442.7 MB Notification: Performance of SimCode: time 9.61e-07/8.961, allocations: 4 kB / 1.204 GB, free: 171.8 MB / 442.7 MB Notification: Performance of Templates: time 0.1397/9.101, allocations: 68.44 MB / 1.27 GB, free: 103.4 MB / 442.7 MB