Running command: translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") Notification: Performance of loadModel(ThermoPower): time 2.199/2.199, allocations: 254.6 MB / 267.6 MB, free: 12.37 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.241e-05, allocations: 4 kB / 330.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.315, allocations: 60.23 MB / 391 MB, free: 4.883 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.083/7.398, allocations: 2.874 GB / 3.256 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/7.398, allocations: 77.45 kB / 3.256 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.08/8.478, allocations: 268.6 MB / 3.519 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.238e-06/8.478, allocations: 0 / 3.519 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.85e-05/8.478, allocations: 23.64 kB / 3.519 GB, free: 88.84 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.004004/8.482, allocations: 1.11 MB / 3.52 GB, free: 87.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/8.482, allocations: 11.88 kB / 3.52 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/8.483, allocations: 75.05 kB / 3.52 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/8.483, allocations: 392.9 kB / 3.52 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/8.483, allocations: 20.78 kB / 3.52 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/8.483, allocations: 32 kB / 3.52 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008396/8.484, allocations: 409.5 kB / 3.521 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/8.484, allocations: 3.938 kB / 3.521 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/8.484, allocations: 19.95 kB / 3.521 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/8.484, allocations: 8 kB / 3.521 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006329/8.485, allocations: 226.8 kB / 3.521 GB, free: 86.68 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.001902/8.487, allocations: 1.854 MB / 3.523 GB, free: 84.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/8.487, allocations: 153 kB / 3.523 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/8.487, allocations: 56.86 kB / 3.523 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06307/8.551, allocations: 31.97 MB / 3.554 GB, free: 50.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/8.551, allocations: 38.56 kB / 3.554 GB, free: 50.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.954e-06/8.551, allocations: 4 kB / 3.554 GB, free: 50.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.001169/8.552, allocations: 322 kB / 3.554 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/8.552, allocations: 55.41 kB / 3.554 GB, free: 50.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/8.552, allocations: 347.1 kB / 3.555 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/8.552, allocations: 29.7 kB / 3.555 GB, free: 49.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/8.552, allocations: 216.1 kB / 3.555 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/8.553, allocations: 54.25 kB / 3.555 GB, free: 49.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/8.553, allocations: 8 kB / 3.555 GB, free: 49.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.031e-05/8.553, allocations: 354.8 kB / 3.555 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/8.553, allocations: 40.38 kB / 3.555 GB, free: 49.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/8.553, allocations: 76.83 kB / 3.556 GB, free: 49.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/8.553, allocations: 56.7 kB / 3.556 GB, free: 48.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-06/8.553, allocations: 0 / 3.556 GB, free: 48.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005759/8.554, allocations: 239 kB / 3.556 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/8.554, allocations: 450.8 kB / 3.556 GB, free: 48.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/8.554, allocations: 0 / 3.556 GB, free: 48.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/8.555, allocations: 172.7 kB / 3.556 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/8.556, allocations: 59.89 kB / 3.557 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007087/8.556, allocations: 0.6379 MB / 3.557 GB, free: 47.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/8.557, allocations: 43.77 kB / 3.557 GB, free: 47.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/8.557, allocations: 11.98 kB / 3.557 GB, free: 47.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/8.557, allocations: 4 kB / 3.557 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007071/8.558, allocations: 192.6 kB / 3.557 GB, free: 47.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/8.558, allocations: 4 kB / 3.557 GB, free: 47.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/8.558, allocations: 80.77 kB / 3.557 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/8.558, allocations: 75.97 kB / 3.558 GB, free: 46.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/8.56, allocations: 1.448 MB / 3.559 GB, free: 45.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/8.56, allocations: 39.83 kB / 3.559 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/8.561, allocations: 15.89 kB / 3.559 GB, free: 45.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000101/8.561, allocations: 111.6 kB / 3.559 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.969e-05/8.561, allocations: 39.53 kB / 3.559 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/8.562, allocations: 0.944 MB / 3.56 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/8.562, allocations: 4 kB / 3.56 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.98e-06/8.562, allocations: 4 kB / 3.56 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.323e-06/8.562, allocations: 3.984 kB / 3.56 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/8.563, allocations: 0.5408 MB / 3.561 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.934e-06/8.563, allocations: 3.938 kB / 3.561 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/8.563, allocations: 27.98 kB / 3.561 GB, free: 43.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/8.565, allocations: 0.9451 MB / 3.562 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/8.565, allocations: 3.984 kB / 3.562 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009994/8.566, allocations: 1.057 MB / 3.563 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.505e-06/8.566, allocations: 0 / 3.563 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/8.567, allocations: 0.8335 MB / 3.563 GB, free: 40.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/8.567, allocations: 152.2 kB / 3.564 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/8.567, allocations: 4.062 kB / 3.564 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/8.568, allocations: 23.98 kB / 3.564 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/8.568, allocations: 15.97 kB / 3.564 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/8.568, allocations: 4 kB / 3.564 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004347/8.568, allocations: 329.6 kB / 3.564 GB, free: 40.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.42e-07/8.568, allocations: 4 kB / 3.564 GB, free: 40.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003856/8.572, allocations: 0.9795 MB / 3.565 GB, free: 39.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006434/8.579, allocations: 1.295 MB / 3.566 GB, free: 38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001165/8.58, allocations: 412.5 kB / 3.567 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.482e-06/8.58, allocations: 3.938 kB / 3.567 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/8.58, allocations: 180.5 kB / 3.567 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/8.582, allocations: 213.9 kB / 3.567 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/8.583, allocations: 0.5807 MB / 3.567 GB, free: 36.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/8.583, allocations: 0.8521 MB / 3.568 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005633/8.584, allocations: 198.9 kB / 3.568 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/8.584, allocations: 23.44 kB / 3.569 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.614e-06/8.584, allocations: 0 / 3.569 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.05168/8.635, allocations: 32.85 MB / 3.601 GB, free: 2.68 MB / 0.5105 GB