Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadModel(Buildings): time 4.546/4.546, allocations: 458.9 MB / 473.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.141e-05, allocations: 3.25 kB / 0.5697 GB, free: 9.777 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2385, allocations: 106.2 MB / 0.6735 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001989/0.2406, allocations: 1.121 MB / 0.6746 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.000695/0.2413, allocations: 248.5 kB / 0.6748 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.2414, allocations: 0 / 0.6748 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 7.842e-05/0.2415, allocations: 11.92 kB / 0.6748 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.2416, allocations: 15.97 kB / 0.6748 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.2418, allocations: 23.91 kB / 0.6748 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.2419, allocations: 23.97 kB / 0.6749 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 7.659e-05/0.2419, allocations: 3.938 kB / 0.6749 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2421, allocations: 31.91 kB / 0.6749 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.2422, allocations: 27.91 kB / 0.6749 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-05/0.2422, allocations: 0 / 0.6749 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.2423, allocations: 4 kB / 0.6749 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.2423, allocations: 0 / 0.6749 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.2423, allocations: 12 kB / 0.6749 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 9.739e-05/0.2425, allocations: 44.17 kB / 0.675 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2425, allocations: 0 / 0.675 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2425, allocations: 4 kB / 0.675 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.2425, allocations: 0 / 0.675 GB, free: 0.9844 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005434/0.2431, allocations: 377 kB / 0.6754 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.2431, allocations: 8.031 kB / 0.6754 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.2432, allocations: 7.906 kB / 0.6754 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.2434, allocations: 178.9 kB / 0.6755 GB, free: 340 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2434, allocations: 8 kB / 0.6755 GB, free: 332 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.2435, allocations: 8 kB / 0.6756 GB, free: 324 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.2437, allocations: 77.59 kB / 0.6756 GB, free: 240 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2437, allocations: 0 / 0.6756 GB, free: 240 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2438, allocations: 0 / 0.6756 GB, free: 240 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2438, allocations: 0 / 0.6756 GB, free: 240 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.244, allocations: 43.98 kB / 0.6757 GB, free: 196 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.2446, allocations: 296.7 kB / 0.676 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.2448, allocations: 70.5 kB / 0.676 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2448, allocations: 48 / 0.676 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.2451, allocations: 125.1 kB / 0.6761 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.2451, allocations: 0 / 0.6761 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0006812/0.2458, allocations: 288.4 kB / 0.6764 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.2459, allocations: 118.8 kB / 0.6765 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.246, allocations: 101 kB / 0.6766 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.246, allocations: 41.69 kB / 0.6767 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.2461, allocations: 88.08 kB / 0.6767 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.2462, allocations: 35.62 kB / 0.6768 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.2462, allocations: 4 kB / 0.6768 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2463, allocations: 318.8 kB / 0.6771 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.2465, allocations: 35.97 kB / 0.6771 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.2467, allocations: 104.6 kB / 0.6772 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.2469, allocations: 89.61 kB / 0.6773 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2469, allocations: 0 / 0.6773 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005015/0.2474, allocations: 199.3 kB / 0.6775 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.2475, allocations: 37.73 kB / 0.6775 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2475, allocations: 0 / 0.6775 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.2475, allocations: 7.953 kB / 0.6775 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.2478, allocations: 31.92 kB / 0.6776 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.2478, allocations: 4 kB / 0.6776 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2479, allocations: 15.89 kB / 0.6776 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.2479, allocations: 12 kB / 0.6776 GB, free: 14 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.movMea.iSample,movMea.iSample,$PRE.movMea.counter,movMea.counter,$PRE.movMea.ySample[4],movMea.ySample[4],$PRE.movMea.ySample[3],movMea.ySample[3],$PRE.movMea.ySample[2],movMea.ySample[2],$PRE.movMea.ySample[1],movMea.ySample[1],$PRE.movMea.index,movMea.index,$PRE.movMea.y,movMea.y,$whenCondition1,movMea.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0001927/0.2482, allocations: 175.5 kB / 0.6778 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.2482, allocations: 7.906 kB / 0.6778 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.2482, allocations: 16.3 kB / 0.6778 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2482, allocations: 0 / 0.6778 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.2483, allocations: 3.953 kB / 0.6778 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2483, allocations: 0 / 0.6778 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.2485, allocations: 181.6 kB / 0.678 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2485, allocations: 0 / 0.678 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/0.2486, allocations: 11.98 kB / 0.678 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2486, allocations: 4 kB / 0.678 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.2486, allocations: 0 / 0.678 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.2486, allocations: 4 kB / 0.678 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2486, allocations: 3.938 kB / 0.678 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.2492, allocations: 230.6 kB / 0.6782 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.2493, allocations: 85.02 kB / 0.6783 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.2493, allocations: 7.984 kB / 0.6783 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.2494, allocations: 12 kB / 0.6783 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.2495, allocations: 4 kB / 0.6783 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.2495, allocations: 11.92 kB / 0.6783 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.2496, allocations: 87.23 kB / 0.6784 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2496, allocations: 4 kB / 0.6784 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003008/0.2499, allocations: 16 kB / 0.6784 GB, free: 13.04 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: 10 ($whenCondition1,movMea.y,movMea.sampleTrigger,movMea.iSample,movMea.counter,movMea.index,movMea.ySample[1],movMea.ySample[2],movMea.ySample[3],movMea.ySample[4]) * Number of discrete states: 9 (movMea.iSample,movMea.y,movMea.counter,movMea.ySample[4],movMea.ySample[3],movMea.ySample[2],movMea.ySample[1],movMea.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001794/0.2501, allocations: 119.2 kB / 0.6785 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000474/0.2506, allocations: 175.2 kB / 0.6787 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2506, allocations: 0 / 0.6787 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.2509, allocations: 191.3 kB / 0.6789 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.2512, allocations: 13.25 kB / 0.6789 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.2517, allocations: 201.1 kB / 0.6791 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.252, allocations: 0.6965 MB / 0.6798 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.961e-05/0.2521, allocations: 8.672 kB / 0.6798 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.2521, allocations: 11.44 kB / 0.6798 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/0.2522, allocations: 0 / 0.6798 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of Templates: time 0.00436/0.2565, allocations: 0.8746 MB / 0.6807 GB, free: 10.68 MB / 0.5573 GB