Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadModel(Buildings): time 4.199/4.199, allocations: 431.3 MB / 445.8 MB, free: 5.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.108e-05, allocations: 4 kB / 0.5354 GB, free: 14.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6102, allocations: 98.71 MB / 0.6318 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.002057/0.6123, allocations: 1.153 MB / 0.6329 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006639/0.6131, allocations: 240.7 kB / 0.6332 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.6131, allocations: 4 kB / 0.6332 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.6132, allocations: 0 / 0.6332 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.344e-05/0.6132, allocations: 15.91 kB / 0.6332 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.6134, allocations: 19.97 kB / 0.6332 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.6135, allocations: 27.97 kB / 0.6332 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.6136, allocations: 11.98 kB / 0.6332 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.515e-05/0.6137, allocations: 15.92 kB / 0.6333 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.6138, allocations: 19.92 kB / 0.6333 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.908e-05/0.6138, allocations: 4 kB / 0.6333 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.6138, allocations: 0 / 0.6333 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.6139, allocations: 11.98 kB / 0.6333 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.6139, allocations: 4 kB / 0.6333 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.462e-05/0.614, allocations: 39.84 kB / 0.6333 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.614, allocations: 0 / 0.6333 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.374e-06/0.614, allocations: 4 kB / 0.6333 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.614, allocations: 0 / 0.6333 GB, free: 10.38 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007047/0.6148, allocations: 365.6 kB / 0.6337 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.6148, allocations: 12.03 kB / 0.6337 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.6149, allocations: 7.891 kB / 0.6337 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.615, allocations: 175 kB / 0.6339 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.6151, allocations: 4 kB / 0.6339 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.6151, allocations: 4 kB / 0.6339 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.6154, allocations: 69.66 kB / 0.6339 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.6154, allocations: 7.984 kB / 0.634 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.6155, allocations: 0 / 0.634 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6155, allocations: 0 / 0.634 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.6158, allocations: 59.95 kB / 0.634 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.6164, allocations: 296.6 kB / 0.6343 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.6167, allocations: 62.55 kB / 0.6343 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.6167, allocations: 4 kB / 0.6344 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002937/0.617, allocations: 87.48 kB / 0.6344 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.617, allocations: 0 / 0.6344 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0006838/0.6177, allocations: 141.6 kB / 0.6346 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.6178, allocations: 59.36 kB / 0.6346 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.6179, allocations: 109 kB / 0.6347 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.618, allocations: 29.7 kB / 0.6348 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.618, allocations: 92.11 kB / 0.6348 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.6181, allocations: 11.81 kB / 0.6349 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.6181, allocations: 4 kB / 0.6349 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6183, allocations: 322.8 kB / 0.6352 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.6184, allocations: 31.98 kB / 0.6352 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.6187, allocations: 58.42 kB / 0.6353 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.6189, allocations: 35.98 kB / 0.6353 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6189, allocations: 0 / 0.6353 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004606/0.6194, allocations: 113.5 kB / 0.6354 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.6194, allocations: 4 kB / 0.6354 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6194, allocations: 4 kB / 0.6354 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6194, allocations: 7.969 kB / 0.6354 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.6196, allocations: 19.98 kB / 0.6354 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6197, allocations: 3.953 kB / 0.6354 GB, free: 8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.6198, allocations: 15.98 kB / 0.6355 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.6199, allocations: 4 kB / 0.6355 GB, free: 7.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$PRE.triggeredMax.y,triggeredMax.y,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 0.0001256/0.62, allocations: 129.7 kB / 0.6356 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.62, allocations: 3.906 kB / 0.6356 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.6205, allocations: 114 kB / 0.6357 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6206, allocations: 0 / 0.6357 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.6206, allocations: 4 kB / 0.6357 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.6206, allocations: 7.953 kB / 0.6357 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008187/0.6214, allocations: 390.4 kB / 0.6361 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.6214, allocations: 4 kB / 0.6361 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.6216, allocations: 11.98 kB / 0.6361 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.6216, allocations: 4 kB / 0.6361 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.6216, allocations: 4 kB / 0.6361 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.6216, allocations: 3.953 kB / 0.6361 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6216, allocations: 0 / 0.6361 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.6221, allocations: 211.4 kB / 0.6363 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.6222, allocations: 85.09 kB / 0.6364 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.6223, allocations: 4 kB / 0.6364 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.6225, allocations: 15.98 kB / 0.6364 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.6225, allocations: 15.94 kB / 0.6364 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.6226, allocations: 0 / 0.6364 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.434e-05/0.6226, allocations: 92.12 kB / 0.6365 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6226, allocations: 0 / 0.6365 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003018/0.623, allocations: 16 kB / 0.6365 GB, free: 6.781 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (booPul.y,$whenCondition2,$whenCondition1,triggeredMax.y,booPul.pulseStart) * Number of discrete states: 1 (triggeredMax.y) * 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.0001471/0.6231, allocations: 95.44 kB / 0.6366 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004745/0.6236, allocations: 95.8 kB / 0.6367 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6236, allocations: 0 / 0.6367 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.6238, allocations: 31.98 kB / 0.6367 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.6241, allocations: 20.91 kB / 0.6368 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.6246, allocations: 167 kB / 0.6369 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.6249, allocations: 0.6887 MB / 0.6376 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.456e-05/0.625, allocations: 11.77 kB / 0.6376 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.625, allocations: 15.44 kB / 0.6376 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of SimCode: time 1.123e-06/0.625, allocations: 0 / 0.6376 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of Templates: time 0.003969/0.629, allocations: 0.7429 MB / 0.6383 GB, free: 4.867 MB / 0.5105 GB