Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_ZeroCrossing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.87/3.87, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.93e-05/4.935e-05, allocations: 11.94 kB / 0.4992 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5992/0.5993, allocations: 92.68 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/0.8275, allocations: 122 MB / 0.7088 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/0.8279, allocations: 83.94 kB / 0.7089 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.006444/0.8343, allocations: 1.39 MB / 0.7102 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8344, allocations: 0 / 0.7102 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.8344, allocations: 0 / 0.7102 GB, free: 2.762 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008375/0.8352, allocations: 406.3 kB / 0.7106 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.8353, allocations: 8.031 kB / 0.7106 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.8354, allocations: 38.56 kB / 0.7106 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.8354, allocations: 11.86 kB / 0.7107 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.8356, allocations: 170.9 kB / 0.7108 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.8357, allocations: 19.91 kB / 0.7108 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.8357, allocations: 12 kB / 0.7109 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.836, allocations: 73.5 kB / 0.7109 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.836, allocations: 0 / 0.7109 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.836, allocations: 4 kB / 0.7109 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.8361, allocations: 4 kB / 0.7109 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.8362, allocations: 43.94 kB / 0.711 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.8371, allocations: 356.7 kB / 0.7113 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.8378, allocations: 122.6 kB / 0.7114 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.8379, allocations: 28.86 kB / 0.7115 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.838, allocations: 0 / 0.7115 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.8382, allocations: 95.45 kB / 0.7115 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.615e-06/0.8382, allocations: 7.938 kB / 0.7116 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003414/0.8386, allocations: 101.5 kB / 0.7117 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.8387, allocations: 51.41 kB / 0.7117 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.8388, allocations: 117.2 kB / 0.7118 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.8389, allocations: 33.7 kB / 0.7118 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.8389, allocations: 92.14 kB / 0.7119 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.839, allocations: 35.53 kB / 0.712 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.839, allocations: 0 / 0.712 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8392, allocations: 326.8 kB / 0.7123 GB, free: 440 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.8393, allocations: 28 kB / 0.7123 GB, free: 412 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.8394, allocations: 55.44 kB / 0.7124 GB, free: 344 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.8396, allocations: 31.92 kB / 0.7124 GB, free: 312 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8396, allocations: 0 / 0.7124 GB, free: 312 kB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003608/0.8399, allocations: 129.5 kB / 0.7125 GB, free: 176 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.84, allocations: 9.203 kB / 0.7125 GB, free: 168 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.84, allocations: 0 / 0.7125 GB, free: 168 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.84, allocations: 4 kB / 0.7125 GB, free: 164 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.8403, allocations: 23.98 kB / 0.7125 GB, free: 140 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.8403, allocations: 0 / 0.7125 GB, free: 140 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.8406, allocations: 36.06 kB / 0.7126 GB, free: 104 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.8406, allocations: 7.938 kB / 0.7126 GB, free: 96 kB / 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos,triggeredSampler.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001341/0.8408, allocations: 109 kB / 0.7127 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.8408, allocations: 7.906 kB / 0.7127 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.8412, allocations: 118.2 kB / 0.7128 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.8412, allocations: 4 kB / 0.7128 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.8412, allocations: 4 kB / 0.7128 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.8412, allocations: 7.922 kB / 0.7128 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/0.8419, allocations: 378.5 kB / 0.7132 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.8419, allocations: 4 kB / 0.7132 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.8421, allocations: 23.94 kB / 0.7132 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.8421, allocations: 3.938 kB / 0.7132 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.8422, allocations: 4 kB / 0.7132 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.8422, allocations: 7.984 kB / 0.7132 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8422, allocations: 4 kB / 0.7132 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.8425, allocations: 195.4 kB / 0.7134 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.8426, allocations: 88.95 kB / 0.7135 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.8426, allocations: 3.953 kB / 0.7135 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.8429, allocations: 31.97 kB / 0.7135 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/0.843, allocations: 15.97 kB / 0.7136 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.8431, allocations: 4 kB / 0.7136 GB, free: 15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.056e-05/0.8432, allocations: 103.8 kB / 0.7137 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8432, allocations: 0 / 0.7137 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003696/0.8436, allocations: 27.94 kB / 0.7137 GB, free: 14.87 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler.trigger,$whenCondition2,$whenCondition1,booPul1.pulseStart,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0007796/0.8443, allocations: 0.7455 MB / 0.7144 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.8447, allocations: 80.47 kB / 0.7145 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8447, allocations: 0 / 0.7145 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.8448, allocations: 36 kB / 0.7145 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.8452, allocations: 16.39 kB / 0.7145 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006978/0.8459, allocations: 183.2 kB / 0.7147 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.8463, allocations: 0.6965 MB / 0.7154 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.149e-05/0.8464, allocations: 8.547 kB / 0.7154 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.8465, allocations: 27.42 kB / 0.7154 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/0.8465, allocations: 0 / 0.7154 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.8711, allocations: 2.146 MB / 0.7175 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/0.8715, allocations: 165.5 kB / 0.7177 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/3.052, allocations: 0 / 0.7177 GB, free: 10.7 MB / 0.6042 GB