Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadModel(Buildings): time 4.314/4.314, allocations: 464.7 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.727e-05, allocations: 5.969 kB / 0.5731 GB, free: 5.746 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2043, allocations: 107.2 MB / 0.6778 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.704/0.9084, allocations: 132.1 MB / 0.8067 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.9086, allocations: 73.83 kB / 0.8068 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004095/0.9127, allocations: 1.192 MB / 0.808 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.059e-06/0.9128, allocations: 0 / 0.808 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.552e-06/0.9128, allocations: 3.844 kB / 0.808 GB, free: 12.08 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004664/0.9133, allocations: 382.2 kB / 0.8083 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.9133, allocations: 11.53 kB / 0.8084 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.9134, allocations: 6.688 kB / 0.8084 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.932e-05/0.9135, allocations: 174.7 kB / 0.8085 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.677e-05/0.9136, allocations: 36.77 kB / 0.8086 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.9136, allocations: 7.844 kB / 0.8086 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.9138, allocations: 67.64 kB / 0.8086 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.553e-06/0.9138, allocations: 0 / 0.8086 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.9138, allocations: 2.625 kB / 0.8086 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-06/0.9138, allocations: 0 / 0.8086 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.85e-05/0.9139, allocations: 30.28 kB / 0.8087 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.9144, allocations: 318.6 kB / 0.809 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.9145, allocations: 54.02 kB / 0.809 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.9146, allocations: 22.58 kB / 0.809 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.9146, allocations: 0 / 0.809 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.9148, allocations: 72.75 kB / 0.8091 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.484e-06/0.9148, allocations: 0 / 0.8091 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002221/0.915, allocations: 92.02 kB / 0.8092 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.9151, allocations: 59.11 kB / 0.8093 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.9152, allocations: 112 kB / 0.8094 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.9152, allocations: 29.52 kB / 0.8094 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.9152, allocations: 90.55 kB / 0.8095 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.9153, allocations: 15.31 kB / 0.8095 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-06/0.9153, allocations: 3.688 kB / 0.8095 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.9154, allocations: 320.9 kB / 0.8098 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.6e-05/0.9154, allocations: 23.05 kB / 0.8098 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.9155, allocations: 53.38 kB / 0.8099 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/0.9156, allocations: 21.81 kB / 0.8099 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-06/0.9156, allocations: 0 / 0.8099 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002004/0.9158, allocations: 92.16 kB / 0.81 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.9158, allocations: 7.719 kB / 0.81 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.549e-06/0.9159, allocations: 2.812 kB / 0.81 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.9159, allocations: 3.844 kB / 0.81 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.9161, allocations: 22.17 kB / 0.81 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.393e-06/0.9161, allocations: 6.703 kB / 0.81 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.9162, allocations: 37.7 kB / 0.8101 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.9163, allocations: 3.781 kB / 0.8101 GB, free: 10.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.347e-05/0.9163, allocations: 111.1 kB / 0.8102 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.9164, allocations: 3.844 kB / 0.8102 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.9166, allocations: 91.73 kB / 0.8103 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9166, allocations: 384 / 0.8103 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.898e-06/0.9166, allocations: 4 kB / 0.8103 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.482e-06/0.9166, allocations: 3.938 kB / 0.8103 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.9171, allocations: 371.4 kB / 0.8106 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-06/0.9171, allocations: 3.938 kB / 0.8106 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.9172, allocations: 14.09 kB / 0.8106 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.641e-06/0.9172, allocations: 0 / 0.8106 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.9172, allocations: 4 kB / 0.8106 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9172, allocations: 2.859 kB / 0.8107 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.287e-06/0.9173, allocations: 3.953 kB / 0.8107 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.9174, allocations: 189.5 kB / 0.8108 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.9175, allocations: 80.95 kB / 0.8109 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.9175, allocations: 0 / 0.8109 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.9177, allocations: 21.22 kB / 0.8109 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.9177, allocations: 10.22 kB / 0.8109 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.9178, allocations: 6.625 kB / 0.811 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.9178, allocations: 90.78 kB / 0.811 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.53e-07/0.9178, allocations: 3.938 kB / 0.811 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003408/0.9182, allocations: 19.03 kB / 0.8111 GB, free: 9.535 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: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001124/0.9183, allocations: 105.3 kB / 0.8112 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.9185, allocations: 56.53 kB / 0.8112 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9185, allocations: 0 / 0.8112 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.9186, allocations: 28.88 kB / 0.8112 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.9188, allocations: 10.75 kB / 0.8113 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.9192, allocations: 108.1 kB / 0.8114 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.9196, allocations: 0.6911 MB / 0.812 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.087e-05/0.9197, allocations: 11.69 kB / 0.812 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.9197, allocations: 10.06 kB / 0.812 GB, free: 24.65 MB / 0.6511 GB Notification: Performance of SimCode: time 1.528e-06/0.9197, allocations: 288 / 0.812 GB, free: 24.65 MB / 0.6511 GB Notification: Performance of Templates: time 0.0035/0.9233, allocations: 0.8207 MB / 0.8129 GB, free: 24.57 MB / 0.6511 GB