Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_ZeroCrossing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.193/4.193, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.077e-05/4.083e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2392, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8359/1.075, allocations: 131.8 MB / 0.8007 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/1.076, allocations: 78.31 kB / 0.8007 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005572/1.081, allocations: 1.354 MB / 0.8021 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/1.081, allocations: 0 / 0.8021 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.081, allocations: 4 kB / 0.8021 GB, free: 12.38 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007299/1.082, allocations: 414.6 kB / 0.8025 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.082, allocations: 15.53 kB / 0.8025 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/1.082, allocations: 39.78 kB / 0.8025 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/1.082, allocations: 11.83 kB / 0.8025 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/1.082, allocations: 175.8 kB / 0.8027 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/1.082, allocations: 7.156 kB / 0.8027 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/1.082, allocations: 3.844 kB / 0.8027 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/1.083, allocations: 73.81 kB / 0.8028 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.083, allocations: 0 / 0.8028 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/1.083, allocations: 3 kB / 0.8028 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.083, allocations: 0 / 0.8028 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/1.083, allocations: 46.88 kB / 0.8028 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/1.084, allocations: 368.9 kB / 0.8032 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/1.084, allocations: 128.3 kB / 0.8033 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.409e-05/1.084, allocations: 32.39 kB / 0.8033 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/1.084, allocations: 5.281 kB / 0.8033 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/1.084, allocations: 85.11 kB / 0.8034 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.885e-06/1.085, allocations: 3.844 kB / 0.8034 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003151/1.085, allocations: 99.67 kB / 0.8035 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/1.085, allocations: 51.41 kB / 0.8036 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.085, allocations: 118 kB / 0.8037 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/1.085, allocations: 35 kB / 0.8037 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/1.085, allocations: 102.9 kB / 0.8038 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/1.085, allocations: 28.72 kB / 0.8038 GB, free: 11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/1.085, allocations: 3.812 kB / 0.8038 GB, free: 11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.853e-05/1.085, allocations: 321.3 kB / 0.8041 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.351e-05/1.085, allocations: 27.91 kB / 0.8042 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/1.085, allocations: 58.36 kB / 0.8042 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.194e-05/1.086, allocations: 28.83 kB / 0.8042 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.086, allocations: 0 / 0.8042 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002793/1.086, allocations: 119.4 kB / 0.8044 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.086, allocations: 8.938 kB / 0.8044 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.086, allocations: 3.969 kB / 0.8044 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.086, allocations: 3.953 kB / 0.8044 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/1.086, allocations: 33.38 kB / 0.8044 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.086, allocations: 3.844 kB / 0.8044 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/1.087, allocations: 30.05 kB / 0.8044 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/1.087, allocations: 3.875 kB / 0.8044 GB, free: 10.59 MB / 0.6355 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 8.285e-05/1.087, allocations: 119.4 kB / 0.8046 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/1.087, allocations: 9.281 kB / 0.8046 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/1.087, allocations: 110.5 kB / 0.8047 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/1.087, allocations: 7.828 kB / 0.8047 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/1.087, allocations: 0 / 0.8047 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.087, allocations: 0 / 0.8047 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/1.088, allocations: 392.2 kB / 0.8051 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.088, allocations: 0 / 0.8051 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/1.088, allocations: 24.66 kB / 0.8051 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.088, allocations: 3.953 kB / 0.8051 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/1.088, allocations: 5.156 kB / 0.8051 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.088, allocations: 3.812 kB / 0.8051 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.088, allocations: 0 / 0.8051 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/1.088, allocations: 196.6 kB / 0.8053 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/1.088, allocations: 94.69 kB / 0.8054 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/1.088, allocations: 7.797 kB / 0.8054 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/1.088, allocations: 30.08 kB / 0.8054 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/1.089, allocations: 19.28 kB / 0.8054 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/1.089, allocations: 5.391 kB / 0.8054 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.541e-05/1.089, allocations: 95.34 kB / 0.8055 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.089, allocations: 4 kB / 0.8055 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003522/1.089, allocations: 22.62 kB / 0.8055 GB, free: 9.785 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: 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.0009087/1.09, allocations: 0.7321 MB / 0.8063 GB, free: 25.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002732/1.09, allocations: 81.03 kB / 0.8063 GB, free: 25.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.09, allocations: 192 / 0.8063 GB, free: 25.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/1.09, allocations: 45.31 kB / 0.8064 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/1.091, allocations: 16.2 kB / 0.8064 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/1.091, allocations: 164.1 kB / 0.8065 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/1.092, allocations: 0.6951 MB / 0.8072 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.236e-05/1.092, allocations: 18.97 kB / 0.8072 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.678e-05/1.092, allocations: 24.12 kB / 0.8073 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of SimCode: time 1.473e-06/1.092, allocations: 0 / 0.8073 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/1.115, allocations: 2.152 MB / 0.8094 GB, free: 24 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.115, allocations: 165.5 kB / 0.8095 GB, free: 23.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/3.348, allocations: 0 / 0.8095 GB, free: 23.77 MB / 0.6511 GB