Running command: translateModel(Buildings.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadModel(Buildings): time 3.809/3.809, allocations: 402 MB / 416.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.877e-05, allocations: 7.938 kB / 0.5009 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1986, allocations: 92.69 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Examples.KalmanFilter): time 0.002365/0.201, allocations: 1.357 MB / 0.5928 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.2031, allocations: 0.8431 MB / 0.5936 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.2032, allocations: 7.938 kB / 0.5936 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.986e-05/0.2033, allocations: 11.92 kB / 0.5936 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.2035, allocations: 31.89 kB / 0.5937 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.2041, allocations: 151.5 kB / 0.5938 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.2044, allocations: 83.84 kB / 0.5939 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.158e-05/0.2045, allocations: 15.98 kB / 0.5939 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.2046, allocations: 51.83 kB / 0.5939 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.2048, allocations: 51.83 kB / 0.594 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.205, allocations: 87.88 kB / 0.5941 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.2051, allocations: 8 kB / 0.5941 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2052, allocations: 47.88 kB / 0.5941 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.2052, allocations: 8 kB / 0.5941 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.2056, allocations: 167.6 kB / 0.5943 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2056, allocations: 0 / 0.5943 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2056, allocations: 0 / 0.5943 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.2056, allocations: 0 / 0.5943 GB, free: 8.453 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009592/0.2066, allocations: 454.9 kB / 0.5947 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.2067, allocations: 8.031 kB / 0.5947 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.2067, allocations: 11.91 kB / 0.5948 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.2071, allocations: 210.8 kB / 0.595 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.2071, allocations: 8 kB / 0.595 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.2072, allocations: 19.88 kB / 0.595 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.2076, allocations: 141.5 kB / 0.5951 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2077, allocations: 0 / 0.5951 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.2077, allocations: 8 kB / 0.5951 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2077, allocations: 0 / 0.5951 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.2081, allocations: 83.94 kB / 0.5952 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.2093, allocations: 404.5 kB / 0.5956 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.2097, allocations: 150.6 kB / 0.5957 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.2098, allocations: 0 / 0.5957 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.2102, allocations: 160.9 kB / 0.5959 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/0.2102, allocations: 0 / 0.5959 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001017/0.2113, allocations: 295.5 kB / 0.5962 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.2113, allocations: 93.09 kB / 0.5963 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.2115, allocations: 135.4 kB / 0.5964 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.2116, allocations: 33.7 kB / 0.5964 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.2117, allocations: 108.8 kB / 0.5965 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/0.2117, allocations: 51.34 kB / 0.5966 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.2118, allocations: 8 kB / 0.5966 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2119, allocations: 330.8 kB / 0.5969 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.2122, allocations: 71.95 kB / 0.597 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.2125, allocations: 177.3 kB / 0.5971 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.2128, allocations: 95.92 kB / 0.5972 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2129, allocations: 0 / 0.5972 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007653/0.2136, allocations: 277.2 kB / 0.5975 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.2137, allocations: 8 kB / 0.5975 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2137, allocations: 0 / 0.5975 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.2137, allocations: 8 kB / 0.5975 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.214, allocations: 35.92 kB / 0.5975 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/0.214, allocations: 12.22 kB / 0.5976 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.2142, allocations: 27.84 kB / 0.5976 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.2143, allocations: 16 kB / 0.5976 GB, free: 4.809 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition3,$PRE.kalFil.firstTrigger,kalFil.firstTrigger,$PRE.kalFil.yR[1],kalFil.yR[1],$PRE.kalFil.uRIntPre[1],kalFil.uRIntPre[1],$PRE.ran.firstTrigger,ran.firstTrigger,$PRE.ran.uRIntPre[1],ran.uRIntPre[1],$whenCondition1,ran.sampleTrigger,$PRE.ran.uRWri[1],ran.uRWri[1],$whenCondition2,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001926/0.2145, allocations: 143.5 kB / 0.5977 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.2145, allocations: 19.8 kB / 0.5977 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.2146, allocations: 21.12 kB / 0.5978 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2146, allocations: 0 / 0.5978 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2146, allocations: 7.938 kB / 0.5978 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.2147, allocations: 96.89 kB / 0.5979 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.2147, allocations: 4 kB / 0.5979 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.2149, allocations: 15.98 kB / 0.5979 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.215, allocations: 11.98 kB / 0.5979 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000872/0.2159, allocations: 397.4 kB / 0.5983 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001127/0.217, allocations: 0.576 MB / 0.5988 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002763/0.2173, allocations: 80.03 kB / 0.5989 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001131/0.2175, allocations: 117.5 kB / 0.599 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of Backend: time 6.92e-07/0.2175, allocations: 0 / 0.599 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.2188, allocations: 360.2 kB / 0.5994 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of SimCode: time 0.001058/0.2199, allocations: 0.7698 MB / 0.6001 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.4954/0.7153, allocations: 2.358 MB / 0.6024 GB, free: 12.27 MB / 0.4948 GB