Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.599e-05, allocations: 3.938 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.909/7.027, allocations: 2.827 GB / 3.227 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/7.027, allocations: 76.03 kB / 3.227 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.431/10.46, allocations: 0.7519 GB / 3.979 GB, free: 46.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.06e-06/10.46, allocations: 0 / 3.979 GB, free: 46.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001228/10.46, allocations: 37.23 kB / 3.979 GB, free: 46.62 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01036/10.47, allocations: 2.757 MB / 3.982 GB, free: 45.25 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/10.47, allocations: 7.188 kB / 3.982 GB, free: 45.25 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005197/10.47, allocations: 484.6 kB / 3.982 GB, free: 45.18 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/10.48, allocations: 1.135 MB / 3.983 GB, free: 44.85 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/10.48, allocations: 143.6 kB / 3.984 GB, free: 44.79 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/10.48, allocations: 94 kB / 3.984 GB, free: 44.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005265/10.48, allocations: 1.875 MB / 3.986 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-05/10.48, allocations: 6.969 kB / 3.986 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/10.48, allocations: 40.66 kB / 3.986 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/10.48, allocations: 79.08 kB / 3.986 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005294/10.49, allocations: 1.699 MB / 3.987 GB, free: 44.44 MB / 0.5417 GB 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.01433/10.5, allocations: 8.55 MB / 3.996 GB, free: 39.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/10.51, allocations: 1.365 MB / 3.997 GB, free: 39.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009403/10.51, allocations: 472.5 kB / 3.997 GB, free: 39.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1505/10.66, allocations: 63.51 MB / 4.059 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002988/10.66, allocations: 0.8912 MB / 4.06 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 6.247e-06/10.66, allocations: 2.672 kB / 4.06 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.0113/10.67, allocations: 3.732 MB / 4.064 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002674/10.67, allocations: 406.2 kB / 4.064 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/10.67, allocations: 0.9187 MB / 4.065 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002237/10.67, allocations: 45.7 kB / 4.065 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/10.68, allocations: 0.5623 MB / 4.066 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003617/10.68, allocations: 309.3 kB / 4.066 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/10.68, allocations: 24 kB / 4.066 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005663/10.68, allocations: 359.5 kB / 4.067 GB, free: 27.41 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/10.68, allocations: 478.4 kB / 4.067 GB, free: 26.96 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/10.68, allocations: 0.9343 MB / 4.068 GB, free: 25.87 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/10.68, allocations: 0.6273 MB / 4.069 GB, free: 25.33 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/10.68, allocations: 4 kB / 4.069 GB, free: 25.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004023/10.68, allocations: 1.731 MB / 4.07 GB, free: 23.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002605/10.69, allocations: 5.408 MB / 4.075 GB, free: 17.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.872e-05/10.69, allocations: 12 kB / 4.075 GB, free: 17.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008272/10.69, allocations: 1.081 MB / 4.077 GB, free: 17.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/10.7, allocations: 248.1 kB / 4.077 GB, free: 16.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/10.7, allocations: 1.439 MB / 4.078 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/10.7, allocations: 139.4 kB / 4.078 GB, free: 15.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/10.7, allocations: 70.8 kB / 4.078 GB, free: 15.42 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/10.7, allocations: 4 kB / 4.078 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003585/10.7, allocations: 1.487 MB / 4.08 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/10.7, allocations: 12 kB / 4.08 GB, free: 14.06 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/10.71, allocations: 353.7 kB / 4.08 GB, free: 13.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/10.71, allocations: 280.6 kB / 4.08 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/10.71, allocations: 1.009 MB / 4.081 GB, free: 12.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/10.71, allocations: 122.6 kB / 4.082 GB, free: 12.46 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/10.71, allocations: 71.84 kB / 4.082 GB, free: 12.39 MB / 0.573 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.0004947/10.71, allocations: 198.3 kB / 4.082 GB, free: 12.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/10.71, allocations: 130.5 kB / 4.082 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006455/10.72, allocations: 3.967 MB / 4.086 GB, free: 8.508 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-05/10.72, allocations: 41.67 kB / 4.086 GB, free: 8.484 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.682e-06/10.72, allocations: 0 / 4.086 GB, free: 8.484 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/10.72, allocations: 7.516 kB / 4.086 GB, free: 8.48 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/10.73, allocations: 5.487 MB / 4.091 GB, free: 3.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/10.73, allocations: 0 / 4.091 GB, free: 3.73 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/10.73, allocations: 168 kB / 4.091 GB, free: 3.594 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008071/10.74, allocations: 1.804 MB / 4.093 GB, free: 2.203 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/10.74, allocations: 31.52 kB / 4.093 GB, free: 2.176 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/10.74, allocations: 2.082 MB / 4.095 GB, free: 152 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/10.74, allocations: 4.156 kB / 4.095 GB, free: 148 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3671/11.11, allocations: 3.808 MB / 4.099 GB, free: 76.43 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/11.11, allocations: 0.5333 MB / 4.099 GB, free: 76.34 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003451/11.11, allocations: 26.42 kB / 4.099 GB, free: 76.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/11.11, allocations: 91.56 kB / 4.1 GB, free: 76.34 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/11.11, allocations: 81.22 kB / 4.1 GB, free: 76.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/11.11, allocations: 36.66 kB / 4.1 GB, free: 76.34 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002321/11.11, allocations: 1.039 MB / 4.101 GB, free: 76.22 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.342e-06/11.11, allocations: 0 / 4.101 GB, free: 76.22 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009133/11.12, allocations: 2.063 MB / 4.103 GB, free: 76.22 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].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 (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01189/11.14, allocations: 2.37 MB / 4.105 GB, free: 76.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005798/11.14, allocations: 2.261 MB / 4.107 GB, free: 76.06 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.514e-06/11.14, allocations: 2.656 kB / 4.107 GB, free: 76.06 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/11.14, allocations: 0.9735 MB / 4.108 GB, free: 76.05 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004256/11.15, allocations: 0.6259 MB / 4.109 GB, free: 76.04 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006603/11.15, allocations: 2.845 MB / 4.112 GB, free: 75.41 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/11.16, allocations: 1.482 MB / 4.113 GB, free: 74.69 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003873/11.16, allocations: 1.047 MB / 4.114 GB, free: 74.66 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/11.16, allocations: 94.94 kB / 4.114 GB, free: 74.65 MB / 0.573 GB Notification: Performance of SimCode: time 1.821e-06/11.16, allocations: 1.641 kB / 4.114 GB, free: 74.65 MB / 0.573 GB Notification: Performance of Templates: time 0.1298/11.29, allocations: 68.75 MB / 4.181 GB, free: 72.71 MB / 0.573 GB