Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadModel(Buildings): time 4.231/4.231, allocations: 431.3 MB / 445.8 MB, free: 5.418 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.452e-05, allocations: 10.02 kB / 0.5354 GB, free: 14.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6418/0.6419, allocations: 98.72 MB / 0.6318 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.03089/0.6728, allocations: 19.03 MB / 0.6504 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01943/0.6923, allocations: 7.93 MB / 0.6581 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.6939, allocations: 43.69 kB / 0.6582 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.6961, allocations: 0.4978 MB / 0.6587 GB, free: 380 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004675/0.7008, allocations: 0.9696 MB / 0.6596 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.009421/0.7103, allocations: 2.243 MB / 0.6618 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002829/0.7131, allocations: 0.961 MB / 0.6627 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.7143, allocations: 485.7 kB / 0.6632 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.7159, allocations: 0.5805 MB / 0.6638 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.7171, allocations: 466.5 kB / 0.6642 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.7197, allocations: 0.8932 MB / 0.6651 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000378/0.7201, allocations: 52 kB / 0.6651 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.7204, allocations: 159.3 kB / 0.6653 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.7208, allocations: 80 kB / 0.6654 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.7231, allocations: 1.002 MB / 0.6664 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7231, allocations: 0 / 0.6664 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.906e-06/0.7231, allocations: 0 / 0.6664 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.572e-05/0.7232, allocations: 0 / 0.6664 GB, free: 8.5 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002632/0.7258, allocations: 1.074 MB / 0.6674 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.7259, allocations: 8.031 kB / 0.6674 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/0.7262, allocations: 110.7 kB / 0.6675 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.7278, allocations: 0.629 MB / 0.6681 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.067e-05/0.7279, allocations: 53.3 kB / 0.6682 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.7281, allocations: 60 kB / 0.6682 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.7298, allocations: 0.6211 MB / 0.6688 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.7299, allocations: 0 / 0.6688 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/0.73, allocations: 28 kB / 0.6689 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.73, allocations: 12 kB / 0.6689 GB, free: 5.773 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.7313, allocations: 432 kB / 0.6693 GB, free: 5.355 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00551/0.7368, allocations: 2.337 MB / 0.6716 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.7381, allocations: 343.7 kB / 0.6719 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003726/0.7385, allocations: 332.4 kB / 0.6722 GB, free: 2.145 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007883/0.7393, allocations: 318.2 kB / 0.6725 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 3.156e-06/0.7393, allocations: 0 / 0.6725 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.002082/0.7414, allocations: 0.6893 MB / 0.6732 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.7416, allocations: 243.3 kB / 0.6734 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.743, allocations: 0.7126 MB / 0.6741 GB, free: 56 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.7432, allocations: 37.7 kB / 0.6742 GB, free: 12 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000506/0.7437, allocations: 436.4 kB / 0.6746 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.7439, allocations: 110.5 kB / 0.6747 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.7439, allocations: 12 kB / 0.6747 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7441, allocations: 329.9 kB / 0.675 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006385/0.7447, allocations: 189 kB / 0.6752 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007829/0.7455, allocations: 341.3 kB / 0.6755 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/0.7463, allocations: 247.7 kB / 0.6757 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.7463, allocations: 0 / 0.6757 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001888/0.7482, allocations: 0.6472 MB / 0.6764 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004095/0.7486, allocations: 0.9041 MB / 0.6773 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.7486, allocations: 4 kB / 0.6773 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.7487, allocations: 4.094 kB / 0.6773 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.7502, allocations: 159.7 kB / 0.6774 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.7516, allocations: 1.785 MB / 0.6792 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.7529, allocations: 107.5 kB / 0.6793 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.753, allocations: 27.98 kB / 0.6793 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.7531, allocations: 2.203 kB / 0.6793 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001636/0.7547, allocations: 0.5528 MB / 0.6798 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.7547, allocations: 8.234 kB / 0.6798 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.7548, allocations: 11.94 kB / 0.6799 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.7559, allocations: 127.8 kB / 0.68 GB, free: 9.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.7559, allocations: 4 kB / 0.68 GB, free: 9.816 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.7571, allocations: 99.41 kB / 0.6801 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.7572, allocations: 20 kB / 0.6801 GB, free: 9.699 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005956/0.7578, allocations: 270.5 kB / 0.6804 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.758, allocations: 98.86 kB / 0.6804 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.7599, allocations: 0.5828 MB / 0.681 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.76, allocations: 4 kB / 0.681 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.76, allocations: 0 / 0.681 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.76, allocations: 7.984 kB / 0.681 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004584/0.7646, allocations: 1.179 MB / 0.6822 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.7647, allocations: 0 / 0.6822 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.7657, allocations: 83.88 kB / 0.6823 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.699e-05/0.7658, allocations: 7.984 kB / 0.6823 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/0.7659, allocations: 11.98 kB / 0.6823 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.7677, allocations: 1.77 MB / 0.684 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.7678, allocations: 0 / 0.684 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003777/0.7716, allocations: 0.8915 MB / 0.6849 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/0.7724, allocations: 211.8 kB / 0.6851 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/0.7728, allocations: 16 kB / 0.6851 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.7743, allocations: 63.84 kB / 0.6852 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.7745, allocations: 43.88 kB / 0.6852 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/0.7746, allocations: 19.94 kB / 0.6852 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001574/0.7762, allocations: 0.5541 MB / 0.6858 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.11e-07/0.7762, allocations: 0 / 0.6858 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00238/0.7786, allocations: 443.3 kB / 0.6862 GB, free: 3.23 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001437/0.7801, allocations: 330.4 kB / 0.6865 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004611/0.7848, allocations: 0.9895 MB / 0.6875 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.7848, allocations: 0 / 0.6875 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.786, allocations: 328 kB / 0.6878 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003462/0.7895, allocations: 374.1 kB / 0.6881 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.7936, allocations: 1.644 MB / 0.6897 GB, free: 15.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.7944, allocations: 1.003 MB / 0.6907 GB, free: 14.47 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001428/0.7958, allocations: 201.1 kB / 0.6909 GB, free: 14.27 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.7961, allocations: 59.42 kB / 0.691 GB, free: 14.21 MB / 0.573 GB Notification: Performance of SimCode: time 1.122e-06/0.7961, allocations: 0 / 0.691 GB, free: 14.21 MB / 0.573 GB Notification: Performance of Templates: time 0.04926/0.8454, allocations: 16.93 MB / 0.7075 GB, free: 13.45 MB / 0.5886 GB