Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.156/4.156, allocations: 464.6 MB / 476.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.966e-05/3.974e-05, allocations: 4 kB / 0.5732 GB, free: 5.598 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2328, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8709/1.104, allocations: 132.7 MB / 0.8074 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.104, allocations: 84.39 kB / 0.8075 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007738/1.112, allocations: 1.806 MB / 0.8092 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/1.112, allocations: 0 / 0.8092 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.268e-06/1.112, allocations: 3.875 kB / 0.8093 GB, free: 12.23 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008429/1.113, allocations: 429.4 kB / 0.8097 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.113, allocations: 7.688 kB / 0.8097 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/1.113, allocations: 41.38 kB / 0.8097 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/1.113, allocations: 16.36 kB / 0.8097 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/1.113, allocations: 179.3 kB / 0.8099 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/1.113, allocations: 11.28 kB / 0.8099 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/1.113, allocations: 3.969 kB / 0.8099 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/1.113, allocations: 83.61 kB / 0.81 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.113, allocations: 0.5469 kB / 0.81 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/1.113, allocations: 3.25 kB / 0.81 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.113, allocations: 3.844 kB / 0.81 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/1.114, allocations: 45.19 kB / 0.81 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009889/1.115, allocations: 428.6 kB / 0.8104 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/1.115, allocations: 45.89 kB / 0.8105 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/1.115, allocations: 26.23 kB / 0.8105 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/1.115, allocations: 3.938 kB / 0.8105 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/1.115, allocations: 30.56 kB / 0.8106 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 3.005e-06/1.115, allocations: 0 / 0.8106 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002533/1.115, allocations: 70.38 kB / 0.8106 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/1.115, allocations: 55.41 kB / 0.8107 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/1.115, allocations: 139.7 kB / 0.8108 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/1.115, allocations: 25.7 kB / 0.8108 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/1.115, allocations: 104.7 kB / 0.8109 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/1.116, allocations: 11.72 kB / 0.8109 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/1.116, allocations: 3.25 kB / 0.8109 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.783e-05/1.116, allocations: 324 kB / 0.8113 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.601e-05/1.116, allocations: 17.47 kB / 0.8113 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/1.116, allocations: 22.47 kB / 0.8113 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/1.116, allocations: 11.56 kB / 0.8113 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.116, allocations: 0 / 0.8113 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000187/1.116, allocations: 101.1 kB / 0.8114 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.116, allocations: 3.844 kB / 0.8114 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.116, allocations: 0.7656 kB / 0.8114 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.116, allocations: 0 / 0.8114 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/1.116, allocations: 10.7 kB / 0.8114 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/1.116, allocations: 3.844 kB / 0.8114 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/1.117, allocations: 31.34 kB / 0.8114 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/1.117, allocations: 0 / 0.8114 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: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.604e-05/1.117, allocations: 108.3 kB / 0.8115 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/1.117, allocations: 12.05 kB / 0.8116 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/1.117, allocations: 21.31 kB / 0.8116 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.117, allocations: 3.938 kB / 0.8116 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.117, allocations: 0 / 0.8116 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.117, allocations: 0 / 0.8116 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/1.117, allocations: 213.1 kB / 0.8118 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.117, allocations: 0 / 0.8118 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/1.117, allocations: 9.922 kB / 0.8118 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.117, allocations: 3.953 kB / 0.8118 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/1.117, allocations: 0 / 0.8118 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.117, allocations: 7.875 kB / 0.8118 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.117, allocations: 0 / 0.8118 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/1.117, allocations: 161.9 kB / 0.812 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/1.118, allocations: 87.39 kB / 0.812 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/1.118, allocations: 3.953 kB / 0.8121 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/1.118, allocations: 35.44 kB / 0.8121 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/1.118, allocations: 13.42 kB / 0.8121 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/1.118, allocations: 2.625 kB / 0.8121 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.586e-05/1.118, allocations: 110.1 kB / 0.8122 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.118, allocations: 3.844 kB / 0.8122 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003236/1.118, allocations: 23.19 kB / 0.8122 GB, free: 9.852 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0003908/1.119, allocations: 0.7044 MB / 0.8129 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002028/1.119, allocations: 45.12 kB / 0.813 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.119, allocations: 0 / 0.813 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/1.119, allocations: 28.83 kB / 0.813 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/1.119, allocations: 14.38 kB / 0.813 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/1.12, allocations: 157.2 kB / 0.8132 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/1.121, allocations: 0.7003 MB / 0.8138 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.478e-05/1.121, allocations: 10.02 kB / 0.8138 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.386e-05/1.121, allocations: 32.31 kB / 0.8139 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of SimCode: time 9.42e-07/1.121, allocations: 0 / 0.8139 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/1.148, allocations: 2.251 MB / 0.8161 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/1.148, allocations: 174.9 kB / 0.8162 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/3.318, allocations: 0 / 0.8162 GB, free: 23.83 MB / 0.6511 GB