Running command: translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadModel(ThermoPower): time 2.229/2.229, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.497e-05/3.518e-05, allocations: 4 kB / 330.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3226, allocations: 60.23 MB / 391 MB, free: 4.75 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.77/7.093, allocations: 2.875 GB / 3.257 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/7.093, allocations: 84.59 kB / 3.257 GB, free: 44.33 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.898/8.992, allocations: 436.2 MB / 3.683 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.405e-06/8.992, allocations: 0 / 3.683 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.605e-05/8.992, allocations: 23.94 kB / 3.683 GB, free: 7.258 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.007475/8.999, allocations: 1.469 MB / 3.684 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/8.999, allocations: 12.03 kB / 3.684 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000685/9, allocations: 122.9 kB / 3.684 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/9.002, allocations: 0.5994 MB / 3.685 GB, free: 5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/9.002, allocations: 37.31 kB / 3.685 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/9.002, allocations: 56.33 kB / 3.685 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/9.004, allocations: 0.9252 MB / 3.686 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/9.004, allocations: 3.938 kB / 3.686 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/9.004, allocations: 31.95 kB / 3.686 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/9.004, allocations: 12 kB / 3.686 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/9.006, allocations: 0.7867 MB / 3.687 GB, free: 3.07 MB / 0.5105 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.003722/9.01, allocations: 3.213 MB / 3.69 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/9.011, allocations: 392.7 kB / 3.69 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/9.012, allocations: 164.4 kB / 3.69 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4793/9.491, allocations: 31.97 MB / 3.722 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/9.491, allocations: 34.44 kB / 3.722 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001026/9.492, allocations: 140.5 kB / 3.722 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 4.029e-06/9.492, allocations: 0 / 3.722 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.003675/9.496, allocations: 0.8028 MB / 3.723 GB, free: 58.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/9.496, allocations: 61.17 kB / 3.723 GB, free: 58.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008519/9.497, allocations: 0.5317 MB / 3.723 GB, free: 58.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/9.497, allocations: 30.3 kB / 3.723 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/9.497, allocations: 343.1 kB / 3.724 GB, free: 58.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/9.497, allocations: 111.5 kB / 3.724 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/9.497, allocations: 7.281 kB / 3.724 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.742e-05/9.497, allocations: 320.3 kB / 3.724 GB, free: 58.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/9.498, allocations: 108.5 kB / 3.724 GB, free: 58.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/9.498, allocations: 153 kB / 3.724 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/9.498, allocations: 126 kB / 3.724 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.473e-06/9.498, allocations: 0 / 3.724 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001407/9.5, allocations: 0.5022 MB / 3.725 GB, free: 58.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/9.5, allocations: 0.5309 MB / 3.725 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.347e-06/9.5, allocations: 0 / 3.725 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008903/9.509, allocations: 1.036 MB / 3.726 GB, free: 57.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/9.509, allocations: 62.31 kB / 3.726 GB, free: 57.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/9.511, allocations: 0.9292 MB / 3.727 GB, free: 56.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008332/9.512, allocations: 51.77 kB / 3.727 GB, free: 56.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/9.512, allocations: 23.34 kB / 3.727 GB, free: 56.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/9.512, allocations: 2.844 kB / 3.727 GB, free: 56.97 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001074/9.513, allocations: 356.9 kB / 3.728 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.8e-06/9.513, allocations: 3.844 kB / 3.728 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/9.514, allocations: 76.72 kB / 3.728 GB, free: 56.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/9.514, allocations: 101.2 kB / 3.728 GB, free: 56.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/9.516, allocations: 1.465 MB / 3.729 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/9.517, allocations: 56.58 kB / 3.729 GB, free: 55.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/9.517, allocations: 14.88 kB / 3.729 GB, free: 55.67 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/9.517, allocations: 120.9 kB / 3.729 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/9.517, allocations: 77.8 kB / 3.73 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/9.521, allocations: 2.044 MB / 3.732 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/9.521, allocations: 23.84 kB / 3.732 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.743e-06/9.521, allocations: 0 / 3.732 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/9.521, allocations: 3.719 kB / 3.732 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/9.522, allocations: 0.932 MB / 3.733 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.092e-06/9.522, allocations: 0 / 3.733 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/9.522, allocations: 50.64 kB / 3.733 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006585/9.529, allocations: 3.012 MB / 3.735 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/9.529, allocations: 10.5 kB / 3.736 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/9.532, allocations: 2.027 MB / 3.737 GB, free: 54.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.947e-06/9.532, allocations: 0 / 3.737 GB, free: 54.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/9.535, allocations: 1.76 MB / 3.739 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/9.535, allocations: 181.1 kB / 3.739 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/9.535, allocations: 14.22 kB / 3.739 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006874/9.536, allocations: 55.91 kB / 3.739 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/9.536, allocations: 35.44 kB / 3.739 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/9.536, allocations: 15.44 kB / 3.739 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005999/9.537, allocations: 428.8 kB / 3.74 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.57e-07/9.537, allocations: 3.906 kB / 3.74 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004154/9.541, allocations: 1.148 MB / 3.741 GB, free: 53.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.007178/9.548, allocations: 1.534 MB / 3.743 GB, free: 53.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002236/9.55, allocations: 0.7854 MB / 3.743 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.172e-06/9.55, allocations: 2.844 kB / 3.743 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/9.551, allocations: 441.8 kB / 3.744 GB, free: 53.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/9.554, allocations: 415.6 kB / 3.744 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/9.556, allocations: 1.166 MB / 3.745 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/9.557, allocations: 1.017 MB / 3.746 GB, free: 52.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001044/9.558, allocations: 302.5 kB / 3.747 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/9.558, allocations: 35.19 kB / 3.747 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.857e-06/9.558, allocations: 0 / 3.747 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.09565/9.654, allocations: 46 MB / 3.791 GB, free: 50.76 MB / 0.5261 GB