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.695/3.695, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.221e-05/5.237e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5926, allocations: 92.68 MB / 0.5896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.8199, allocations: 121.9 MB / 0.7087 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.8203, allocations: 95.86 kB / 0.7088 GB, free: 4.305 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005962/0.8263, allocations: 1.386 MB / 0.7102 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.552e-06/0.8263, allocations: 0 / 0.7102 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.8264, allocations: 0 / 0.7102 GB, free: 2.914 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.0007669/0.8271, allocations: 410.3 kB / 0.7106 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.8272, allocations: 8.031 kB / 0.7106 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.8273, allocations: 34.56 kB / 0.7106 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.8273, allocations: 23.8 kB / 0.7106 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.8275, allocations: 178.9 kB / 0.7108 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.8275, allocations: 8 kB / 0.7108 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.8275, allocations: 4 kB / 0.7108 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.8278, allocations: 77.61 kB / 0.7109 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.8278, allocations: 0 / 0.7109 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.8278, allocations: 0 / 0.7109 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8278, allocations: 0 / 0.7109 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.828, allocations: 55.94 kB / 0.7109 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007992/0.8288, allocations: 356.7 kB / 0.7113 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.8295, allocations: 126.6 kB / 0.7114 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9e-05/0.8296, allocations: 28.8 kB / 0.7114 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.8297, allocations: 7.984 kB / 0.7114 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.8299, allocations: 87.47 kB / 0.7115 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.284e-06/0.8299, allocations: 0 / 0.7115 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003255/0.8302, allocations: 101.6 kB / 0.7116 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.8303, allocations: 55.41 kB / 0.7117 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.8304, allocations: 121.2 kB / 0.7118 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.8305, allocations: 29.7 kB / 0.7118 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.8305, allocations: 96.12 kB / 0.7119 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.8306, allocations: 39.48 kB / 0.7119 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.8306, allocations: 0 / 0.7119 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8308, allocations: 322.8 kB / 0.7123 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.8309, allocations: 32 kB / 0.7123 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.831, allocations: 63.36 kB / 0.7123 GB, free: 472 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.8311, allocations: 28.05 kB / 0.7124 GB, free: 444 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8312, allocations: 0 / 0.7124 GB, free: 444 kB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003111/0.8315, allocations: 121.5 kB / 0.7125 GB, free: 316 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.8315, allocations: 7.953 kB / 0.7125 GB, free: 308 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8315, allocations: 0 / 0.7125 GB, free: 308 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8316, allocations: 4 kB / 0.7125 GB, free: 304 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.8318, allocations: 32 kB / 0.7125 GB, free: 272 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.8318, allocations: 7.938 kB / 0.7125 GB, free: 264 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.8321, allocations: 23.98 kB / 0.7126 GB, free: 240 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.8321, allocations: 4 kB / 0.7126 GB, free: 236 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.0001102/0.8323, allocations: 117 kB / 0.7127 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.8323, allocations: 3.906 kB / 0.7127 GB, free: 108 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.8327, allocations: 126.2 kB / 0.7128 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.8327, allocations: 0 / 0.7128 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8327, allocations: 0 / 0.7128 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.8327, allocations: 7.938 kB / 0.7128 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006244/0.8333, allocations: 382.4 kB / 0.7132 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.8334, allocations: 4 kB / 0.7132 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.8336, allocations: 27.94 kB / 0.7132 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.8336, allocations: 0 / 0.7132 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.8336, allocations: 7.984 kB / 0.7132 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8336, allocations: 0 / 0.7132 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8337, allocations: 0 / 0.7132 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.834, allocations: 203.3 kB / 0.7134 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.8341, allocations: 84.95 kB / 0.7135 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.8341, allocations: 7.953 kB / 0.7135 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.8344, allocations: 35.95 kB / 0.7135 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/0.8345, allocations: 19.97 kB / 0.7135 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.8345, allocations: 3.984 kB / 0.7135 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.414e-05/0.8346, allocations: 95.78 kB / 0.7136 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8346, allocations: 0 / 0.7136 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003216/0.835, allocations: 20 kB / 0.7137 GB, free: 15 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.0006939/0.8357, allocations: 0.7452 MB / 0.7144 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.836, allocations: 91.91 kB / 0.7145 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.836, allocations: 0 / 0.7145 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.8361, allocations: 32 kB / 0.7145 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.8365, allocations: 24.12 kB / 0.7145 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.8372, allocations: 167.1 kB / 0.7147 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.8375, allocations: 0.7043 MB / 0.7154 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.604e-05/0.8377, allocations: 8.562 kB / 0.7154 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.8378, allocations: 27.42 kB / 0.7154 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/0.8378, allocations: 0 / 0.7154 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.8635, allocations: 2.158 MB / 0.7175 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/0.8639, allocations: 161 kB / 0.7177 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/3.015, allocations: 0 / 0.7177 GB, free: 10.82 MB / 0.6042 GB