Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadModel(Buildings): time 3.917/3.917, allocations: 402 MB / 416.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.641e-05, allocations: 4 kB / 0.501 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2141, allocations: 92.69 MB / 0.5915 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.002237/0.2164, allocations: 1.155 MB / 0.5926 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00068/0.2171, allocations: 244.5 kB / 0.5928 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.2172, allocations: 4 kB / 0.5928 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.2172, allocations: 3.938 kB / 0.5928 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.525e-05/0.2173, allocations: 11.92 kB / 0.5929 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.2175, allocations: 15.92 kB / 0.5929 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.79e-05/0.2176, allocations: 31.95 kB / 0.5929 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.2177, allocations: 11.92 kB / 0.5929 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.2178, allocations: 15.98 kB / 0.5929 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.2179, allocations: 23.92 kB / 0.593 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.189e-05/0.2179, allocations: 4 kB / 0.593 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.218, allocations: 0 / 0.593 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.218, allocations: 7.984 kB / 0.593 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.218, allocations: 4 kB / 0.593 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.364e-05/0.2181, allocations: 36.19 kB / 0.593 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2181, allocations: 0 / 0.593 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2181, allocations: 0 / 0.593 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.2182, allocations: 0 / 0.593 GB, free: 9.777 MB / 0.4948 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.0007056/0.2189, allocations: 367.2 kB / 0.5934 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2189, allocations: 8.031 kB / 0.5934 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.219, allocations: 11.86 kB / 0.5934 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.2192, allocations: 178.9 kB / 0.5935 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.2192, allocations: 7.984 kB / 0.5935 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.2193, allocations: 4 kB / 0.5936 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.2196, allocations: 69.66 kB / 0.5936 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.2196, allocations: 0 / 0.5936 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.2196, allocations: 4 kB / 0.5936 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2196, allocations: 4 kB / 0.5936 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.22, allocations: 51.95 kB / 0.5937 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.2206, allocations: 292.7 kB / 0.594 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.2208, allocations: 62.55 kB / 0.594 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.2209, allocations: 0 / 0.594 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.2212, allocations: 99.47 kB / 0.5941 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.2212, allocations: 0 / 0.5941 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0006757/0.2219, allocations: 149.5 kB / 0.5943 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.2219, allocations: 51.41 kB / 0.5943 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/0.2221, allocations: 105 kB / 0.5944 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.2221, allocations: 33.7 kB / 0.5944 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.2222, allocations: 80.14 kB / 0.5945 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.2222, allocations: 23.73 kB / 0.5945 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.2222, allocations: 0 / 0.5945 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.2224, allocations: 318.8 kB / 0.5948 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.2226, allocations: 31.97 kB / 0.5949 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.2228, allocations: 62.44 kB / 0.5949 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.223, allocations: 39.95 kB / 0.595 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.223, allocations: 4 kB / 0.595 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004634/0.2235, allocations: 113.5 kB / 0.5951 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2235, allocations: 4 kB / 0.5951 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2235, allocations: 0 / 0.5951 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2235, allocations: 4 kB / 0.5951 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.2237, allocations: 23.97 kB / 0.5951 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2237, allocations: 0 / 0.5951 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.2239, allocations: 19.98 kB / 0.5951 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.2239, allocations: 4 kB / 0.5951 GB, free: 7.371 MB / 0.4948 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.0001176/0.2241, allocations: 117.8 kB / 0.5952 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.2241, allocations: 3.906 kB / 0.5952 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.2246, allocations: 118 kB / 0.5954 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2246, allocations: 7.922 kB / 0.5954 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2246, allocations: 0 / 0.5954 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.2247, allocations: 85.06 kB / 0.5954 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.2247, allocations: 8 kB / 0.5955 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.2249, allocations: 19.98 kB / 0.5955 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.2249, allocations: 3.984 kB / 0.5955 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005806/0.2255, allocations: 212.8 kB / 0.5957 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000508/0.226, allocations: 282.6 kB / 0.5959 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001915/0.2263, allocations: 35.97 kB / 0.596 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.469e-05/0.2263, allocations: 92.12 kB / 0.5961 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of Backend: time 6.01e-07/0.2263, allocations: 0 / 0.5961 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005038/0.2269, allocations: 136.8 kB / 0.5962 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of SimCode: time 0.000712/0.2276, allocations: 0.5975 MB / 0.5968 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of Templates: time 0.004193/0.2318, allocations: 0.8348 MB / 0.5976 GB, free: 4.738 MB / 0.4948 GB