Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.781/3.781, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.444e-05/5.455e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6671/0.6672, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.8, allocations: 377.5 MB / 0.9583 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/1.801, allocations: 99.11 kB / 0.9584 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.52/3.32, allocations: 284.3 MB / 1.236 GB, free: 145.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.793e-06/3.32, allocations: 0 / 1.236 GB, free: 145.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001027/3.32, allocations: 27.98 kB / 1.236 GB, free: 145.6 MB / 0.7761 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.003216/3.324, allocations: 1.245 MB / 1.237 GB, free: 144.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/3.324, allocations: 8.031 kB / 1.237 GB, free: 144.3 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/3.324, allocations: 110.5 kB / 1.237 GB, free: 144.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/3.325, allocations: 182.6 kB / 1.238 GB, free: 144 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/3.328, allocations: 0.6679 MB / 1.238 GB, free: 143.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-05/3.328, allocations: 49.31 kB / 1.238 GB, free: 143.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/3.328, allocations: 79.94 kB / 1.238 GB, free: 143.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004573/3.332, allocations: 0.9793 MB / 1.239 GB, free: 142.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/3.333, allocations: 7.938 kB / 1.239 GB, free: 142.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/3.333, allocations: 28 kB / 1.239 GB, free: 142 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/3.333, allocations: 16 kB / 1.239 GB, free: 142 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004151/3.337, allocations: 0.6986 MB / 1.24 GB, free: 141.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006509/3.343, allocations: 3.547 MB / 1.244 GB, free: 137.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005465/3.349, allocations: 0.6001 MB / 1.244 GB, free: 137 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007872/3.35, allocations: 208.5 kB / 1.244 GB, free: 136.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/3.35, allocations: 97.33 kB / 1.244 GB, free: 136.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005303/3.356, allocations: 0.5582 MB / 1.245 GB, free: 136 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 4.759e-06/3.356, allocations: 4 kB / 1.245 GB, free: 136 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.01075/3.366, allocations: 0.914 MB / 1.246 GB, free: 135.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/3.367, allocations: 290.9 kB / 1.246 GB, free: 134.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/3.369, allocations: 0.742 MB / 1.247 GB, free: 134 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/3.369, allocations: 37.7 kB / 1.247 GB, free: 133.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/3.37, allocations: 476 kB / 1.247 GB, free: 133.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/3.37, allocations: 118.3 kB / 1.247 GB, free: 133.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/3.37, allocations: 16 kB / 1.247 GB, free: 133.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001119/3.37, allocations: 330 kB / 1.248 GB, free: 133 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/3.371, allocations: 245.5 kB / 1.248 GB, free: 132.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/3.373, allocations: 497.6 kB / 1.248 GB, free: 132.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/3.374, allocations: 307.8 kB / 1.249 GB, free: 131.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/3.374, allocations: 4 kB / 1.249 GB, free: 131.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003377/3.377, allocations: 0.8186 MB / 1.25 GB, free: 131 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005583/3.378, allocations: 1.955 MB / 1.251 GB, free: 128.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/3.378, allocations: 4 kB / 1.251 GB, free: 128.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.481e-05/3.378, allocations: 12 kB / 1.252 GB, free: 128.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008691/3.387, allocations: 451.5 kB / 1.252 GB, free: 128.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/3.391, allocations: 1.922 MB / 1.254 GB, free: 126.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/3.395, allocations: 187.2 kB / 1.254 GB, free: 126.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000331/3.395, allocations: 39.98 kB / 1.254 GB, free: 126.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/3.395, allocations: 4 kB / 1.254 GB, free: 126.3 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003001/3.398, allocations: 0.6892 MB / 1.255 GB, free: 125.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/3.398, allocations: 8.656 kB / 1.255 GB, free: 125.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/3.398, allocations: 12 kB / 1.255 GB, free: 125.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/3.401, allocations: 191.7 kB / 1.255 GB, free: 125.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/3.401, allocations: 11.94 kB / 1.255 GB, free: 125.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003113/3.404, allocations: 159.2 kB / 1.255 GB, free: 125.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/3.404, allocations: 39.98 kB / 1.255 GB, free: 125.1 MB / 0.7761 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.0005252/3.405, allocations: 178.5 kB / 1.255 GB, free: 125 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/3.405, allocations: 102.8 kB / 1.255 GB, free: 124.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/3.408, allocations: 0.5875 MB / 1.256 GB, free: 124.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/3.408, allocations: 4 kB / 1.256 GB, free: 124.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/3.408, allocations: 3.953 kB / 1.256 GB, free: 124.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/3.408, allocations: 4 kB / 1.256 GB, free: 124.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006094/3.414, allocations: 1.744 MB / 1.258 GB, free: 122.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/3.414, allocations: 0 / 1.258 GB, free: 122.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00804/3.422, allocations: 411.7 kB / 1.258 GB, free: 122 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.152e-05/3.422, allocations: 4 kB / 1.258 GB, free: 122 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/3.423, allocations: 15.98 kB / 1.258 GB, free: 122 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/3.435, allocations: 4.323 MB / 1.262 GB, free: 117.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/3.435, allocations: 0 / 1.262 GB, free: 117.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/3.439, allocations: 1.04 MB / 1.263 GB, free: 116.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009628/3.44, allocations: 235.8 kB / 1.264 GB, free: 115.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/3.44, allocations: 11.94 kB / 1.264 GB, free: 115.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/3.443, allocations: 119.9 kB / 1.264 GB, free: 115.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004155/3.444, allocations: 47.92 kB / 1.264 GB, free: 115.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/3.444, allocations: 27.98 kB / 1.264 GB, free: 115.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001709/3.446, allocations: 0.5594 MB / 1.264 GB, free: 115.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.393e-06/3.446, allocations: 0 / 1.264 GB, free: 115.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003876/3.45, allocations: 0.4918 MB / 1.265 GB, free: 114.7 MB / 0.7761 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 (33): * Single equations (assignments): 29 * 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.005309/3.455, allocations: 2.104 MB / 1.267 GB, free: 112.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.009591/3.465, allocations: 1.316 MB / 1.268 GB, free: 111.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/3.465, allocations: 4.125 kB / 1.268 GB, free: 111.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.006602/3.471, allocations: 0.6083 MB / 1.269 GB, free: 110.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005411/3.477, allocations: 386.5 kB / 1.269 GB, free: 110.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/3.483, allocations: 1.306 MB / 1.27 GB, free: 108.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/3.483, allocations: 1.011 MB / 1.271 GB, free: 107.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001801/3.485, allocations: 241.6 kB / 1.272 GB, free: 107.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006306/3.486, allocations: 335.3 kB / 1.272 GB, free: 107.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.222e-06/3.486, allocations: 0 / 1.272 GB, free: 107.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07539/3.561, allocations: 28.54 MB / 1.3 GB, free: 78.91 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/3.561, allocations: 245.1 kB / 1.3 GB, free: 78.58 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.161/7.722, allocations: 0 / 1.3 GB, free: 78.58 MB / 0.7761 GB