Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadModel(Buildings): time 3.664/3.664, allocations: 402 MB / 416.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.135e-05, allocations: 4 kB / 0.5009 GB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2187, allocations: 92.69 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.5849/0.8037, allocations: 18.92 MB / 0.6099 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.8249, allocations: 7.452 MB / 0.6172 GB, free: 296 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.8268, allocations: 37.69 kB / 0.6173 GB, free: 280 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.8292, allocations: 494.3 kB / 0.6177 GB, free: 24 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.8345, allocations: 0.9139 MB / 0.6186 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01257/0.8471, allocations: 2.105 MB / 0.6207 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004042/0.8512, allocations: 0.9385 MB / 0.6216 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.8529, allocations: 493.5 kB / 0.6221 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.8553, allocations: 0.6115 MB / 0.6227 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.8568, allocations: 489.6 kB / 0.6231 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/0.8604, allocations: 0.8315 MB / 0.6239 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004743/0.8609, allocations: 55.91 kB / 0.624 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004059/0.8613, allocations: 170.1 kB / 0.6242 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005322/0.8619, allocations: 94.31 kB / 0.6242 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.865, allocations: 1.058 MB / 0.6253 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.865, allocations: 0 / 0.6253 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.986e-06/0.865, allocations: 0 / 0.6253 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.145e-05/0.8651, allocations: 0 / 0.6253 GB, free: 12.79 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003825/0.8689, allocations: 1.104 MB / 0.6264 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.869, allocations: 8.578 kB / 0.6264 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.8717, allocations: 209.5 kB / 0.6266 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.8742, allocations: 0.638 MB / 0.6272 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.8743, allocations: 58.92 kB / 0.6272 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.8746, allocations: 65.12 kB / 0.6273 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008145/0.8827, allocations: 1.072 MB / 0.6284 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.8828, allocations: 1.344 kB / 0.6284 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.883, allocations: 28.38 kB / 0.6284 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/0.8831, allocations: 21.94 kB / 0.6284 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007772/0.8908, allocations: 0.8251 MB / 0.6292 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009652/0.9005, allocations: 3.48 MB / 0.6326 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007158/0.9077, allocations: 0.7059 MB / 0.6333 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000448/0.9082, allocations: 103.7 kB / 0.6334 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006425/0.9147, allocations: 0.6412 MB / 0.634 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 4.699e-06/0.9147, allocations: 0.8438 kB / 0.634 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.01217/0.9269, allocations: 1.322 MB / 0.6353 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.9271, allocations: 295 kB / 0.6356 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.9287, allocations: 0.7499 MB / 0.6363 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.9288, allocations: 39.45 kB / 0.6364 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/0.9294, allocations: 471.5 kB / 0.6368 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.9296, allocations: 122.7 kB / 0.6369 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.9297, allocations: 15.69 kB / 0.6369 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.9299, allocations: 329 kB / 0.6373 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.9314, allocations: 310.1 kB / 0.6376 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.9332, allocations: 0.5275 MB / 0.6381 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.9348, allocations: 370.3 kB / 0.6384 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.9348, allocations: 1.375 kB / 0.6384 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003878/0.9387, allocations: 0.9545 MB / 0.6394 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008847/0.9396, allocations: 1.949 MB / 0.6413 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.9397, allocations: 9.453 kB / 0.6413 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.9397, allocations: 16.19 kB / 0.6413 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0064/0.9461, allocations: 467.6 kB / 0.6417 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/0.9502, allocations: 1.981 MB / 0.6437 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.9526, allocations: 174.5 kB / 0.6438 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.9528, allocations: 40.22 kB / 0.6439 GB, free: 464 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.9528, allocations: 7.312 kB / 0.6439 GB, free: 464 kB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003134/0.9559, allocations: 0.7858 MB / 0.6446 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.956, allocations: 5.5 kB / 0.6446 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.956, allocations: 7.969 kB / 0.6447 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.9577, allocations: 192 kB / 0.6448 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.9577, allocations: 8.281 kB / 0.6448 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.9597, allocations: 146 kB / 0.645 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/0.9598, allocations: 31.02 kB / 0.645 GB, free: 15.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (76): * Single equations (assignments): 72 * 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.0007905/0.9606, allocations: 291.8 kB / 0.6453 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.9609, allocations: 101.3 kB / 0.6454 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/0.9642, allocations: 0.7061 MB / 0.6461 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.9643, allocations: 5.047 kB / 0.6461 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.9643, allocations: 2.406 kB / 0.6461 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/0.965, allocations: 222 kB / 0.6463 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/0.9653, allocations: 10.69 kB / 0.6463 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.967, allocations: 104 kB / 0.6464 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.9672, allocations: 46.2 kB / 0.6465 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009454/0.9767, allocations: 1.555 MB / 0.648 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004995/0.9817, allocations: 1.573 MB / 0.6495 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00145/0.9832, allocations: 330.9 kB / 0.6498 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001219/0.9844, allocations: 0.5771 MB / 0.6504 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of Backend: time 6.61e-07/0.9844, allocations: 1.312 kB / 0.6504 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008115/0.9926, allocations: 1.08 MB / 0.6514 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of SimCode: time 0.006379/0.999, allocations: 2.392 MB / 0.6538 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of Templates: time 0.05303/1.052, allocations: 18.02 MB / 0.6714 GB, free: 11.86 MB / 0.5417 GB