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_trunk_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.648e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 61.88 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.806/6.918, allocations: 2.827 GB / 3.227 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/6.918, allocations: 83.27 kB / 3.227 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.453/10.37, allocations: 0.7519 GB / 3.979 GB, free: 36.75 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.097e-06/10.37, allocations: 0 / 3.979 GB, free: 36.75 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001362/10.37, allocations: 37.41 kB / 3.979 GB, free: 36.75 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.01106/10.38, allocations: 2.754 MB / 3.982 GB, free: 35.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/10.38, allocations: 8.75 kB / 3.982 GB, free: 35.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/10.39, allocations: 480.5 kB / 3.982 GB, free: 35.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/10.39, allocations: 1.133 MB / 3.984 GB, free: 35.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/10.39, allocations: 142 kB / 3.984 GB, free: 35.13 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/10.39, allocations: 94.31 kB / 3.984 GB, free: 35.13 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00545/10.4, allocations: 1.867 MB / 3.986 GB, free: 34.79 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/10.4, allocations: 10.03 kB / 3.986 GB, free: 34.79 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/10.4, allocations: 50.62 kB / 3.986 GB, free: 34.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/10.4, allocations: 81.78 kB / 3.986 GB, free: 34.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005386/10.4, allocations: 1.687 MB / 3.987 GB, free: 34.79 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.01504/10.42, allocations: 8.549 MB / 3.996 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/10.42, allocations: 1.357 MB / 3.997 GB, free: 29.58 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/10.42, allocations: 474.7 kB / 3.997 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1479/10.57, allocations: 63.51 MB / 4.059 GB, free: 22.31 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002999/10.57, allocations: 0.8905 MB / 4.06 GB, free: 22.18 MB / 0.573 GB Notification: Performance of pre-optimization done (n=82): time 4.846e-06/10.57, allocations: 0 / 4.06 GB, free: 22.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=86): time 0.01153/10.59, allocations: 3.738 MB / 4.064 GB, free: 21.06 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002561/10.59, allocations: 400.9 kB / 4.064 GB, free: 20.59 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/10.59, allocations: 0.9212 MB / 4.065 GB, free: 20.43 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000251/10.59, allocations: 47.8 kB / 4.065 GB, free: 20.39 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000518/10.59, allocations: 0.5704 MB / 4.066 GB, free: 20.13 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/10.59, allocations: 303 kB / 4.066 GB, free: 19.95 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/10.59, allocations: 26.91 kB / 4.066 GB, free: 19.95 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002051/10.59, allocations: 352.7 kB / 4.067 GB, free: 19.64 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/10.59, allocations: 477.8 kB / 4.067 GB, free: 19.64 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/10.59, allocations: 0.9381 MB / 4.068 GB, free: 19.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/10.59, allocations: 0.6311 MB / 4.069 GB, free: 19.04 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/10.59, allocations: 3.312 kB / 4.069 GB, free: 19.04 MB / 0.573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004429/10.6, allocations: 1.733 MB / 4.07 GB, free: 18.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00302/10.6, allocations: 5.4 MB / 4.075 GB, free: 29.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.132e-05/10.6, allocations: 18.25 kB / 4.076 GB, free: 29.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007875/10.61, allocations: 1.079 MB / 4.077 GB, free: 29.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/10.61, allocations: 248.5 kB / 4.077 GB, free: 29.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/10.61, allocations: 1.436 MB / 4.078 GB, free: 28.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/10.61, allocations: 135.3 kB / 4.078 GB, free: 28.64 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/10.61, allocations: 69.45 kB / 4.078 GB, free: 28.64 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/10.61, allocations: 0 / 4.078 GB, free: 28.64 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00369/10.62, allocations: 1.498 MB / 4.08 GB, free: 28.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/10.62, allocations: 13.91 kB / 4.08 GB, free: 28.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/10.62, allocations: 349.9 kB / 4.08 GB, free: 28.58 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/10.62, allocations: 283.6 kB / 4.08 GB, free: 28.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/10.62, allocations: 1.004 MB / 4.081 GB, free: 28.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/10.63, allocations: 126.2 kB / 4.082 GB, free: 28.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/10.63, allocations: 69.64 kB / 4.082 GB, free: 28.04 MB / 0.5886 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.0005354/10.63, allocations: 203.7 kB / 4.082 GB, free: 27.92 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/10.63, allocations: 127.1 kB / 4.082 GB, free: 27.86 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006316/10.63, allocations: 3.965 MB / 4.086 GB, free: 27.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.345e-05/10.63, allocations: 45.8 kB / 4.086 GB, free: 27.41 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/10.63, allocations: 3.906 kB / 4.086 GB, free: 27.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-05/10.63, allocations: 7.594 kB / 4.086 GB, free: 27.41 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009134/10.64, allocations: 5.478 MB / 4.091 GB, free: 26.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/10.64, allocations: 3.188 kB / 4.091 GB, free: 26.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/10.64, allocations: 175 kB / 4.091 GB, free: 26.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008569/10.65, allocations: 1.796 MB / 4.093 GB, free: 26.69 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/10.65, allocations: 31.08 kB / 4.093 GB, free: 26.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/10.65, allocations: 2.082 MB / 4.095 GB, free: 25.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.05e-06/10.65, allocations: 5.469 kB / 4.095 GB, free: 25.62 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006095/10.66, allocations: 3.811 MB / 4.099 GB, free: 25.04 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/10.66, allocations: 0.5305 MB / 4.099 GB, free: 24.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/10.66, allocations: 26.2 kB / 4.099 GB, free: 24.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/10.66, allocations: 93.16 kB / 4.1 GB, free: 24.78 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/10.66, allocations: 88.06 kB / 4.1 GB, free: 24.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/10.66, allocations: 33.39 kB / 4.1 GB, free: 24.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001985/10.67, allocations: 1.033 MB / 4.101 GB, free: 24.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.124e-06/10.67, allocations: 0 / 4.101 GB, free: 24.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008285/10.67, allocations: 2.063 MB / 4.103 GB, free: 24.34 MB / 0.5886 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.01087/10.69, allocations: 2.39 MB / 4.105 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005454/10.69, allocations: 2.251 MB / 4.107 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/10.69, allocations: 2.188 kB / 4.107 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/10.69, allocations: 0.9789 MB / 4.108 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/10.7, allocations: 0.6377 MB / 4.109 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005685/10.7, allocations: 2.847 MB / 4.112 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/10.7, allocations: 1.481 MB / 4.113 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003286/10.71, allocations: 1.046 MB / 4.114 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/10.71, allocations: 92.2 kB / 4.114 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.758e-06/10.71, allocations: 0 / 4.114 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.5035/11.21, allocations: 68.74 MB / 4.181 GB, free: 81.08 MB / 0.5886 GB