Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.419/4.419, allocations: 432.7 MB / 444.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.088e-05, allocations: 3.781 kB / 0.5338 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2501, allocations: 98.72 MB / 0.6302 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.464, allocations: 386.1 MB / 1.007 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004136/1.464, allocations: 89.84 kB / 1.007 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.606/3.071, allocations: 290.4 MB / 1.291 GB, free: 124.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.054e-06/3.071, allocations: 0 / 1.291 GB, free: 124.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001027/3.071, allocations: 23.98 kB / 1.291 GB, free: 124.8 MB / 0.823 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.003272/3.074, allocations: 1.221 MB / 1.292 GB, free: 123.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/3.074, allocations: 12.03 kB / 1.292 GB, free: 123.5 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/3.075, allocations: 102.4 kB / 1.292 GB, free: 123.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/3.075, allocations: 114.7 kB / 1.292 GB, free: 123.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/3.077, allocations: 0.6445 MB / 1.293 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/3.077, allocations: 49.31 kB / 1.293 GB, free: 122.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/3.077, allocations: 64 kB / 1.293 GB, free: 122.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/3.079, allocations: 0.6147 MB / 1.294 GB, free: 121.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/3.079, allocations: 0 / 1.294 GB, free: 121.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/3.079, allocations: 31.88 kB / 1.294 GB, free: 121.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/3.079, allocations: 12 kB / 1.294 GB, free: 121.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/3.08, allocations: 398.1 kB / 1.294 GB, free: 121.4 MB / 0.823 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.005502/3.085, allocations: 2.384 MB / 1.296 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00083/3.086, allocations: 306.7 kB / 1.297 GB, free: 118.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/3.087, allocations: 173.1 kB / 1.297 GB, free: 118.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/3.087, allocations: 344.4 kB / 1.297 GB, free: 118 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005755/3.088, allocations: 321.4 kB / 1.298 GB, free: 117.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 3.327e-06/3.088, allocations: 0 / 1.298 GB, free: 117.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.001381/3.089, allocations: 476.5 kB / 1.298 GB, free: 117.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/3.089, allocations: 247.5 kB / 1.298 GB, free: 116.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/3.09, allocations: 0.7013 MB / 1.299 GB, free: 116.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/3.091, allocations: 45.69 kB / 1.299 GB, free: 116.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/3.091, allocations: 440.3 kB / 1.299 GB, free: 115.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/3.091, allocations: 106.5 kB / 1.3 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/3.091, allocations: 12 kB / 1.3 GB, free: 115.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.224e-05/3.091, allocations: 326 kB / 1.3 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/3.092, allocations: 193.1 kB / 1.3 GB, free: 115 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/3.092, allocations: 365.4 kB / 1.3 GB, free: 114.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/3.093, allocations: 254.6 kB / 1.301 GB, free: 114.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/3.093, allocations: 4.312 kB / 1.301 GB, free: 114.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001607/3.094, allocations: 0.6355 MB / 1.301 GB, free: 113.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002212/3.095, allocations: 0.912 MB / 1.302 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/3.095, allocations: 3.938 kB / 1.302 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/3.095, allocations: 15.95 kB / 1.302 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/3.096, allocations: 147.8 kB / 1.302 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/3.098, allocations: 1.785 MB / 1.304 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/3.099, allocations: 127.3 kB / 1.304 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/3.099, allocations: 31.98 kB / 1.304 GB, free: 110.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/3.099, allocations: 6.188 kB / 1.304 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001364/3.101, allocations: 0.5489 MB / 1.305 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/3.101, allocations: 4 kB / 1.305 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/3.101, allocations: 8 kB / 1.305 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/3.102, allocations: 127.9 kB / 1.305 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/3.102, allocations: 8.219 kB / 1.305 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/3.103, allocations: 123.3 kB / 1.305 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.08e-05/3.103, allocations: 31.98 kB / 1.305 GB, free: 109.7 MB / 0.823 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.0002688/3.104, allocations: 174.5 kB / 1.305 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/3.104, allocations: 86.97 kB / 1.305 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/3.105, allocations: 0.5499 MB / 1.306 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/3.105, allocations: 4 kB / 1.306 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/3.105, allocations: 0 / 1.306 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/3.105, allocations: 7.938 kB / 1.306 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/3.108, allocations: 1.2 MB / 1.307 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/3.108, allocations: 7.984 kB / 1.307 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007356/3.109, allocations: 87.81 kB / 1.307 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/3.109, allocations: 3.984 kB / 1.307 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/3.109, allocations: 12 kB / 1.307 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000717/3.109, allocations: 1.77 MB / 1.309 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/3.109, allocations: 3.938 kB / 1.309 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/3.111, allocations: 0.7827 MB / 1.31 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/3.112, allocations: 227.9 kB / 1.31 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/3.112, allocations: 12 kB / 1.31 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/3.113, allocations: 83.81 kB / 1.31 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/3.113, allocations: 39.92 kB / 1.31 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/3.113, allocations: 20 kB / 1.31 GB, free: 104.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001004/3.114, allocations: 0.5629 MB / 1.31 GB, free: 103.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.01e-07/3.114, allocations: 0 / 1.31 GB, free: 103.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001948/3.116, allocations: 0.4915 MB / 1.311 GB, free: 103.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (30): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.002744/3.119, allocations: 1.649 MB / 1.313 GB, free: 101.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002571/3.122, allocations: 0.9064 MB / 1.313 GB, free: 100.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/3.122, allocations: 8.062 kB / 1.313 GB, free: 100.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006464/3.122, allocations: 283.2 kB / 1.314 GB, free: 100.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/3.126, allocations: 357.2 kB / 1.314 GB, free: 100.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/3.13, allocations: 1.201 MB / 1.315 GB, free: 98.83 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/3.13, allocations: 1.003 MB / 1.316 GB, free: 97.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001395/3.132, allocations: 204.9 kB / 1.316 GB, free: 97.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/3.132, allocations: 315.3 kB / 1.317 GB, free: 97.29 MB / 0.823 GB Notification: Performance of SimCode: time 1.913e-06/3.132, allocations: 0 / 1.317 GB, free: 97.29 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07708/3.209, allocations: 26.91 MB / 1.343 GB, free: 70.64 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/3.21, allocations: 231.4 kB / 1.343 GB, free: 70.33 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.986/7.196, allocations: 3.938 kB / 1.343 GB, free: 70.33 MB / 0.823 GB