Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") Notification: Performance of loadModel(ThermoPower): time 2.332/2.332, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.948e-05/2.959e-05, allocations: 4 kB / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3771, allocations: 60.24 MB / 391 MB, free: 4.887 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.945/7.322, allocations: 2.874 GB / 3.256 GB, free: 47.51 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/7.323, allocations: 71.97 kB / 3.256 GB, free: 47.44 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.234/9.557, allocations: 465.5 MB / 3.711 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.402e-06/9.557, allocations: 0 / 3.711 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.33e-05/9.557, allocations: 28.88 kB / 3.711 GB, free: 66.14 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.005593/9.562, allocations: 1.355 MB / 3.712 GB, free: 65.69 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/9.562, allocations: 9.25 kB / 3.712 GB, free: 65.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006478/9.563, allocations: 124.2 kB / 3.712 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/9.564, allocations: 0.551 MB / 3.713 GB, free: 65.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/9.564, allocations: 37.56 kB / 3.713 GB, free: 65.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.17e-05/9.565, allocations: 47.12 kB / 3.713 GB, free: 65.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/9.566, allocations: 0.7646 MB / 3.714 GB, free: 65.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/9.566, allocations: 7.266 kB / 3.714 GB, free: 65.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.481e-05/9.566, allocations: 31.61 kB / 3.714 GB, free: 65.01 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/9.566, allocations: 15.59 kB / 3.714 GB, free: 65.01 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009733/9.567, allocations: 351.7 kB / 3.714 GB, free: 65.01 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.003796/9.571, allocations: 3.335 MB / 3.717 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/9.572, allocations: 196.3 kB / 3.718 GB, free: 62.49 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/9.572, allocations: 61.55 kB / 3.718 GB, free: 62.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07259/9.644, allocations: 31.98 MB / 3.749 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/9.644, allocations: 40.47 kB / 3.749 GB, free: 43.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 3.623e-06/9.644, allocations: 0 / 3.749 GB, free: 43.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.001506/9.646, allocations: 361.1 kB / 3.749 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/9.646, allocations: 131.6 kB / 3.749 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/9.647, allocations: 0.6189 MB / 3.75 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/9.647, allocations: 28.33 kB / 3.75 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/9.647, allocations: 350.9 kB / 3.75 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/9.647, allocations: 46.61 kB / 3.75 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/9.647, allocations: 9.062 kB / 3.75 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/9.648, allocations: 309.9 kB / 3.751 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/9.648, allocations: 44.38 kB / 3.751 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/9.648, allocations: 110.6 kB / 3.751 GB, free: 42.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/9.648, allocations: 58.61 kB / 3.751 GB, free: 42.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.019e-06/9.648, allocations: 3.281 kB / 3.751 GB, free: 42.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006644/9.649, allocations: 262.7 kB / 3.751 GB, free: 42.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000228/9.649, allocations: 1.05 MB / 3.752 GB, free: 40.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/9.649, allocations: 3.844 kB / 3.752 GB, free: 40.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/9.649, allocations: 3.719 kB / 3.752 GB, free: 40.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/9.649, allocations: 58.67 kB / 3.752 GB, free: 40.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/9.649, allocations: 3.969 kB / 3.752 GB, free: 40.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/9.65, allocations: 65.06 kB / 3.752 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/9.65, allocations: 10.14 kB / 3.752 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/9.65, allocations: 6.031 kB / 3.752 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003949/9.651, allocations: 153.1 kB / 3.752 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.941e-06/9.651, allocations: 7.625 kB / 3.752 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.714e-06/9.651, allocations: 3.969 kB / 3.752 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/9.651, allocations: 47.92 kB / 3.753 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/9.651, allocations: 9.953 kB / 3.753 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007062/9.652, allocations: 53.92 kB / 3.753 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/9.652, allocations: 17.92 kB / 3.753 GB, free: 40.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/9.652, allocations: 120.4 kB / 3.753 GB, free: 40.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/9.652, allocations: 77.03 kB / 3.753 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008383/9.653, allocations: 0.5114 MB / 3.753 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.571e-06/9.653, allocations: 9.25 kB / 3.753 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.551e-06/9.653, allocations: 0 / 3.753 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.487e-06/9.653, allocations: 0 / 3.753 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/9.654, allocations: 0.617 MB / 3.754 GB, free: 40.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.601e-06/9.654, allocations: 3.75 kB / 3.754 GB, free: 40.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/9.654, allocations: 23.27 kB / 3.754 GB, free: 40.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7e-06/9.654, allocations: 0 / 3.754 GB, free: 40.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/9.654, allocations: 10.62 kB / 3.754 GB, free: 40.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.53e-06/9.654, allocations: 0 / 3.754 GB, free: 40.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.693e-06/9.654, allocations: 3.031 kB / 3.754 GB, free: 40.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/9.655, allocations: 0.5387 MB / 3.754 GB, free: 40.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/9.655, allocations: 241 kB / 3.755 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/9.656, allocations: 10.12 kB / 3.755 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006054/9.656, allocations: 15.58 kB / 3.755 GB, free: 39.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/9.656, allocations: 9.203 kB / 3.755 GB, free: 39.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/9.656, allocations: 7.172 kB / 3.755 GB, free: 39.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001134/9.657, allocations: 0.7045 MB / 3.755 GB, free: 39.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.34e-07/9.657, allocations: 0 / 3.755 GB, free: 39.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004826/9.662, allocations: 1.108 MB / 3.757 GB, free: 39.61 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007503/9.67, allocations: 1.565 MB / 3.758 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000599/9.67, allocations: 206.7 kB / 3.758 GB, free: 39.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/9.67, allocations: 0 / 3.758 GB, free: 39.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.553e-05/9.671, allocations: 38 kB / 3.758 GB, free: 39.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/9.674, allocations: 454.5 kB / 3.759 GB, free: 39.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/9.675, allocations: 0.7318 MB / 3.759 GB, free: 39.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/9.676, allocations: 0.9506 MB / 3.76 GB, free: 38.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001054/9.677, allocations: 328.2 kB / 3.761 GB, free: 38.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/9.677, allocations: 45.67 kB / 3.761 GB, free: 38.28 MB / 0.5261 GB Notification: Performance of SimCode: time 1.594e-06/9.677, allocations: 0 / 3.761 GB, free: 38.28 MB / 0.5261 GB Notification: Performance of Templates: time 0.07691/9.754, allocations: 43.86 MB / 3.804 GB, free: 35.93 MB / 0.5261 GB