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.3_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.262/2.262, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.197e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3242, allocations: 58.82 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.692/7.016, allocations: 2.822 GB / 3.195 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/7.016, allocations: 79.08 kB / 3.195 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.329/10.35, allocations: 0.7445 GB / 3.94 GB, free: 42.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.108e-06/10.35, allocations: 0 / 3.94 GB, free: 42.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001358/10.35, allocations: 31.36 kB / 3.94 GB, free: 42.09 MB / 0.5261 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.01078/10.36, allocations: 2.755 MB / 3.942 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/10.36, allocations: 7.875 kB / 3.942 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/10.36, allocations: 481.3 kB / 3.943 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/10.36, allocations: 1.124 MB / 3.944 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/10.37, allocations: 148.9 kB / 3.944 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003361/10.37, allocations: 92.94 kB / 3.944 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005356/10.37, allocations: 1.875 MB / 3.946 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.004e-05/10.37, allocations: 8.984 kB / 3.946 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/10.37, allocations: 41.48 kB / 3.946 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/10.37, allocations: 80.7 kB / 3.946 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0054/10.38, allocations: 1.694 MB / 3.948 GB, free: 40.29 MB / 0.5261 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.01524/10.39, allocations: 8.556 MB / 3.956 GB, free: 35.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/10.4, allocations: 1.369 MB / 3.957 GB, free: 35.07 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/10.4, allocations: 470.7 kB / 3.958 GB, free: 35.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1531/10.55, allocations: 63.49 MB / 4.02 GB, free: 28.05 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003024/10.55, allocations: 0.8895 MB / 4.021 GB, free: 27.91 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=82): time 4.755e-06/10.55, allocations: 3.656 kB / 4.021 GB, free: 27.91 MB / 0.5574 GB Notification: Performance of matching and sorting (n=86): time 0.0112/10.56, allocations: 3.736 MB / 4.024 GB, free: 26.8 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002587/10.57, allocations: 404.7 kB / 4.025 GB, free: 26.32 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/10.57, allocations: 0.9224 MB / 4.026 GB, free: 26.16 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/10.57, allocations: 41.22 kB / 4.026 GB, free: 26.12 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/10.57, allocations: 0.5706 MB / 4.026 GB, free: 25.86 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/10.57, allocations: 305 kB / 4.026 GB, free: 25.68 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/10.57, allocations: 23.91 kB / 4.026 GB, free: 25.68 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0002043/10.57, allocations: 355.7 kB / 4.027 GB, free: 25.38 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/10.57, allocations: 478.2 kB / 4.027 GB, free: 25.37 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/10.57, allocations: 0.9331 MB / 4.028 GB, free: 24.8 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/10.57, allocations: 0.6346 MB / 4.029 GB, free: 24.76 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/10.57, allocations: 3.938 kB / 4.029 GB, free: 24.76 MB / 0.5574 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004057/10.58, allocations: 1.729 MB / 4.031 GB, free: 24.64 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.002573/10.58, allocations: 5.402 MB / 4.036 GB, free: 18.97 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/10.58, allocations: 14.38 kB / 4.036 GB, free: 18.97 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008185/10.59, allocations: 1.079 MB / 4.037 GB, free: 18.93 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/10.59, allocations: 247.2 kB / 4.037 GB, free: 18.93 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/10.59, allocations: 1.453 MB / 4.039 GB, free: 18.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/10.59, allocations: 132.3 kB / 4.039 GB, free: 18.36 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/10.59, allocations: 71.53 kB / 4.039 GB, free: 18.36 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/10.59, allocations: 5.281 kB / 4.039 GB, free: 18.36 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003698/10.6, allocations: 1.485 MB / 4.04 GB, free: 18.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/10.6, allocations: 19.22 kB / 4.04 GB, free: 18.32 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001796/10.6, allocations: 346.1 kB / 4.041 GB, free: 18.31 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/10.6, allocations: 284.3 kB / 4.041 GB, free: 18.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/10.6, allocations: 1.003 MB / 4.042 GB, free: 17.78 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/10.6, allocations: 131.2 kB / 4.042 GB, free: 17.76 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/10.6, allocations: 63.88 kB / 4.042 GB, free: 17.76 MB / 0.5574 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.000491/10.6, allocations: 199.3 kB / 4.042 GB, free: 17.64 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/10.6, allocations: 130.7 kB / 4.042 GB, free: 17.57 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005989/10.61, allocations: 3.955 MB / 4.046 GB, free: 17.14 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-05/10.61, allocations: 47.67 kB / 4.046 GB, free: 17.14 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/10.61, allocations: 3.797 kB / 4.046 GB, free: 17.14 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/10.61, allocations: 8.984 kB / 4.046 GB, free: 17.14 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008376/10.62, allocations: 5.481 MB / 4.052 GB, free: 16.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/10.62, allocations: 0.7656 kB / 4.052 GB, free: 16.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/10.62, allocations: 177.9 kB / 4.052 GB, free: 16.49 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008439/10.63, allocations: 1.797 MB / 4.053 GB, free: 16.4 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/10.63, allocations: 30.72 kB / 4.053 GB, free: 16.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/10.63, allocations: 2.086 MB / 4.056 GB, free: 15.34 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/10.63, allocations: 3.75 kB / 4.056 GB, free: 15.34 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/10.64, allocations: 3.803 MB / 4.059 GB, free: 14.75 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/10.64, allocations: 0.5333 MB / 4.06 GB, free: 14.51 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/10.64, allocations: 20.69 kB / 4.06 GB, free: 14.51 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/10.64, allocations: 100.8 kB / 4.06 GB, free: 14.49 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/10.64, allocations: 80.92 kB / 4.06 GB, free: 14.49 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/10.64, allocations: 35.11 kB / 4.06 GB, free: 14.49 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.001894/10.64, allocations: 1.039 MB / 4.061 GB, free: 14.37 MB / 0.5574 GB Notification: Performance of sort global known variables: time 7.24e-07/10.64, allocations: 0 / 4.061 GB, free: 14.37 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.007792/10.65, allocations: 2.059 MB / 4.063 GB, free: 14.06 MB / 0.5574 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.01048/10.66, allocations: 2.372 MB / 4.065 GB, free: 13.5 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.005397/10.67, allocations: 2.254 MB / 4.068 GB, free: 13.45 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.691e-06/10.67, allocations: 2.188 kB / 4.068 GB, free: 13.45 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/10.67, allocations: 0.9717 MB / 4.068 GB, free: 13.44 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/10.67, allocations: 0.6475 MB / 4.069 GB, free: 13.39 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/10.68, allocations: 2.853 MB / 4.072 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/10.68, allocations: 1.479 MB / 4.073 GB, free: 11.92 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.003282/10.68, allocations: 1.046 MB / 4.074 GB, free: 11.86 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/10.68, allocations: 90.58 kB / 4.074 GB, free: 11.86 MB / 0.5574 GB Notification: Performance of SimCode: time 1.609e-06/10.68, allocations: 0 / 4.074 GB, free: 11.86 MB / 0.5574 GB Notification: Performance of Templates: time 0.4784/11.16, allocations: 68.89 MB / 4.142 GB, free: 87.02 MB / 0.573 GB