Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.51/4.51, allocations: 404.1 MB / 411.3 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.361e-05, allocations: 8 kB / 0.4945 GB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6969/0.6969, allocations: 92.68 MB / 0.5851 GB, free: 2.273 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.907, allocations: 374.3 MB / 0.9505 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003738/1.908, allocations: 103.6 kB / 0.9506 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.727/3.635, allocations: 277.1 MB / 1.221 GB, free: 165.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.014e-06/3.635, allocations: 0 / 1.221 GB, free: 165.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.397e-05/3.635, allocations: 20 kB / 1.221 GB, free: 165.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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002478/3.637, allocations: 1.022 MB / 1.222 GB, free: 164.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/3.637, allocations: 12.03 kB / 1.222 GB, free: 164.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/3.639, allocations: 154.9 kB / 1.222 GB, free: 164.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/3.641, allocations: 0.5445 MB / 1.223 GB, free: 163.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/3.641, allocations: 20 kB / 1.223 GB, free: 163.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/3.641, allocations: 39.95 kB / 1.223 GB, free: 163.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009982/3.642, allocations: 322.5 kB / 1.223 GB, free: 163.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/3.643, allocations: 0.5055 MB / 1.224 GB, free: 162.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/3.643, allocations: 4 kB / 1.224 GB, free: 162.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/3.643, allocations: 0 / 1.224 GB, free: 162.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/3.643, allocations: 27.92 kB / 1.224 GB, free: 162.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005627/3.649, allocations: 3.065 MB / 1.227 GB, free: 159.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007255/3.65, allocations: 261.1 kB / 1.227 GB, free: 159.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/3.65, allocations: 120.2 kB / 1.227 GB, free: 159.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/3.65, allocations: 108.5 kB / 1.227 GB, free: 159.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/3.65, allocations: 42.91 kB / 1.227 GB, free: 159 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 3.316e-06/3.65, allocations: 0 / 1.227 GB, free: 159 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.005159/3.656, allocations: 0.5757 MB / 1.228 GB, free: 158.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/3.656, allocations: 158.2 kB / 1.228 GB, free: 158.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/3.656, allocations: 495.3 kB / 1.229 GB, free: 157.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.312e-05/3.656, allocations: 29.7 kB / 1.229 GB, free: 157.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/3.657, allocations: 387.7 kB / 1.229 GB, free: 157.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/3.657, allocations: 74.92 kB / 1.229 GB, free: 157.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/3.657, allocations: 4.125 kB / 1.229 GB, free: 157.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001136/3.657, allocations: 366.8 kB / 1.229 GB, free: 156.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/3.658, allocations: 157.1 kB / 1.23 GB, free: 156.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005963/3.658, allocations: 353.6 kB / 1.23 GB, free: 156.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/3.66, allocations: 309.5 kB / 1.23 GB, free: 156 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/3.66, allocations: 4 kB / 1.23 GB, free: 156 MB / 0.7761 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002975/3.663, allocations: 0.6391 MB / 1.231 GB, free: 155.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003814/3.664, allocations: 1.832 MB / 1.233 GB, free: 153.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/3.664, allocations: 11.94 kB / 1.233 GB, free: 153.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/3.664, allocations: 8 kB / 1.233 GB, free: 153.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006527/3.67, allocations: 439.5 kB / 1.233 GB, free: 152.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00326/3.673, allocations: 1.93 MB / 1.235 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/3.676, allocations: 127.4 kB / 1.235 GB, free: 150.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/3.676, allocations: 35.98 kB / 1.235 GB, free: 150.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/3.676, allocations: 4 kB / 1.235 GB, free: 150.8 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002547/3.678, allocations: 0.4919 MB / 1.236 GB, free: 150.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/3.678, allocations: 4 kB / 1.236 GB, free: 150.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/3.678, allocations: 8 kB / 1.236 GB, free: 150.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/3.68, allocations: 176.2 kB / 1.236 GB, free: 150.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/3.68, allocations: 15.92 kB / 1.236 GB, free: 150.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/3.682, allocations: 95.55 kB / 1.236 GB, free: 150 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/3.682, allocations: 27.98 kB / 1.236 GB, free: 149.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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.0002543/3.682, allocations: 116.9 kB / 1.236 GB, free: 149.8 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002492/3.685, allocations: 435.9 kB / 1.236 GB, free: 149.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/3.685, allocations: 67.25 kB / 1.236 GB, free: 149.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/3.687, allocations: 437 kB / 1.237 GB, free: 148.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/3.687, allocations: 4 kB / 1.237 GB, free: 148.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/3.687, allocations: 3.953 kB / 1.237 GB, free: 148.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/3.687, allocations: 8 kB / 1.237 GB, free: 148.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/3.692, allocations: 1.395 MB / 1.238 GB, free: 147.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/3.692, allocations: 0 / 1.238 GB, free: 147.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005951/3.698, allocations: 407.7 kB / 1.239 GB, free: 147 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/3.698, allocations: 0 / 1.239 GB, free: 147 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/3.698, allocations: 7.984 kB / 1.239 GB, free: 147 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009073/3.707, allocations: 4.163 MB / 1.243 GB, free: 142.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/3.708, allocations: 12.17 kB / 1.243 GB, free: 142.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/3.71, allocations: 0.605 MB / 1.243 GB, free: 141.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/3.711, allocations: 176.3 kB / 1.243 GB, free: 141.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/3.711, allocations: 3.953 kB / 1.243 GB, free: 141.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/3.713, allocations: 95.83 kB / 1.244 GB, free: 141.6 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/3.713, allocations: 19.97 kB / 1.244 GB, free: 141.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/3.713, allocations: 15.98 kB / 1.244 GB, free: 141.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006678/3.714, allocations: 359.2 kB / 1.244 GB, free: 141.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.703e-06/3.714, allocations: 0 / 1.244 GB, free: 141.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002141/3.716, allocations: 414.3 kB / 1.244 GB, free: 140.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.003717/3.72, allocations: 1.683 MB / 1.246 GB, free: 139.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006346/3.726, allocations: 0.8395 MB / 1.247 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/3.726, allocations: 0 / 1.247 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004939/3.731, allocations: 425.3 kB / 1.247 GB, free: 137.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/3.734, allocations: 290.4 kB / 1.247 GB, free: 137.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/3.738, allocations: 0.9259 MB / 1.248 GB, free: 136.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/3.738, allocations: 0.9269 MB / 1.249 GB, free: 135.6 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001608/3.74, allocations: 168.8 kB / 1.249 GB, free: 135.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005569/3.74, allocations: 243.3 kB / 1.25 GB, free: 135.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.302e-06/3.74, allocations: 7.938 kB / 1.25 GB, free: 135.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1772/3.918, allocations: 18.88 MB / 1.268 GB, free: 116.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003956/3.918, allocations: 191 kB / 1.268 GB, free: 116.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.17/8.088, allocations: 0 / 1.268 GB, free: 116.3 MB / 0.7761 GB