Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.914/3.914, allocations: 403.3 MB / 415.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.294e-05, allocations: 4 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6251/0.6252, allocations: 92.68 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.684, allocations: 373.4 MB / 0.9543 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003903/1.685, allocations: 93.31 kB / 0.9543 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.077/2.762, allocations: 164.3 MB / 1.115 GB, free: 252.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.703e-06/2.762, allocations: 3.375 kB / 1.115 GB, free: 252.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.535e-05/2.762, allocations: 14.25 kB / 1.115 GB, free: 252.3 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001433/2.763, allocations: 0.7744 MB / 1.116 GB, free: 251.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/2.763, allocations: 12.66 kB / 1.116 GB, free: 251.7 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.56e-05/2.763, allocations: 69.73 kB / 1.116 GB, free: 251.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003093/2.764, allocations: 64.2 kB / 1.116 GB, free: 251.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009334/2.765, allocations: 430.4 kB / 1.116 GB, free: 251.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/2.765, allocations: 24.5 kB / 1.116 GB, free: 251.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/2.765, allocations: 34.59 kB / 1.116 GB, free: 251.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/2.766, allocations: 439.2 kB / 1.117 GB, free: 251.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/2.766, allocations: 1.969 kB / 1.117 GB, free: 251.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/2.766, allocations: 11.78 kB / 1.117 GB, free: 251.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/2.766, allocations: 14.53 kB / 1.117 GB, free: 251.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/2.768, allocations: 264.1 kB / 1.117 GB, free: 251 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00288/2.771, allocations: 2.031 MB / 1.119 GB, free: 249.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/2.772, allocations: 232.2 kB / 1.119 GB, free: 249.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/2.772, allocations: 64.88 kB / 1.119 GB, free: 249.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/2.772, allocations: 11.03 kB / 1.119 GB, free: 249.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/2.772, allocations: 34.31 kB / 1.119 GB, free: 249.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 3.286e-06/2.772, allocations: 0 / 1.119 GB, free: 249.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.002324/2.774, allocations: 311.6 kB / 1.119 GB, free: 249.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/2.774, allocations: 161.5 kB / 1.12 GB, free: 248.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/2.775, allocations: 460.4 kB / 1.12 GB, free: 248.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.459e-05/2.775, allocations: 29.58 kB / 1.12 GB, free: 248.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/2.776, allocations: 265.9 kB / 1.12 GB, free: 248.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/2.776, allocations: 43.05 kB / 1.12 GB, free: 248.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/2.776, allocations: 4 kB / 1.12 GB, free: 248.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/2.776, allocations: 356.9 kB / 1.121 GB, free: 248.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/2.776, allocations: 69.22 kB / 1.121 GB, free: 248 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/2.776, allocations: 229.9 kB / 1.121 GB, free: 247.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/2.777, allocations: 132 kB / 1.121 GB, free: 247.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/2.777, allocations: 0 / 1.121 GB, free: 247.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007862/2.777, allocations: 338.1 kB / 1.121 GB, free: 247.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003259/2.778, allocations: 1.342 MB / 1.123 GB, free: 246.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/2.778, allocations: 0 / 1.123 GB, free: 246.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/2.778, allocations: 7.219 kB / 1.123 GB, free: 246.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/2.779, allocations: 90.61 kB / 1.123 GB, free: 246.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/2.779, allocations: 9.469 kB / 1.123 GB, free: 246.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009642/2.78, allocations: 76.88 kB / 1.123 GB, free: 246.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/2.78, allocations: 18.91 kB / 1.123 GB, free: 246.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/2.78, allocations: 3.781 kB / 1.123 GB, free: 246.1 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006124/2.78, allocations: 242.5 kB / 1.123 GB, free: 246 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/2.78, allocations: 3.938 kB / 1.123 GB, free: 246 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/2.78, allocations: 11.86 kB / 1.123 GB, free: 246 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/2.781, allocations: 77 kB / 1.123 GB, free: 246 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/2.781, allocations: 3.938 kB / 1.123 GB, free: 246 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006962/2.782, allocations: 57.8 kB / 1.123 GB, free: 246 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/2.782, allocations: 11.22 kB / 1.123 GB, free: 246 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/2.782, allocations: 124.3 kB / 1.123 GB, free: 245.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/2.782, allocations: 49.3 kB / 1.124 GB, free: 245.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/2.783, allocations: 152.4 kB / 1.124 GB, free: 245.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/2.783, allocations: 6.766 kB / 1.124 GB, free: 245.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/2.783, allocations: 3.219 kB / 1.124 GB, free: 245.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/2.783, allocations: 3.281 kB / 1.124 GB, free: 245.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/2.784, allocations: 0.812 MB / 1.124 GB, free: 245.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/2.784, allocations: 3.953 kB / 1.124 GB, free: 245.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/2.784, allocations: 47.39 kB / 1.125 GB, free: 245.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/2.784, allocations: 0 / 1.125 GB, free: 245.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/2.784, allocations: 3.281 kB / 1.125 GB, free: 245.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/2.784, allocations: 7.406 kB / 1.125 GB, free: 245.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/2.784, allocations: 3.938 kB / 1.125 GB, free: 245.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/2.785, allocations: 337 kB / 1.125 GB, free: 244.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/2.785, allocations: 124.2 kB / 1.125 GB, free: 244.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/2.785, allocations: 3.531 kB / 1.125 GB, free: 244.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000748/2.786, allocations: 45.02 kB / 1.125 GB, free: 244.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/2.786, allocations: 22.86 kB / 1.125 GB, free: 244.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/2.786, allocations: 3.125 kB / 1.125 GB, free: 244.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000563/2.787, allocations: 349.5 kB / 1.125 GB, free: 244.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.1e-07/2.787, allocations: 0 / 1.125 GB, free: 244.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001192/2.788, allocations: 232.9 kB / 1.126 GB, free: 244.4 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001817/2.79, allocations: 1.44 MB / 1.127 GB, free: 243.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000968/2.791, allocations: 410.1 kB / 1.127 GB, free: 243.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/2.791, allocations: 3.281 kB / 1.127 GB, free: 243.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/2.791, allocations: 53.53 kB / 1.127 GB, free: 243.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/2.793, allocations: 249.1 kB / 1.128 GB, free: 243 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/2.805, allocations: 1.171 MB / 1.129 GB, free: 242.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/2.806, allocations: 0.8473 MB / 1.13 GB, free: 242 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0009332/2.807, allocations: 143.5 kB / 1.13 GB, free: 242 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/2.807, allocations: 148.2 kB / 1.13 GB, free: 241.8 MB / 0.7761 GB Notification: Performance of SimCode: time 1.193e-06/2.807, allocations: 0 / 1.13 GB, free: 241.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05555/2.862, allocations: 15.48 MB / 1.145 GB, free: 237.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/2.863, allocations: 204.9 kB / 1.145 GB, free: 237 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.183/6.045, allocations: 3.938 kB / 1.145 GB, free: 237 MB / 0.7761 GB