Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadModel(Buildings): time 4.399/4.399, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.636e-05, allocations: 5.094 kB / 0.5731 GB, free: 5.738 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1989, allocations: 107.2 MB / 0.6778 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.221, allocations: 393.5 MB / 1.062 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/1.221, allocations: 93.31 kB / 1.062 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.53/2.751, allocations: 352 MB / 1.406 GB, free: 53.76 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.427e-06/2.752, allocations: 0 / 1.406 GB, free: 53.76 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.72e-05/2.752, allocations: 35.98 kB / 1.406 GB, free: 53.73 MB / 0.8855 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.002368/2.754, allocations: 1.163 MB / 1.407 GB, free: 52.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/2.754, allocations: 8.031 kB / 1.407 GB, free: 52.51 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/2.754, allocations: 118.7 kB / 1.407 GB, free: 52.39 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/2.756, allocations: 0.6685 MB / 1.408 GB, free: 51.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/2.756, allocations: 57 kB / 1.408 GB, free: 51.63 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/2.756, allocations: 88 kB / 1.408 GB, free: 51.54 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/2.757, allocations: 0.512 MB / 1.408 GB, free: 51 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/2.757, allocations: 0 / 1.408 GB, free: 51 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-05/2.757, allocations: 24 kB / 1.408 GB, free: 50.98 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/2.757, allocations: 12 kB / 1.408 GB, free: 50.97 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/2.758, allocations: 341.9 kB / 1.409 GB, free: 50.64 MB / 0.8855 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.00484/2.763, allocations: 2.521 MB / 1.411 GB, free: 47.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/2.764, allocations: 248.6 kB / 1.411 GB, free: 47.72 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/2.764, allocations: 116.8 kB / 1.412 GB, free: 47.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/2.764, allocations: 336.4 kB / 1.412 GB, free: 47.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/2.764, allocations: 47.02 kB / 1.412 GB, free: 47.15 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=29): time 3.624e-06/2.764, allocations: 224 / 1.412 GB, free: 47.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29): time 0.001049/2.765, allocations: 336.7 kB / 1.412 GB, free: 46.81 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/2.765, allocations: 59.34 kB / 1.412 GB, free: 46.74 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/2.766, allocations: 0.6491 MB / 1.413 GB, free: 46.08 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001947/2.767, allocations: 45.7 kB / 1.413 GB, free: 46.03 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/2.767, allocations: 438.6 kB / 1.413 GB, free: 45.59 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/2.767, allocations: 98.64 kB / 1.414 GB, free: 45.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/2.767, allocations: 12 kB / 1.414 GB, free: 45.48 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.405e-05/2.767, allocations: 326 kB / 1.414 GB, free: 45.16 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/2.768, allocations: 129.1 kB / 1.414 GB, free: 45.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008966/2.769, allocations: 0.7652 MB / 1.415 GB, free: 44.04 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/2.769, allocations: 220.2 kB / 1.415 GB, free: 43.83 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.643e-06/2.769, allocations: 4 kB / 1.415 GB, free: 43.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001304/2.77, allocations: 0.5067 MB / 1.415 GB, free: 43.31 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/2.771, allocations: 0.7939 MB / 1.416 GB, free: 42.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/2.771, allocations: 4 kB / 1.416 GB, free: 42.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/2.771, allocations: 4 kB / 1.416 GB, free: 42.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/2.772, allocations: 175.7 kB / 1.416 GB, free: 42.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/2.773, allocations: 2.364 MB / 1.419 GB, free: 39.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/2.775, allocations: 391.5 kB / 1.419 GB, free: 39.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/2.776, allocations: 27.98 kB / 1.419 GB, free: 39.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/2.776, allocations: 4 kB / 1.419 GB, free: 39.41 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009488/2.777, allocations: 390.2 kB / 1.419 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.077e-06/2.777, allocations: 4 kB / 1.419 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/2.777, allocations: 7.984 kB / 1.419 GB, free: 39.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008162/2.777, allocations: 135.8 kB / 1.42 GB, free: 38.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/2.778, allocations: 8 kB / 1.42 GB, free: 38.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/2.78, allocations: 383.8 kB / 1.42 GB, free: 38.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/2.78, allocations: 23.98 kB / 1.42 GB, free: 38.47 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000248/2.78, allocations: 149.4 kB / 1.42 GB, free: 38.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/2.78, allocations: 82.95 kB / 1.42 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/2.782, allocations: 441.5 kB / 1.421 GB, free: 37.79 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/2.782, allocations: 7.938 kB / 1.421 GB, free: 37.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.067e-06/2.782, allocations: 4 kB / 1.421 GB, free: 37.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/2.782, allocations: 4 kB / 1.421 GB, free: 37.78 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/2.784, allocations: 1.102 MB / 1.422 GB, free: 36.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.387e-06/2.784, allocations: 0 / 1.422 GB, free: 36.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/2.785, allocations: 100 kB / 1.422 GB, free: 36.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/2.785, allocations: 7.938 kB / 1.422 GB, free: 36.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/2.785, allocations: 11.98 kB / 1.422 GB, free: 36.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008752/2.785, allocations: 2.352 MB / 1.424 GB, free: 34.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.64e-06/2.786, allocations: 4.031 kB / 1.424 GB, free: 34.04 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008244/2.786, allocations: 0.528 MB / 1.425 GB, free: 33.46 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/2.787, allocations: 199.9 kB / 1.425 GB, free: 33.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/2.787, allocations: 8 kB / 1.425 GB, free: 33.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/2.788, allocations: 67.73 kB / 1.425 GB, free: 33.17 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/2.788, allocations: 27.91 kB / 1.425 GB, free: 33.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/2.788, allocations: 16 kB / 1.425 GB, free: 33.13 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007929/2.788, allocations: 0.4952 MB / 1.425 GB, free: 32.64 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.57e-07/2.789, allocations: 0 / 1.425 GB, free: 32.64 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00178/2.79, allocations: 0.4993 MB / 1.426 GB, free: 32.14 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/2.791, allocations: 492.4 kB / 1.426 GB, free: 31.65 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002095/2.793, allocations: 0.6329 MB / 1.427 GB, free: 31.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.857e-06/2.794, allocations: 0 / 1.427 GB, free: 31.02 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005692/2.794, allocations: 188.8 kB / 1.427 GB, free: 30.83 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/2.797, allocations: 408.2 kB / 1.428 GB, free: 30.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/2.799, allocations: 0.8922 MB / 1.428 GB, free: 29.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/2.799, allocations: 0.9875 MB / 1.429 GB, free: 28.48 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001373/2.8, allocations: 221.8 kB / 1.43 GB, free: 28.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/2.801, allocations: 55.42 kB / 1.43 GB, free: 28.21 MB / 0.8855 GB Notification: Performance of SimCode: time 1.652e-06/2.801, allocations: 0 / 1.43 GB, free: 28.21 MB / 0.8855 GB Notification: Performance of Templates: time 0.04518/2.846, allocations: 22.09 MB / 1.451 GB, free: 6.43 MB / 0.8855 GB