Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadModel(Buildings): time 4.521/4.521, allocations: 458.9 MB / 473.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.914e-05, allocations: 4.312 kB / 0.5697 GB, free: 9.809 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2678, allocations: 106.2 MB / 0.6734 GB, free: 2.625 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.03343/0.3013, allocations: 19.32 MB / 0.6923 GB, free: 15.24 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.3201, allocations: 7.964 MB / 0.7001 GB, free: 7.266 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.3216, allocations: 43.69 kB / 0.7001 GB, free: 7.223 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.3236, allocations: 0.4978 MB / 0.7006 GB, free: 6.723 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.3283, allocations: 1.001 MB / 0.7016 GB, free: 5.719 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009196/0.3375, allocations: 2.258 MB / 0.7038 GB, free: 3.469 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003188/0.3407, allocations: 0.9809 MB / 0.7048 GB, free: 2.484 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.3419, allocations: 499.9 kB / 0.7052 GB, free: 1.992 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.3435, allocations: 0.5727 MB / 0.7058 GB, free: 1.418 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.3446, allocations: 478.5 kB / 0.7062 GB, free: 0.9492 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.3471, allocations: 0.8854 MB / 0.7071 GB, free: 64 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.3474, allocations: 52 kB / 0.7072 GB, free: 12 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.3477, allocations: 159.5 kB / 0.7073 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.348, allocations: 87.94 kB / 0.7074 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.3501, allocations: 1.017 MB / 0.7084 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3502, allocations: 0 / 0.7084 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3502, allocations: 7.938 kB / 0.7084 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.143e-05/0.3502, allocations: 0 / 0.7084 GB, free: 14.74 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002667/0.3529, allocations: 1.097 MB / 0.7095 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.353, allocations: 8.031 kB / 0.7095 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.3533, allocations: 118.6 kB / 0.7096 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.3549, allocations: 0.6406 MB / 0.7102 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.355, allocations: 53.3 kB / 0.7103 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.3552, allocations: 60 kB / 0.7103 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.357, allocations: 0.6623 MB / 0.711 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.357, allocations: 0 / 0.711 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.3571, allocations: 24 kB / 0.711 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.3571, allocations: 12 kB / 0.711 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.3585, allocations: 460.9 kB / 0.7114 GB, free: 11.48 MB / 0.5886 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.005687/0.3642, allocations: 2.53 MB / 0.7139 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.3654, allocations: 363.3 kB / 0.7143 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003979/0.3658, allocations: 340.4 kB / 0.7146 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008259/0.3667, allocations: 325.7 kB / 0.7149 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=37): time 2.805e-06/0.3667, allocations: 0 / 0.7149 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37): time 0.002295/0.369, allocations: 0.7785 MB / 0.7157 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.3692, allocations: 243.4 kB / 0.7159 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.3706, allocations: 0.7256 MB / 0.7166 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.3708, allocations: 41.7 kB / 0.7166 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005077/0.3713, allocations: 428.4 kB / 0.717 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.3715, allocations: 122.3 kB / 0.7172 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.3715, allocations: 12.55 kB / 0.7172 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3717, allocations: 326 kB / 0.7175 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007034/0.3724, allocations: 205.1 kB / 0.7177 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008355/0.3733, allocations: 367.5 kB / 0.718 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007494/0.374, allocations: 247.7 kB / 0.7183 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3741, allocations: 3.938 kB / 0.7183 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00213/0.3762, allocations: 0.7333 MB / 0.719 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005331/0.3768, allocations: 1.078 MB / 0.72 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.3768, allocations: 4 kB / 0.72 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3768, allocations: 4 kB / 0.72 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.3784, allocations: 155.8 kB / 0.7202 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.3798, allocations: 1.781 MB / 0.7219 GB, free: 124 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.3811, allocations: 111.4 kB / 0.722 GB, free: 12 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.3812, allocations: 36 kB / 0.7221 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3813, allocations: 4 kB / 0.7221 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001848/0.3831, allocations: 0.6349 MB / 0.7227 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.3831, allocations: 4 kB / 0.7227 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3832, allocations: 4 kB / 0.7227 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.3842, allocations: 131.8 kB / 0.7228 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.3842, allocations: 4 kB / 0.7228 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.3854, allocations: 103.5 kB / 0.7229 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.3855, allocations: 27.98 kB / 0.723 GB, free: 15.06 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($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,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * 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.0005989/0.3861, allocations: 268.1 kB / 0.7232 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.3863, allocations: 98.83 kB / 0.7233 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.3884, allocations: 0.6747 MB / 0.724 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.3884, allocations: 4 kB / 0.724 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3884, allocations: 0 / 0.724 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3885, allocations: 7.984 kB / 0.724 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.3917, allocations: 1.523 MB / 0.7255 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.3918, allocations: 0 / 0.7255 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.3926, allocations: 91.92 kB / 0.7256 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.3926, allocations: 3.938 kB / 0.7256 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.195e-05/0.3927, allocations: 19.98 kB / 0.7256 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.3939, allocations: 1.766 MB / 0.7273 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3939, allocations: 3.938 kB / 0.7273 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.3966, allocations: 1.159 MB / 0.7284 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/0.3971, allocations: 219.8 kB / 0.7286 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.3973, allocations: 19.95 kB / 0.7287 GB, free: 8.969 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009232/0.3983, allocations: 55.94 kB / 0.7287 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.3984, allocations: 43.88 kB / 0.7288 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/0.3985, allocations: 23.98 kB / 0.7288 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001167/0.3997, allocations: 0.5666 MB / 0.7293 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.92e-07/0.3997, allocations: 0 / 0.7293 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002451/0.4022, allocations: 451.2 kB / 0.7298 GB, free: 7.828 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (38): * Single equations (assignments): 32 * 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.001143/0.4034, allocations: 345.9 kB / 0.7301 GB, free: 7.488 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003282/0.4067, allocations: 1.01 MB / 0.7311 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.4067, allocations: 4.188 kB / 0.7311 GB, free: 6.453 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.4077, allocations: 351.1 kB / 0.7314 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/0.4112, allocations: 377.2 kB / 0.7318 GB, free: 5.734 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.4155, allocations: 1.705 MB / 0.7334 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000833/0.4164, allocations: 1.022 MB / 0.7344 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001492/0.4179, allocations: 221.4 kB / 0.7347 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.4182, allocations: 51.42 kB / 0.7347 GB, free: 2.664 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.4182, allocations: 0 / 0.7347 GB, free: 2.664 MB / 0.6042 GB Notification: Performance of Templates: time 0.04918/0.4674, allocations: 17.1 MB / 0.7514 GB, free: 1.723 MB / 0.6198 GB