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_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.255/2.255, allocations: 234.9 MB / 249.4 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.169e-05, allocations: 4 kB / 308 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3479, allocations: 54.87 MB / 362.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization): time 0.08414/0.4321, allocations: 52.86 MB / 415.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04933/0.4815, allocations: 25.1 MB / 440.8 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.4838, allocations: 47.62 kB / 440.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.4861, allocations: 0.5713 MB / 441.5 MB, free: 12.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.5036, allocations: 4.663 MB / 446.1 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01542/0.5191, allocations: 3.931 MB / 450.1 MB, free: 4.324 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004686/0.5238, allocations: 1.629 MB / 451.7 MB, free: 2.688 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.5254, allocations: 0.5785 MB / 452.3 MB, free: 2.109 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.454/0.9794, allocations: 50 MB / 0.4905 GB, free: 40.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05339/1.033, allocations: 25.4 MB / 0.5153 GB, free: 21.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02245/1.055, allocations: 8.395 MB / 0.5235 GB, free: 16.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003748/1.059, allocations: 0.5078 MB / 0.524 GB, free: 16.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000919/1.06, allocations: 347.2 kB / 0.5243 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007159/1.061, allocations: 148 kB / 0.5245 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/1.073, allocations: 4.761 MB / 0.5291 GB, free: 12.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.073, allocations: 0 / 0.5291 GB, free: 12.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.046e-06/1.073, allocations: 0 / 0.5291 GB, free: 12.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.558e-05/1.073, allocations: 0 / 0.5291 GB, free: 12.5 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.009052/1.082, allocations: 2.222 MB / 0.5313 GB, free: 10.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/1.082, allocations: 12.03 kB / 0.5313 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004785/1.087, allocations: 474.8 kB / 0.5317 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/1.089, allocations: 0.9449 MB / 0.5327 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/1.089, allocations: 145.3 kB / 0.5328 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/1.09, allocations: 94.61 kB / 0.5329 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006523/1.096, allocations: 1.865 MB / 0.5347 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.282e-05/1.096, allocations: 10.72 kB / 0.5347 GB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/1.097, allocations: 42.67 kB / 0.5348 GB, free: 7.641 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/1.097, allocations: 82.58 kB / 0.5348 GB, free: 7.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007032/1.104, allocations: 1.792 MB / 0.5366 GB, free: 6.363 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.01902/1.123, allocations: 8.552 MB / 0.5449 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005995/1.129, allocations: 1.405 MB / 0.5463 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2276/1.357, allocations: 64.16 MB / 0.609 GB, free: 7.203 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00379/1.361, allocations: 0.8875 MB / 0.6098 GB, free: 6.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 5.03e-06/1.361, allocations: 0 / 0.6098 GB, free: 6.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=86): time 0.02196/1.383, allocations: 4.592 MB / 0.6143 GB, free: 2.789 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002899/1.383, allocations: 409.1 kB / 0.6147 GB, free: 2.305 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/1.386, allocations: 0.9337 MB / 0.6156 GB, free: 1.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003209/1.386, allocations: 42.77 kB / 0.6157 GB, free: 1.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009498/1.387, allocations: 0.5717 MB / 0.6162 GB, free: 1.188 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000653/1.388, allocations: 302.4 kB / 0.6165 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/1.388, allocations: 30.75 kB / 0.6165 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002748/1.389, allocations: 359.1 kB / 0.6169 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002843/1.391, allocations: 0.539 MB / 0.6174 GB, free: 252 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0033/1.395, allocations: 1.026 MB / 0.6184 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003217/1.398, allocations: 0.7122 MB / 0.6191 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/1.398, allocations: 8 kB / 0.6191 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.009459/1.408, allocations: 1.936 MB / 0.621 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002961/1.411, allocations: 5.585 MB / 0.6265 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.297e-05/1.411, allocations: 12 kB / 0.6265 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0149/1.426, allocations: 1.136 MB / 0.6276 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/1.428, allocations: 252.3 kB / 0.6278 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005172/1.433, allocations: 1.497 MB / 0.6293 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/1.437, allocations: 128.2 kB / 0.6294 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/1.437, allocations: 78.34 kB / 0.6295 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.437, allocations: 4 kB / 0.6295 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008254/1.445, allocations: 1.698 MB / 0.6311 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.223e-05/1.445, allocations: 12 kB / 0.6312 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00356/1.449, allocations: 399.7 kB / 0.6315 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/1.452, allocations: 290.4 kB / 0.6318 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/1.455, allocations: 1.081 MB / 0.6329 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/1.457, allocations: 124.8 kB / 0.633 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002344/1.457, allocations: 68.03 kB / 0.6331 GB, free: 2.418 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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.heatTransfer.states[1].phase,pipe.volume.inFlow[2],pipe.volume.inFlow[1],sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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.001101/1.458, allocations: 396.6 kB / 0.6334 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/1.459, allocations: 128.8 kB / 0.6336 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008758/1.467, allocations: 4.05 MB / 0.6375 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.501e-05/1.468, allocations: 42 kB / 0.6375 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.468, allocations: 4 kB / 0.6376 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-05/1.468, allocations: 7.969 kB / 0.6376 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/1.479, allocations: 5.538 MB / 0.643 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/1.48, allocations: 4 kB / 0.643 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/1.481, allocations: 175.2 kB / 0.6431 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01126/1.492, allocations: 1.553 MB / 0.6447 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002447/1.493, allocations: 29.36 kB / 0.6447 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002562/1.495, allocations: 2.072 MB / 0.6467 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/1.495, allocations: 7.125 kB / 0.6467 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008977/1.504, allocations: 4.003 MB / 0.6506 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.506, allocations: 0.5165 MB / 0.6511 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004285/1.506, allocations: 23.25 kB / 0.6512 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/1.508, allocations: 98.77 kB / 0.6512 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/1.508, allocations: 80.81 kB / 0.6513 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.508, allocations: 39.55 kB / 0.6514 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002359/1.511, allocations: 1.048 MB / 0.6524 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.71e-07/1.511, allocations: 0 / 0.6524 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00712/1.518, allocations: 1.815 MB / 0.6542 GB, free: 2.773 MB / 0.5105 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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.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.008821/1.527, allocations: 1.673 MB / 0.6558 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008252/1.535, allocations: 2.512 MB / 0.6582 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.535, allocations: 8 kB / 0.6583 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002924/1.538, allocations: 1.055 MB / 0.6593 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005541/1.543, allocations: 0.6227 MB / 0.6599 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009033/1.553, allocations: 4.439 MB / 0.6642 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/1.554, allocations: 1.478 MB / 0.6657 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003952/1.558, allocations: 1.041 MB / 0.6667 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003958/1.558, allocations: 91.42 kB / 0.6668 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/1.558, allocations: 0 / 0.6668 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of Templates: time 0.4271/1.986, allocations: 57.53 MB / 0.723 GB, free: 192.1 MB / 0.5261 GB