Running command: translateModel(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") Notification: Performance of loadModel(ThermoPower): time 2.199/2.199, allocations: 254.6 MB / 267.6 MB, free: 12.38 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.257e-05/4.279e-05, allocations: 4 kB / 330.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.348, allocations: 60.24 MB / 391 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.306/7.654, allocations: 2.925 GB / 3.307 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/7.655, allocations: 77 kB / 3.307 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.168/8.823, allocations: 303.7 MB / 3.603 GB, free: 88.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.535e-06/8.823, allocations: 0 / 3.603 GB, free: 88.15 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.183e-05/8.823, allocations: 25.31 kB / 3.604 GB, free: 88.14 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005418/8.829, allocations: 1.473 MB / 3.605 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/8.829, allocations: 7.906 kB / 3.605 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/8.83, allocations: 211.5 kB / 3.605 GB, free: 87.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/8.832, allocations: 0.6634 MB / 3.606 GB, free: 86.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/8.832, allocations: 64.09 kB / 3.606 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/8.832, allocations: 75.59 kB / 3.606 GB, free: 86.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004802/8.837, allocations: 1.745 MB / 3.608 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/8.837, allocations: 0 / 3.608 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/8.837, allocations: 27.69 kB / 3.608 GB, free: 86.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/8.837, allocations: 32.08 kB / 3.608 GB, free: 86.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/8.842, allocations: 1.602 MB / 3.609 GB, free: 85.56 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.005383/8.847, allocations: 3.71 MB / 3.613 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/8.852, allocations: 1.198 MB / 3.614 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/8.852, allocations: 274.6 kB / 3.614 GB, free: 82.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1286/8.981, allocations: 63.97 MB / 3.677 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/8.981, allocations: 43.06 kB / 3.677 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=56): time 4.197e-06/8.981, allocations: 0 / 3.677 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56): time 0.006411/8.987, allocations: 1.663 MB / 3.678 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/8.987, allocations: 55.97 kB / 3.679 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007248/8.988, allocations: 464.9 kB / 3.679 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/8.988, allocations: 41.7 kB / 3.679 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/8.989, allocations: 359 kB / 3.679 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/8.989, allocations: 204.3 kB / 3.68 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/8.989, allocations: 8 kB / 3.68 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001082/8.989, allocations: 374.8 kB / 3.68 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009495/8.99, allocations: 489.3 kB / 3.68 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/8.991, allocations: 0.6649 MB / 3.681 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/8.992, allocations: 0.5262 MB / 3.682 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.123e-06/8.992, allocations: 0 / 3.682 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004026/8.996, allocations: 1.776 MB / 3.683 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002278/8.996, allocations: 1.057 MB / 3.684 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/8.996, allocations: 4 kB / 3.684 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004798/9.001, allocations: 1.47 MB / 3.686 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/9.002, allocations: 71.89 kB / 3.686 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/9.006, allocations: 2.149 MB / 3.688 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/9.007, allocations: 123.3 kB / 3.688 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/9.007, allocations: 79.92 kB / 3.688 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/9.007, allocations: 4 kB / 3.688 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003868/9.011, allocations: 1.685 MB / 3.69 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/9.011, allocations: 0 / 3.69 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/9.015, allocations: 1.392 MB / 3.691 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/9.016, allocations: 75.89 kB / 3.691 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/9.02, allocations: 2.097 MB / 3.693 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/9.021, allocations: 127.3 kB / 3.693 GB, free: 488 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/9.021, allocations: 71.92 kB / 3.693 GB, free: 416 kB / 0.5105 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 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 37} Notification: Performance of prepare postOptimizeDAE: time 0.0003314/9.021, allocations: 142.4 kB / 3.694 GB, free: 268 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/9.022, allocations: 67.23 kB / 3.694 GB, free: 200 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/9.033, allocations: 8.022 MB / 3.701 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.833e-05/9.033, allocations: 23.97 kB / 3.701 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.271e-06/9.033, allocations: 0 / 3.701 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/9.033, allocations: 3.984 kB / 3.701 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005233/9.039, allocations: 3.713 MB / 3.705 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.616e-06/9.039, allocations: 0 / 3.705 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/9.041, allocations: 219.6 kB / 3.705 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007866/9.042, allocations: 141.5 kB / 3.705 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/9.042, allocations: 19.98 kB / 3.705 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3716/9.413, allocations: 4.019 MB / 3.709 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.816e-06/9.413, allocations: 7.062 kB / 3.709 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/9.431, allocations: 1.896 MB / 3.711 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/9.432, allocations: 238.1 kB / 3.711 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/9.433, allocations: 16.25 kB / 3.711 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/9.435, allocations: 70.31 kB / 3.712 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/9.435, allocations: 42.12 kB / 3.712 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/9.435, allocations: 22.33 kB / 3.712 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001251/9.437, allocations: 362.8 kB / 3.712 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.359e-06/9.437, allocations: 0 / 3.712 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02613/9.463, allocations: 1.242 MB / 3.713 GB, free: 105.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (boiler.p,boiler.htilde[1],heater.p,heater.htilde[1]) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00769/9.471, allocations: 1.325 MB / 3.714 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004785/9.476, allocations: 1.918 MB / 3.716 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.648e-06/9.476, allocations: 3.375 kB / 3.716 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/9.478, allocations: 0.8483 MB / 3.717 GB, free: 105 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/9.48, allocations: 282.8 kB / 3.717 GB, free: 105 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/9.484, allocations: 1.698 MB / 3.719 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/9.485, allocations: 1.093 MB / 3.72 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001234/9.486, allocations: 250.3 kB / 3.72 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/9.487, allocations: 56.44 kB / 3.72 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.793e-06/9.487, allocations: 3.562 kB / 3.72 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.09539/9.582, allocations: 59.24 MB / 3.778 GB, free: 101.1 MB / 0.5261 GB