Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.213/4.213, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.215e-05, allocations: 4 kB / 0.5732 GB, free: 5.605 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2327, allocations: 107.2 MB / 0.6779 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8901/1.123, allocations: 131.6 MB / 0.8064 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/1.123, allocations: 71.62 kB / 0.8064 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004492/1.128, allocations: 1.015 MB / 0.8074 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/1.128, allocations: 4 kB / 0.8074 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.785e-06/1.128, allocations: 3.875 kB / 0.8074 GB, free: 11.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000613/1.129, allocations: 375.3 kB / 0.8078 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.129, allocations: 7.688 kB / 0.8078 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/1.129, allocations: 38.5 kB / 0.8078 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/1.129, allocations: 7.875 kB / 0.8078 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/1.129, allocations: 176.2 kB / 0.808 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/1.129, allocations: 67.55 kB / 0.8081 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/1.129, allocations: 7.125 kB / 0.8081 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/1.129, allocations: 46.14 kB / 0.8081 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/1.129, allocations: 2.906 kB / 0.8081 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/1.129, allocations: 0 / 0.8081 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.129, allocations: 4 kB / 0.8081 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/1.129, allocations: 24.45 kB / 0.8082 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/1.13, allocations: 283.7 kB / 0.8084 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/1.13, allocations: 41.05 kB / 0.8085 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/1.13, allocations: 19.61 kB / 0.8085 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/1.13, allocations: 2.812 kB / 0.8085 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/1.13, allocations: 77.22 kB / 0.8086 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.296e-06/1.13, allocations: 0 / 0.8086 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002121/1.13, allocations: 66.25 kB / 0.8086 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/1.13, allocations: 51.41 kB / 0.8087 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/1.13, allocations: 109.5 kB / 0.8088 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/1.13, allocations: 33.42 kB / 0.8088 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/1.13, allocations: 82.91 kB / 0.8089 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/1.131, allocations: 22.72 kB / 0.8089 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/1.131, allocations: 7.312 kB / 0.8089 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.004e-05/1.131, allocations: 317.8 kB / 0.8092 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/1.131, allocations: 19.12 kB / 0.8092 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/1.131, allocations: 33.27 kB / 0.8093 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.793e-05/1.131, allocations: 22.34 kB / 0.8093 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.131, allocations: 4 kB / 0.8093 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001803/1.131, allocations: 78.78 kB / 0.8094 GB, free: 10 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.131, allocations: 3.844 kB / 0.8094 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.131, allocations: 4.609 kB / 0.8094 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.131, allocations: 0 / 0.8094 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/1.131, allocations: 14.83 kB / 0.8094 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.131, allocations: 4.062 kB / 0.8094 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/1.131, allocations: 29 kB / 0.8094 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/1.132, allocations: 3.844 kB / 0.8094 GB, free: 9.992 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.567e-05/1.132, allocations: 112 kB / 0.8095 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/1.132, allocations: 7.734 kB / 0.8095 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/1.132, allocations: 14.09 kB / 0.8096 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.132, allocations: 0 / 0.8096 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.132, allocations: 0 / 0.8096 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.132, allocations: 0 / 0.8096 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/1.132, allocations: 189 kB / 0.8097 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.132, allocations: 0 / 0.8097 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/1.132, allocations: 7.812 kB / 0.8097 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/1.132, allocations: 0 / 0.8097 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/1.132, allocations: 2.938 kB / 0.8097 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.132, allocations: 0 / 0.8097 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.132, allocations: 2.812 kB / 0.8097 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/1.132, allocations: 96.3 kB / 0.8098 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/1.132, allocations: 84.02 kB / 0.8099 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/1.132, allocations: 7.094 kB / 0.8099 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/1.132, allocations: 10.41 kB / 0.8099 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/1.132, allocations: 9.594 kB / 0.8099 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/1.132, allocations: 3.781 kB / 0.8099 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.664e-05/1.132, allocations: 91.83 kB / 0.81 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.132, allocations: 0 / 0.81 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002892/1.133, allocations: 14.38 kB / 0.81 GB, free: 9.426 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007327/1.134, allocations: 0.6465 MB / 0.8107 GB, free: 24.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001756/1.134, allocations: 53.61 kB / 0.8107 GB, free: 24.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.134, allocations: 0 / 0.8107 GB, free: 24.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/1.134, allocations: 22.47 kB / 0.8108 GB, free: 24.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/1.134, allocations: 18.27 kB / 0.8108 GB, free: 24.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/1.135, allocations: 128.4 kB / 0.8109 GB, free: 24.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/1.135, allocations: 0.6835 MB / 0.8116 GB, free: 24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.854e-05/1.135, allocations: 6.531 kB / 0.8116 GB, free: 24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/1.135, allocations: 20.86 kB / 0.8116 GB, free: 23.99 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/1.135, allocations: 0 / 0.8116 GB, free: 23.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/1.161, allocations: 1.669 MB / 0.8132 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/1.161, allocations: 154.2 kB / 0.8134 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/3.334, allocations: 0 / 0.8134 GB, free: 23.52 MB / 0.6511 GB