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.841/3.841, allocations: 403.3 MB / 415.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.953e-05/3.968e-05, allocations: 5.875 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5936/0.5936, allocations: 92.69 MB / 0.5897 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.094/1.687, allocations: 377.5 MB / 0.9583 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/1.688, allocations: 96.98 kB / 0.9584 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.474/3.162, allocations: 284.3 MB / 1.236 GB, free: 145.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.675e-06/3.162, allocations: 0 / 1.236 GB, free: 145.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.411e-05/3.162, allocations: 31.98 kB / 1.236 GB, free: 145.7 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.00308/3.165, allocations: 1.237 MB / 1.237 GB, free: 144.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/3.165, allocations: 12.03 kB / 1.237 GB, free: 144.4 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002042/3.165, allocations: 106.5 kB / 1.237 GB, free: 144.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/3.167, allocations: 194.6 kB / 1.238 GB, free: 144.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/3.169, allocations: 0.6639 MB / 1.238 GB, free: 143.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/3.169, allocations: 57.3 kB / 1.238 GB, free: 143.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/3.169, allocations: 79.95 kB / 1.238 GB, free: 143.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004602/3.174, allocations: 0.9729 MB / 1.239 GB, free: 142.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/3.174, allocations: 0 / 1.239 GB, free: 142.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/3.174, allocations: 24 kB / 1.239 GB, free: 142.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/3.174, allocations: 16 kB / 1.239 GB, free: 142.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/3.178, allocations: 0.685 MB / 1.24 GB, free: 141.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006422/3.185, allocations: 3.554 MB / 1.244 GB, free: 137.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/3.188, allocations: 0.5871 MB / 1.244 GB, free: 137.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/3.189, allocations: 208.5 kB / 1.244 GB, free: 136.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003284/3.189, allocations: 101.3 kB / 1.244 GB, free: 136.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00341/3.193, allocations: 0.5542 MB / 1.245 GB, free: 136.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 3.617e-06/3.193, allocations: 3.938 kB / 1.245 GB, free: 136.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.007059/3.2, allocations: 0.9062 MB / 1.246 GB, free: 135.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/3.2, allocations: 303 kB / 1.246 GB, free: 134.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/3.201, allocations: 0.7341 MB / 1.247 GB, free: 134.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/3.202, allocations: 41.7 kB / 1.247 GB, free: 134.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/3.202, allocations: 467.8 kB / 1.247 GB, free: 133.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/3.202, allocations: 126.3 kB / 1.247 GB, free: 133.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/3.202, allocations: 12 kB / 1.247 GB, free: 133.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/3.203, allocations: 333.9 kB / 1.248 GB, free: 133.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/3.203, allocations: 237.5 kB / 1.248 GB, free: 133 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008136/3.204, allocations: 496 kB / 1.248 GB, free: 132.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000761/3.205, allocations: 307.8 kB / 1.249 GB, free: 132.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/3.205, allocations: 4 kB / 1.249 GB, free: 132.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002186/3.207, allocations: 0.807 MB / 1.25 GB, free: 131.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004288/3.208, allocations: 1.952 MB / 1.251 GB, free: 129.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/3.208, allocations: 11.95 kB / 1.251 GB, free: 129.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/3.208, allocations: 11.94 kB / 1.251 GB, free: 129.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005844/3.213, allocations: 447.5 kB / 1.252 GB, free: 128.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/3.216, allocations: 1.926 MB / 1.254 GB, free: 126.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/3.219, allocations: 187 kB / 1.254 GB, free: 126.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/3.219, allocations: 39.98 kB / 1.254 GB, free: 126.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/3.219, allocations: 5.406 kB / 1.254 GB, free: 126.5 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001696/3.221, allocations: 0.6818 MB / 1.255 GB, free: 125.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/3.221, allocations: 4 kB / 1.255 GB, free: 125.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/3.221, allocations: 8 kB / 1.255 GB, free: 125.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/3.222, allocations: 192 kB / 1.255 GB, free: 125.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/3.222, allocations: 15.89 kB / 1.255 GB, free: 125.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/3.224, allocations: 151.2 kB / 1.255 GB, free: 125.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/3.224, allocations: 39.98 kB / 1.255 GB, free: 125.4 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.000346/3.225, allocations: 182.5 kB / 1.255 GB, free: 125.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/3.225, allocations: 94.88 kB / 1.255 GB, free: 125.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/3.227, allocations: 0.5798 MB / 1.256 GB, free: 124.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/3.227, allocations: 4 kB / 1.256 GB, free: 124.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/3.227, allocations: 7.891 kB / 1.256 GB, free: 124.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/3.227, allocations: 4 kB / 1.256 GB, free: 124.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/3.231, allocations: 1.751 MB / 1.258 GB, free: 122.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/3.231, allocations: 0 / 1.258 GB, free: 122.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005354/3.237, allocations: 411.7 kB / 1.258 GB, free: 122.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/3.237, allocations: 4 kB / 1.258 GB, free: 122.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002025/3.237, allocations: 19.98 kB / 1.258 GB, free: 122.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008478/3.245, allocations: 4.3 MB / 1.262 GB, free: 117.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/3.245, allocations: 4.031 kB / 1.262 GB, free: 117.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/3.248, allocations: 1.048 MB / 1.263 GB, free: 116.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000541/3.248, allocations: 235.8 kB / 1.264 GB, free: 116.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/3.249, allocations: 16 kB / 1.264 GB, free: 116.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/3.25, allocations: 119.9 kB / 1.264 GB, free: 116 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/3.251, allocations: 43.92 kB / 1.264 GB, free: 116 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/3.251, allocations: 23.98 kB / 1.264 GB, free: 116 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001041/3.252, allocations: 0.5633 MB / 1.264 GB, free: 115.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.51e-07/3.252, allocations: 0 / 1.264 GB, free: 115.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002174/3.254, allocations: 0.4956 MB / 1.265 GB, free: 114.9 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.003193/3.257, allocations: 2.098 MB / 1.267 GB, free: 112.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006309/3.264, allocations: 1.302 MB / 1.268 GB, free: 111.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/3.264, allocations: 4.438 kB / 1.268 GB, free: 111.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004595/3.268, allocations: 0.6011 MB / 1.269 GB, free: 110.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/3.272, allocations: 394.8 kB / 1.269 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/3.276, allocations: 1.311 MB / 1.27 GB, free: 109.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/3.277, allocations: 1.015 MB / 1.271 GB, free: 108 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00177/3.279, allocations: 237.7 kB / 1.272 GB, free: 107.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006165/3.279, allocations: 331.3 kB / 1.272 GB, free: 107.4 MB / 0.7761 GB Notification: Performance of SimCode: time 1.243e-06/3.279, allocations: 4 kB / 1.272 GB, free: 107.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09429/3.374, allocations: 28.5 MB / 1.3 GB, free: 79.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/3.374, allocations: 240.7 kB / 1.3 GB, free: 78.88 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4/7.374, allocations: 0 / 1.3 GB, free: 78.88 MB / 0.7761 GB