Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") Notification: Performance of loadModel(Buildings): time 4.777/4.777, allocations: 458.9 MB / 473.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.876e-05, allocations: 4.188 kB / 0.5697 GB, free: 9.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2378, allocations: 106.2 MB / 0.6735 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler): time 0.002075/0.24, allocations: 1.093 MB / 0.6745 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0005971/0.2406, allocations: 200.3 kB / 0.6747 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.2407, allocations: 0 / 0.6747 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.2407, allocations: 3.984 kB / 0.6747 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 6.746e-05/0.2408, allocations: 11.92 kB / 0.6747 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.241, allocations: 19.92 kB / 0.6747 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.267e-05/0.2411, allocations: 23.97 kB / 0.6748 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.2412, allocations: 0 / 0.6748 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-05/0.2413, allocations: 19.92 kB / 0.6748 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.2413, allocations: 11.98 kB / 0.6748 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.2413, allocations: 0 / 0.6748 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.2414, allocations: 4 kB / 0.6748 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.2414, allocations: 3.938 kB / 0.6748 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.2414, allocations: 7.938 kB / 0.6748 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 8.775e-05/0.2415, allocations: 35.91 kB / 0.6748 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2415, allocations: 4 kB / 0.6749 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2416, allocations: 0 / 0.6749 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.2416, allocations: 0 / 0.6749 GB, free: 1.113 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007299/0.2423, allocations: 359.5 kB / 0.6752 GB, free: 0.7148 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.2424, allocations: 12.02 kB / 0.6752 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.2424, allocations: 4 kB / 0.6752 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.2426, allocations: 170.9 kB / 0.6754 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2426, allocations: 0 / 0.6754 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.2427, allocations: 8 kB / 0.6754 GB, free: 496 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.243, allocations: 69.64 kB / 0.6754 GB, free: 420 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.243, allocations: 0 / 0.6754 GB, free: 420 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.243, allocations: 7.938 kB / 0.6755 GB, free: 412 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.243, allocations: 0 / 0.6755 GB, free: 412 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.2434, allocations: 55.89 kB / 0.6755 GB, free: 356 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.2439, allocations: 280.8 kB / 0.6758 GB, free: 24 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.2442, allocations: 58.55 kB / 0.6758 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.2442, allocations: 4 kB / 0.6758 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.2445, allocations: 83.44 kB / 0.6759 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.2446, allocations: 0 / 0.6759 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.000696/0.2453, allocations: 133.7 kB / 0.676 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.2453, allocations: 63.36 kB / 0.6761 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.2454, allocations: 105 kB / 0.6762 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.2455, allocations: 25.7 kB / 0.6762 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.2455, allocations: 80.14 kB / 0.6763 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.2456, allocations: 15.81 kB / 0.6763 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.2456, allocations: 0 / 0.6763 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2457, allocations: 323.1 kB / 0.6766 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.2459, allocations: 31.92 kB / 0.6767 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.2461, allocations: 51.41 kB / 0.6767 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.2463, allocations: 35.98 kB / 0.6767 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2463, allocations: 0 / 0.6767 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000427/0.2467, allocations: 113.7 kB / 0.6768 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.2468, allocations: 6.812 kB / 0.6769 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2468, allocations: 0 / 0.6769 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2468, allocations: 4 kB / 0.6769 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.247, allocations: 19.92 kB / 0.6769 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.247, allocations: 0 / 0.6769 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2471, allocations: 19.84 kB / 0.6769 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.2472, allocations: 4 kB / 0.6769 GB, free: 14.79 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.sampler1.firstTrigger,sampler1.firstTrigger,$whenCondition1,sampler1.sampleTrigger,sampler1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001065/0.2473, allocations: 114.7 kB / 0.677 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.2473, allocations: 7.938 kB / 0.677 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004584/0.2478, allocations: 114 kB / 0.6771 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2478, allocations: 0 / 0.6771 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2478, allocations: 4 kB / 0.6771 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2478, allocations: 4 kB / 0.6771 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/0.2485, allocations: 362.4 kB / 0.6775 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.2486, allocations: 3.984 kB / 0.6775 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.2487, allocations: 23.92 kB / 0.6775 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.2487, allocations: 0 / 0.6775 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2487, allocations: 3.938 kB / 0.6775 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2487, allocations: 0 / 0.6775 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.2487, allocations: 3.953 kB / 0.6775 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.2492, allocations: 207.9 kB / 0.6777 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.133e-05/0.2493, allocations: 81.02 kB / 0.6778 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.2493, allocations: 8.062 kB / 0.6778 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.2495, allocations: 11.98 kB / 0.6778 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.2496, allocations: 4 kB / 0.6778 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.2496, allocations: 11.94 kB / 0.6778 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.2497, allocations: 87.28 kB / 0.6779 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2497, allocations: 0 / 0.6779 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002915/0.25, allocations: 8 kB / 0.6779 GB, free: 13.65 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001563/0.2502, allocations: 103.2 kB / 0.678 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.2506, allocations: 75.94 kB / 0.6781 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2506, allocations: 0 / 0.6781 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.2508, allocations: 36 kB / 0.6781 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.251, allocations: 11.98 kB / 0.6781 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.2515, allocations: 144.9 kB / 0.6783 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.2518, allocations: 0.6848 MB / 0.6789 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.865e-05/0.2519, allocations: 4.172 kB / 0.6789 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.2519, allocations: 11.44 kB / 0.679 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of SimCode: time 6.32e-07/0.2519, allocations: 0 / 0.679 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of Templates: time 0.003541/0.2555, allocations: 0.5389 MB / 0.6795 GB, free: 11.98 MB / 0.5573 GB