Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.418/4.418, allocations: 404.2 MB / 411.3 MB, free: 424 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.917e-05/2.915e-05, allocations: 4 kB / 0.4945 GB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6426/0.6426, allocations: 92.69 MB / 0.5851 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2455/0.8882, allocations: 120.6 MB / 0.7029 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/0.8886, allocations: 87.94 kB / 0.703 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005712/0.8943, allocations: 1.128 MB / 0.7041 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8944, allocations: 0 / 0.7041 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.8944, allocations: 4 kB / 0.7041 GB, free: 8.277 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008553/0.8953, allocations: 386.3 kB / 0.7044 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.8954, allocations: 8.031 kB / 0.7045 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.8954, allocations: 7.953 kB / 0.7045 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.8956, allocations: 178.8 kB / 0.7046 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.8957, allocations: 0 / 0.7046 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.8957, allocations: 7.938 kB / 0.7046 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001477/0.8958, allocations: 28 kB / 0.7047 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.896, allocations: 53.67 kB / 0.7047 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.896, allocations: 0 / 0.7047 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.8961, allocations: 0 / 0.7047 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.8961, allocations: 3.953 kB / 0.7047 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.8966, allocations: 261.4 kB / 0.705 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.8968, allocations: 42.56 kB / 0.705 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.159e-05/0.8969, allocations: 20.98 kB / 0.705 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.8969, allocations: 0 / 0.705 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.8971, allocations: 59.41 kB / 0.7051 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.445e-06/0.8971, allocations: 0 / 0.7051 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002813/0.8974, allocations: 81.47 kB / 0.7052 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.8974, allocations: 51.41 kB / 0.7052 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.8976, allocations: 113 kB / 0.7053 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.8976, allocations: 25.7 kB / 0.7053 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.8977, allocations: 92.05 kB / 0.7054 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.8978, allocations: 19.8 kB / 0.7055 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.8978, allocations: 0 / 0.7055 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.8979, allocations: 314.8 kB / 0.7058 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.898, allocations: 12.08 kB / 0.7058 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.082e-05/0.8981, allocations: 33.64 kB / 0.7058 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.467e-05/0.8982, allocations: 19.98 kB / 0.7058 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8982, allocations: 0 / 0.7058 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002099/0.8984, allocations: 65.75 kB / 0.7059 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.8985, allocations: 8 kB / 0.7059 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8985, allocations: 4 kB / 0.7059 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.8985, allocations: 0 / 0.7059 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.8988, allocations: 23.98 kB / 0.7059 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.8988, allocations: 11.98 kB / 0.7059 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.8991, allocations: 31.81 kB / 0.706 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.8991, allocations: 0 / 0.706 GB, free: 6.145 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 9.994e-05/0.8992, allocations: 105 kB / 0.7061 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001927/0.8994, allocations: 69.62 kB / 0.7061 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.8995, allocations: 7.906 kB / 0.7061 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.8995, allocations: 12.58 kB / 0.7061 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8995, allocations: 0 / 0.7061 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8995, allocations: 0 / 0.7061 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8996, allocations: 3.938 kB / 0.7061 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.8998, allocations: 162.2 kB / 0.7063 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.8998, allocations: 0 / 0.7063 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.9, allocations: 19.98 kB / 0.7063 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.9, allocations: 0 / 0.7063 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.9001, allocations: 4 kB / 0.7063 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.9001, allocations: 4 kB / 0.7063 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.9001, allocations: 3.953 kB / 0.7063 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.9004, allocations: 92.97 kB / 0.7064 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.9004, allocations: 89 kB / 0.7065 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.9005, allocations: 0 / 0.7065 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.9007, allocations: 23.98 kB / 0.7065 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.9008, allocations: 11.98 kB / 0.7065 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.9009, allocations: 4.078 kB / 0.7065 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.144e-05/0.9009, allocations: 91.27 kB / 0.7066 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.806e-06/0.901, allocations: 0 / 0.7066 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000331/0.9013, allocations: 15.94 kB / 0.7066 GB, free: 5.352 MB / 0.5886 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 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005929/0.9019, allocations: 0.6357 MB / 0.7073 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.9021, allocations: 43.92 kB / 0.7073 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9021, allocations: 0 / 0.7073 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/0.9022, allocations: 20 kB / 0.7073 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.9025, allocations: 8.062 kB / 0.7073 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.9031, allocations: 129.4 kB / 0.7075 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.9035, allocations: 0.6885 MB / 0.7081 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.883e-05/0.9035, allocations: 8.125 kB / 0.7081 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.9036, allocations: 19.42 kB / 0.7082 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of SimCode: time 8.71e-07/0.9037, allocations: 0 / 0.7082 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06002/0.9637, allocations: 1.394 MB / 0.7095 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003198/0.9641, allocations: 146.6 kB / 0.7097 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.719/3.683, allocations: 0 / 0.7097 GB, free: 2.141 MB / 0.5886 GB