Running command: translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") Notification: Performance of loadModel(ThermoPower): time 2.298/2.298, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.949e-05, allocations: 4 kB / 330.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3164, allocations: 60.23 MB / 391 MB, free: 4.891 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.187/7.503, allocations: 2.917 GB / 3.299 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/7.503, allocations: 79.69 kB / 3.299 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.137/8.64, allocations: 300 MB / 3.592 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.285e-06/8.64, allocations: 0 / 3.592 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.315e-05/8.64, allocations: 23.98 kB / 3.592 GB, free: 22.01 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.004036/8.644, allocations: 1.083 MB / 3.593 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/8.644, allocations: 8.031 kB / 3.593 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/8.645, allocations: 95.39 kB / 3.593 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/8.646, allocations: 362.7 kB / 3.594 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/8.646, allocations: 20.78 kB / 3.594 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/8.646, allocations: 36.69 kB / 3.594 GB, free: 20.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009304/8.647, allocations: 459.5 kB / 3.594 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/8.647, allocations: 3.953 kB / 3.594 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/8.647, allocations: 12 kB / 3.594 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/8.647, allocations: 8 kB / 3.594 GB, free: 19.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/8.647, allocations: 281.4 kB / 3.595 GB, free: 19.54 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.00207/8.65, allocations: 2.151 MB / 3.597 GB, free: 17.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/8.65, allocations: 255.1 kB / 3.597 GB, free: 16.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/8.651, allocations: 92.86 kB / 3.597 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3788/9.029, allocations: 31.97 MB / 3.628 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/9.029, allocations: 30.56 kB / 3.628 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.64e-06/9.029, allocations: 3.609 kB / 3.628 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.005705/9.035, allocations: 1.392 MB / 3.63 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/9.035, allocations: 55.94 kB / 3.63 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/9.036, allocations: 271.5 kB / 3.63 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/9.036, allocations: 31.95 kB / 3.63 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/9.036, allocations: 203.6 kB / 3.63 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/9.036, allocations: 124.9 kB / 3.63 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/9.036, allocations: 6.812 kB / 3.63 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/9.036, allocations: 352.4 kB / 3.631 GB, free: 66.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/9.036, allocations: 101.6 kB / 3.631 GB, free: 66.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/9.037, allocations: 153.9 kB / 3.631 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/9.037, allocations: 127.7 kB / 3.631 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.781e-06/9.037, allocations: 0 / 3.631 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001155/9.038, allocations: 417.4 kB / 3.631 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/9.038, allocations: 0.5281 MB / 3.632 GB, free: 65.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.301e-06/9.038, allocations: 2.531 kB / 3.632 GB, free: 65.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/9.039, allocations: 94.52 kB / 3.632 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/9.039, allocations: 80.66 kB / 3.632 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008423/9.04, allocations: 1.11 MB / 3.633 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/9.041, allocations: 37.2 kB / 3.633 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/9.041, allocations: 18.77 kB / 3.633 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/9.041, allocations: 6.219 kB / 3.633 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009478/9.042, allocations: 340.2 kB / 3.633 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.318e-06/9.042, allocations: 3.938 kB / 3.633 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/9.043, allocations: 91.86 kB / 3.634 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/9.043, allocations: 77.25 kB / 3.634 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007893/9.044, allocations: 1.107 MB / 3.635 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/9.044, allocations: 45.73 kB / 3.635 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/9.044, allocations: 10 kB / 3.635 GB, free: 63.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Valve.fluidState.phase,Tank2.liquidState.phase,Tank1.liquidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001394/9.045, allocations: 124 kB / 3.635 GB, free: 63.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/9.045, allocations: 38.36 kB / 3.635 GB, free: 63.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/9.047, allocations: 1.153 MB / 3.636 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/9.047, allocations: 14.45 kB / 3.636 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.695e-06/9.047, allocations: 3.844 kB / 3.636 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.419e-06/9.047, allocations: 0 / 3.636 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000934/9.048, allocations: 0.6801 MB / 3.637 GB, free: 63.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.977e-06/9.048, allocations: 0 / 3.637 GB, free: 63.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/9.048, allocations: 68.08 kB / 3.637 GB, free: 63.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007666/9.049, allocations: 144.2 kB / 3.637 GB, free: 63.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/9.049, allocations: 11.09 kB / 3.637 GB, free: 63.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008366/9.05, allocations: 1.188 MB / 3.638 GB, free: 62.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.942e-06/9.05, allocations: 0 / 3.638 GB, free: 62.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/9.052, allocations: 1.184 MB / 3.639 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/9.052, allocations: 154.3 kB / 3.639 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/9.052, allocations: 10.06 kB / 3.639 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/9.052, allocations: 31.69 kB / 3.639 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/9.053, allocations: 21.88 kB / 3.639 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/9.053, allocations: 14.22 kB / 3.639 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002625/9.053, allocations: 218.9 kB / 3.64 GB, free: 61.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.66e-07/9.053, allocations: 1.312 kB / 3.64 GB, free: 61.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003807/9.057, allocations: 0.9625 MB / 3.641 GB, free: 61.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00683/9.064, allocations: 1.325 MB / 3.642 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001693/9.065, allocations: 0.6435 MB / 3.643 GB, free: 61.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/9.065, allocations: 0 / 3.643 GB, free: 61.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007631/9.066, allocations: 371.1 kB / 3.643 GB, free: 61.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/9.068, allocations: 199.3 kB / 3.643 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/9.069, allocations: 0.9984 MB / 3.644 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/9.07, allocations: 0.8716 MB / 3.645 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006863/9.071, allocations: 210.4 kB / 3.645 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/9.071, allocations: 36.09 kB / 3.645 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.719e-06/9.071, allocations: 3.344 kB / 3.645 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.05673/9.127, allocations: 33.78 MB / 3.678 GB, free: 59.13 MB / 0.5105 GB