Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.395/4.395, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.822e-05/4.827e-05, allocations: 8 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2424, allocations: 107.1 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8759/1.118, allocations: 131.5 MB / 0.8063 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.119, allocations: 73.56 kB / 0.8064 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003376/1.122, allocations: 0.9235 MB / 0.8073 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.442e-06/1.122, allocations: 0 / 0.8073 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.193e-05/1.122, allocations: 0 / 0.8073 GB, free: 12.16 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004994/1.123, allocations: 367.8 kB / 0.8076 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.123, allocations: 11.75 kB / 0.8076 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/1.123, allocations: 41.31 kB / 0.8077 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/1.123, allocations: 7.719 kB / 0.8077 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.179e-05/1.123, allocations: 163 kB / 0.8078 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/1.123, allocations: 7.875 kB / 0.8078 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/1.123, allocations: 0 / 0.8078 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/1.123, allocations: 45.48 kB / 0.8079 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.123, allocations: 3.812 kB / 0.8079 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/1.123, allocations: 3.688 kB / 0.8079 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.123, allocations: 0 / 0.8079 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.655e-05/1.123, allocations: 20.23 kB / 0.8079 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/1.124, allocations: 307.4 kB / 0.8082 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.157e-05/1.124, allocations: 34.08 kB / 0.8082 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/1.124, allocations: 15.92 kB / 0.8083 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/1.124, allocations: 0 / 0.8083 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/1.124, allocations: 34.56 kB / 0.8083 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/1.124, allocations: 0 / 0.8083 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001869/1.124, allocations: 58.58 kB / 0.8083 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/1.124, allocations: 54.17 kB / 0.8084 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.762e-05/1.124, allocations: 95.98 kB / 0.8085 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/1.124, allocations: 25.7 kB / 0.8085 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/1.124, allocations: 90.2 kB / 0.8086 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/1.124, allocations: 11.22 kB / 0.8086 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/1.124, allocations: 4 kB / 0.8086 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/1.124, allocations: 321.2 kB / 0.8089 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.723e-05/1.124, allocations: 6.969 kB / 0.8089 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/1.124, allocations: 6.906 kB / 0.8089 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.725e-05/1.125, allocations: 9.281 kB / 0.8089 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.125, allocations: 3.969 kB / 0.8089 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001169/1.125, allocations: 49.36 kB / 0.809 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.125, allocations: 7.688 kB / 0.809 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/1.125, allocations: 0.6562 kB / 0.809 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.125, allocations: 2.438 kB / 0.809 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/1.125, allocations: 29.27 kB / 0.809 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.125, allocations: 4.062 kB / 0.809 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/1.125, allocations: 14.42 kB / 0.809 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/1.125, allocations: 0.875 kB / 0.809 GB, free: 10.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 5.267e-05/1.125, allocations: 119.3 kB / 0.8092 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/1.125, allocations: 3.141 kB / 0.8092 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/1.125, allocations: 61.28 kB / 0.8092 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.125, allocations: 48 / 0.8092 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.125, allocations: 3.984 kB / 0.8092 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.125, allocations: 0 / 0.8092 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/1.126, allocations: 171.8 kB / 0.8094 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.126, allocations: 4 kB / 0.8094 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/1.126, allocations: 24.45 kB / 0.8094 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.126, allocations: 6.484 kB / 0.8094 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/1.126, allocations: 0 / 0.8094 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.126, allocations: 0 / 0.8094 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.126, allocations: 3.938 kB / 0.8094 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/1.126, allocations: 151 kB / 0.8096 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/1.126, allocations: 77.11 kB / 0.8096 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/1.126, allocations: 6.719 kB / 0.8097 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/1.126, allocations: 22.08 kB / 0.8097 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/1.126, allocations: 2.719 kB / 0.8097 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/1.126, allocations: 3.844 kB / 0.8097 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.508e-05/1.126, allocations: 85.52 kB / 0.8098 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.126, allocations: 0 / 0.8098 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002758/1.127, allocations: 7.844 kB / 0.8098 GB, free: 9.816 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003386/1.127, allocations: 0.6908 MB / 0.8104 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001174/1.127, allocations: 28.23 kB / 0.8105 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.127, allocations: 0 / 0.8105 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.028e-05/1.127, allocations: 11.25 kB / 0.8105 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/1.128, allocations: 10.14 kB / 0.8105 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007302/1.128, allocations: 105.6 kB / 0.8106 GB, free: 25.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/1.129, allocations: 0.6863 MB / 0.8113 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.796e-05/1.129, allocations: 3.938 kB / 0.8113 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/1.129, allocations: 11.19 kB / 0.8113 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/1.129, allocations: 0 / 0.8113 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/1.151, allocations: 1.291 MB / 0.8125 GB, free: 24.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/1.152, allocations: 157.1 kB / 0.8127 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.474, allocations: 4 kB / 0.8127 GB, free: 23.88 MB / 0.6511 GB