Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.449/4.449, allocations: 404.1 MB / 411.3 MB, free: 368 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.95e-05, allocations: 8 kB / 0.4946 GB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.6577, allocations: 92.68 MB / 0.5851 GB, free: 2.344 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2408/0.8985, allocations: 120.1 MB / 0.7023 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/0.8989, allocations: 87.94 kB / 0.7024 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005616/0.9046, allocations: 1.167 MB / 0.7036 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9046, allocations: 0 / 0.7036 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.9046, allocations: 4 kB / 0.7036 GB, free: 8.84 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007855/0.9054, allocations: 386.3 kB / 0.7039 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.9055, allocations: 8.031 kB / 0.7039 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.9056, allocations: 15.86 kB / 0.704 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.9058, allocations: 182.9 kB / 0.7041 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.9058, allocations: 0 / 0.7041 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.9058, allocations: 4 kB / 0.7041 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001396/0.906, allocations: 27.98 kB / 0.7042 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.9062, allocations: 53.69 kB / 0.7042 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.9062, allocations: 0 / 0.7042 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.9062, allocations: 0 / 0.7042 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.9062, allocations: 3.953 kB / 0.7042 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.9068, allocations: 281.4 kB / 0.7045 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.907, allocations: 42.58 kB / 0.7045 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.9071, allocations: 24.84 kB / 0.7045 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.9071, allocations: 0 / 0.7045 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.9073, allocations: 95.45 kB / 0.7046 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.424e-06/0.9074, allocations: 0 / 0.7046 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002979/0.9077, allocations: 89.48 kB / 0.7047 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.9077, allocations: 59.39 kB / 0.7048 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.9079, allocations: 116.9 kB / 0.7049 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.9079, allocations: 29.69 kB / 0.7049 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.908, allocations: 84.14 kB / 0.705 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.9081, allocations: 19.72 kB / 0.705 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.9081, allocations: 0 / 0.705 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9082, allocations: 326.8 kB / 0.7053 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/0.9083, allocations: 20 kB / 0.7053 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.9084, allocations: 47.38 kB / 0.7054 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.65e-05/0.9085, allocations: 15.98 kB / 0.7054 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.9085, allocations: 0 / 0.7054 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000246/0.9088, allocations: 97.47 kB / 0.7055 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.9088, allocations: 4 kB / 0.7055 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9088, allocations: 0 / 0.7055 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.9088, allocations: 4 kB / 0.7055 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.909, allocations: 11.94 kB / 0.7055 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.909, allocations: 4 kB / 0.7055 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.9092, allocations: 20.08 kB / 0.7055 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.9093, allocations: 8 kB / 0.7056 GB, free: 6.586 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.000113/0.9094, allocations: 120.8 kB / 0.7057 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002671/0.9097, allocations: 93.66 kB / 0.7058 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.9097, allocations: 3.906 kB / 0.7058 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.9098, allocations: 16.58 kB / 0.7058 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9098, allocations: 0 / 0.7058 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9098, allocations: 0 / 0.7058 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.9098, allocations: 3.984 kB / 0.7058 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.91, allocations: 162.2 kB / 0.7059 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.9101, allocations: 4 kB / 0.7059 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.9101, allocations: 4 kB / 0.7059 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.9101, allocations: 0 / 0.7059 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.9101, allocations: 4 kB / 0.7059 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.9101, allocations: 3.984 kB / 0.7059 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.9102, allocations: 3.953 kB / 0.706 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.9104, allocations: 109 kB / 0.7061 GB, free: 6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.9105, allocations: 85 kB / 0.7061 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.9105, allocations: 4 kB / 0.7061 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.9108, allocations: 23.98 kB / 0.7062 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.9109, allocations: 15.92 kB / 0.7062 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.9109, allocations: 4 kB / 0.7062 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.502e-05/0.911, allocations: 95.28 kB / 0.7063 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.956e-06/0.911, allocations: 0 / 0.7063 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003662/0.9114, allocations: 19.94 kB / 0.7063 GB, free: 5.738 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006455/0.912, allocations: 0.66 MB / 0.7069 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.9123, allocations: 60.16 kB / 0.707 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9123, allocations: 0 / 0.707 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.9124, allocations: 36.31 kB / 0.707 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.9128, allocations: 13.36 kB / 0.707 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.9134, allocations: 145.8 kB / 0.7072 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.9137, allocations: 0.7001 MB / 0.7079 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.892e-05/0.9138, allocations: 8.562 kB / 0.7079 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/0.9139, allocations: 31.42 kB / 0.7079 GB, free: 4 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/0.9139, allocations: 0 / 0.7079 GB, free: 4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/0.9527, allocations: 1.703 MB / 0.7096 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000392/0.9532, allocations: 151.1 kB / 0.7097 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.715/3.668, allocations: 0 / 0.7097 GB, free: 2.125 MB / 0.5886 GB