Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.376/4.376, allocations: 460.4 MB / 472.6 MB, free: 5.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.452e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2444, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.23/1.475, allocations: 394.8 MB / 1.057 GB, free: 92 kB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/1.475, allocations: 94.19 kB / 1.058 GB, free: 40 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.555/3.03, allocations: 293.3 MB / 1.344 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.154e-06/3.03, allocations: 0 / 1.344 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.711e-05/3.031, allocations: 24 kB / 1.344 GB, free: 93.82 MB / 0.8698 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.003084/3.034, allocations: 1.24 MB / 1.345 GB, free: 92.53 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/3.034, allocations: 12.03 kB / 1.345 GB, free: 92.52 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/3.034, allocations: 102.5 kB / 1.345 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/3.034, allocations: 118.6 kB / 1.345 GB, free: 92.29 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/3.036, allocations: 0.66 MB / 1.346 GB, free: 91.59 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/3.036, allocations: 49.31 kB / 1.346 GB, free: 91.54 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/3.036, allocations: 64 kB / 1.346 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/3.038, allocations: 0.6482 MB / 1.347 GB, free: 90.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/3.038, allocations: 0 / 1.347 GB, free: 90.79 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/3.038, allocations: 32 kB / 1.347 GB, free: 90.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/3.038, allocations: 12 kB / 1.347 GB, free: 90.74 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/3.039, allocations: 418.4 kB / 1.347 GB, free: 90.34 MB / 0.8698 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.005199/3.044, allocations: 2.593 MB / 1.35 GB, free: 87.61 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008166/3.045, allocations: 331.6 kB / 1.35 GB, free: 87.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004146/3.045, allocations: 196.8 kB / 1.35 GB, free: 87.08 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/3.046, allocations: 348.4 kB / 1.351 GB, free: 86.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000596/3.046, allocations: 321.5 kB / 1.351 GB, free: 86.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 4.418e-06/3.046, allocations: 112 / 1.351 GB, free: 86.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.001558/3.048, allocations: 0.5589 MB / 1.351 GB, free: 85.74 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/3.048, allocations: 247.6 kB / 1.352 GB, free: 85.45 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/3.049, allocations: 0.7181 MB / 1.352 GB, free: 84.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/3.049, allocations: 41.7 kB / 1.352 GB, free: 84.66 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/3.05, allocations: 440.3 kB / 1.353 GB, free: 84.22 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/3.05, allocations: 122.3 kB / 1.353 GB, free: 84.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/3.05, allocations: 8 kB / 1.353 GB, free: 84.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.467e-05/3.05, allocations: 330 kB / 1.353 GB, free: 83.76 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/3.051, allocations: 197.3 kB / 1.353 GB, free: 83.57 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/3.051, allocations: 388.6 kB / 1.354 GB, free: 83.12 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/3.052, allocations: 262.5 kB / 1.354 GB, free: 82.86 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/3.052, allocations: 0 / 1.354 GB, free: 82.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001801/3.054, allocations: 0.7369 MB / 1.355 GB, free: 82.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/3.054, allocations: 1.078 MB / 1.356 GB, free: 80.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/3.054, allocations: 4 kB / 1.356 GB, free: 80.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/3.054, allocations: 4 kB / 1.356 GB, free: 80.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/3.056, allocations: 163.7 kB / 1.356 GB, free: 80.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000983/3.057, allocations: 1.778 MB / 1.358 GB, free: 78.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/3.058, allocations: 127.4 kB / 1.358 GB, free: 78.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/3.058, allocations: 31.98 kB / 1.358 GB, free: 78.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/3.058, allocations: 4 kB / 1.358 GB, free: 78.76 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001555/3.06, allocations: 0.6503 MB / 1.359 GB, free: 78.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/3.06, allocations: 0 / 1.359 GB, free: 78.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/3.06, allocations: 8 kB / 1.359 GB, free: 78.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/3.061, allocations: 131.8 kB / 1.359 GB, free: 77.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/3.061, allocations: 8 kB / 1.359 GB, free: 77.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/3.062, allocations: 127.6 kB / 1.359 GB, free: 77.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.059e-05/3.063, allocations: 35.94 kB / 1.359 GB, free: 77.8 MB / 0.8698 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.0002565/3.063, allocations: 185.7 kB / 1.359 GB, free: 77.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/3.063, allocations: 90.88 kB / 1.359 GB, free: 77.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/3.065, allocations: 0.6961 MB / 1.36 GB, free: 76.81 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/3.065, allocations: 4 kB / 1.36 GB, free: 76.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/3.065, allocations: 8 kB / 1.36 GB, free: 76.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/3.065, allocations: 0 / 1.36 GB, free: 76.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/3.068, allocations: 1.556 MB / 1.361 GB, free: 75.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/3.068, allocations: 4 kB / 1.361 GB, free: 75.17 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/3.069, allocations: 103.9 kB / 1.361 GB, free: 75.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/3.069, allocations: 4 kB / 1.361 GB, free: 75.06 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/3.069, allocations: 15.98 kB / 1.361 GB, free: 75.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006854/3.07, allocations: 1.77 MB / 1.363 GB, free: 73.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/3.07, allocations: 0 / 1.363 GB, free: 73.21 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/3.072, allocations: 1.196 MB / 1.364 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/3.072, allocations: 235.7 kB / 1.365 GB, free: 71.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/3.072, allocations: 12 kB / 1.365 GB, free: 71.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/3.074, allocations: 75.98 kB / 1.365 GB, free: 71.62 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/3.074, allocations: 47.88 kB / 1.365 GB, free: 71.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/3.074, allocations: 23.98 kB / 1.365 GB, free: 71.55 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009723/3.075, allocations: 0.5475 MB / 1.365 GB, free: 70.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.41e-07/3.075, allocations: 0 / 1.365 GB, free: 70.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002113/3.077, allocations: 0.4991 MB / 1.366 GB, free: 70.48 MB / 0.8698 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.003153/3.08, allocations: 2.311 MB / 1.368 GB, free: 68.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002663/3.083, allocations: 0.9488 MB / 1.369 GB, free: 67.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/3.083, allocations: 0 / 1.369 GB, free: 67.15 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008019/3.084, allocations: 331 kB / 1.369 GB, free: 66.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/3.087, allocations: 377.8 kB / 1.37 GB, free: 66.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/3.091, allocations: 1.309 MB / 1.371 GB, free: 65.09 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/3.092, allocations: 1.026 MB / 1.372 GB, free: 64.03 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001386/3.093, allocations: 205.1 kB / 1.372 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/3.094, allocations: 327.3 kB / 1.372 GB, free: 63.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.152e-06/3.094, allocations: 0 / 1.372 GB, free: 63.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08719/3.181, allocations: 27.39 MB / 1.399 GB, free: 36.39 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/3.181, allocations: 230.7 kB / 1.399 GB, free: 36.08 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.784/6.965, allocations: 8 kB / 1.399 GB, free: 36.07 MB / 0.8698 GB