Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadModel(Buildings): time 4.741/4.741, allocations: 458.9 MB / 473.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.383e-05/3.381e-05, allocations: 4.625 kB / 0.5697 GB, free: 9.785 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2479, allocations: 106.2 MB / 0.6734 GB, free: 2.609 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.002118/0.2501, allocations: 1.156 MB / 0.6746 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0007214/0.2509, allocations: 248.3 kB / 0.6748 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.2509, allocations: 4 kB / 0.6748 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.251, allocations: 0 / 0.6748 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 8.616e-05/0.2511, allocations: 7.984 kB / 0.6748 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.2513, allocations: 27.89 kB / 0.6748 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.384e-05/0.2514, allocations: 19.97 kB / 0.6749 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2515, allocations: 8 kB / 0.6749 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.2516, allocations: 23.92 kB / 0.6749 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 6.704e-05/0.2517, allocations: 23.91 kB / 0.6749 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 1.976e-05/0.2517, allocations: 4 kB / 0.6749 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2517, allocations: 0 / 0.6749 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.2518, allocations: 11.98 kB / 0.6749 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.2518, allocations: 3.938 kB / 0.6749 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 9.353e-05/0.2519, allocations: 35.86 kB / 0.675 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2519, allocations: 0 / 0.675 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.056e-06/0.2519, allocations: 4 kB / 0.675 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.252, allocations: 0 / 0.675 GB, free: 1.023 MB / 0.5417 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.0007341/0.2527, allocations: 371.5 kB / 0.6753 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.2528, allocations: 12.03 kB / 0.6753 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.2528, allocations: 3.906 kB / 0.6753 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.253, allocations: 174.9 kB / 0.6755 GB, free: 396 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.253, allocations: 7.984 kB / 0.6755 GB, free: 388 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.2531, allocations: 4 kB / 0.6755 GB, free: 384 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.2534, allocations: 73.66 kB / 0.6756 GB, free: 304 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2534, allocations: 0 / 0.6756 GB, free: 304 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2534, allocations: 0 / 0.6756 GB, free: 304 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2534, allocations: 4 kB / 0.6756 GB, free: 300 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.2538, allocations: 59.94 kB / 0.6757 GB, free: 240 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.2545, allocations: 288.7 kB / 0.6759 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.2548, allocations: 62.55 kB / 0.676 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.2548, allocations: 0 / 0.676 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.2551, allocations: 95.48 kB / 0.6761 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.2551, allocations: 0 / 0.6761 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0007239/0.2559, allocations: 145.6 kB / 0.6762 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.256, allocations: 55.36 kB / 0.6763 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2561, allocations: 109.4 kB / 0.6764 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.2561, allocations: 33.7 kB / 0.6764 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.2562, allocations: 84.14 kB / 0.6765 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.2563, allocations: 19.73 kB / 0.6765 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.2563, allocations: 4 kB / 0.6765 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2564, allocations: 310.8 kB / 0.6768 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.2566, allocations: 35.97 kB / 0.6768 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.2568, allocations: 50.56 kB / 0.6769 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.257, allocations: 39.91 kB / 0.6769 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2571, allocations: 0 / 0.6769 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004573/0.2575, allocations: 117.5 kB / 0.677 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2576, allocations: 4 kB / 0.677 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2576, allocations: 0 / 0.677 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2576, allocations: 8.125 kB / 0.6771 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.2578, allocations: 24.11 kB / 0.6771 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.2578, allocations: 11.95 kB / 0.6771 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.258, allocations: 15.98 kB / 0.6771 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.258, allocations: 7.984 kB / 0.6771 GB, free: 14.61 MB / 0.5573 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.0001268/0.2582, allocations: 113.8 kB / 0.6772 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.2582, allocations: 7.844 kB / 0.6772 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.2587, allocations: 126 kB / 0.6773 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.2587, allocations: 0 / 0.6773 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2587, allocations: 0 / 0.6773 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.2587, allocations: 3.953 kB / 0.6774 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/0.2596, allocations: 386.5 kB / 0.6777 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2597, allocations: 0 / 0.6777 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.2598, allocations: 11.98 kB / 0.6777 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.2598, allocations: 4 kB / 0.6777 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.2598, allocations: 4 kB / 0.6777 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.2598, allocations: 3.953 kB / 0.6777 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2599, allocations: 0 / 0.6777 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000499/0.2604, allocations: 211.4 kB / 0.6779 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.2604, allocations: 85.11 kB / 0.678 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.2605, allocations: 11.92 kB / 0.678 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.2607, allocations: 15.98 kB / 0.6781 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.2608, allocations: 11.94 kB / 0.6781 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2608, allocations: 0 / 0.6781 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.412e-05/0.2609, allocations: 87.28 kB / 0.6781 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2609, allocations: 4 kB / 0.6782 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003132/0.2612, allocations: 15.94 kB / 0.6782 GB, free: 13.43 MB / 0.5573 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.0001617/0.2614, allocations: 104.4 kB / 0.6783 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004919/0.2619, allocations: 83.89 kB / 0.6783 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2619, allocations: 0 / 0.6783 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.2621, allocations: 35.97 kB / 0.6784 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.2624, allocations: 12 kB / 0.6784 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.2629, allocations: 170.7 kB / 0.6786 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.2633, allocations: 0.6887 MB / 0.6792 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.9e-05/0.2634, allocations: 7.859 kB / 0.6792 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.2635, allocations: 19.31 kB / 0.6793 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/0.2635, allocations: 0 / 0.6793 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of Templates: time 0.004145/0.2676, allocations: 0.7457 MB / 0.68 GB, free: 11.51 MB / 0.5573 GB