Running command: translateModel(Buildings.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadModel(Buildings): time 4.259/4.259, allocations: 431.3 MB / 445.8 MB, free: 7.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.16e-05, allocations: 4 kB / 0.5354 GB, free: 1.301 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6688/0.6688, allocations: 98.71 MB / 0.6318 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Examples.KalmanFilter): time 0.002544/0.6714, allocations: 1.393 MB / 0.6332 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00317/0.6746, allocations: 1.587 MB / 0.6347 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.6748, allocations: 3.938 kB / 0.6347 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.6749, allocations: 15.92 kB / 0.6347 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.6751, allocations: 19.89 kB / 0.6347 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.6758, allocations: 203.4 kB / 0.6349 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.6761, allocations: 87.83 kB / 0.635 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.6762, allocations: 15.98 kB / 0.635 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.6763, allocations: 59.83 kB / 0.6351 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.6765, allocations: 51.81 kB / 0.6351 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.6769, allocations: 163.7 kB / 0.6353 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.677, allocations: 16 kB / 0.6353 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.6771, allocations: 47.88 kB / 0.6354 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.6772, allocations: 8 kB / 0.6354 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.6777, allocations: 231.6 kB / 0.6356 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.6777, allocations: 0 / 0.6356 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6777, allocations: 0 / 0.6356 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.6777, allocations: 0 / 0.6356 GB, free: 12.91 MB / 0.5105 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.001004/0.6787, allocations: 487.5 kB / 0.6361 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.6788, allocations: 11.97 kB / 0.6361 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.6789, allocations: 15.81 kB / 0.6361 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.6792, allocations: 217.9 kB / 0.6363 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.6792, allocations: 8 kB / 0.6363 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.6793, allocations: 15.98 kB / 0.6363 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.6797, allocations: 148.6 kB / 0.6365 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.6797, allocations: 0 / 0.6365 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.6798, allocations: 3.984 kB / 0.6365 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.6798, allocations: 4 kB / 0.6365 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.6802, allocations: 79.95 kB / 0.6365 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.6814, allocations: 416.5 kB / 0.6369 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/0.6819, allocations: 154.6 kB / 0.6371 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.6819, allocations: 4 kB / 0.6371 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004297/0.6824, allocations: 157 kB / 0.6372 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.685e-06/0.6824, allocations: 0 / 0.6372 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.001156/0.6836, allocations: 295 kB / 0.6375 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/0.6837, allocations: 97.22 kB / 0.6376 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.6839, allocations: 141.7 kB / 0.6377 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.6839, allocations: 45.69 kB / 0.6378 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.684, allocations: 104.8 kB / 0.6379 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.6841, allocations: 59.22 kB / 0.6379 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.6841, allocations: 4 kB / 0.6379 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6843, allocations: 330.8 kB / 0.6383 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.6846, allocations: 67.95 kB / 0.6383 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.6849, allocations: 178.8 kB / 0.6385 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.6853, allocations: 84 kB / 0.6386 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6853, allocations: 4 kB / 0.6386 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008282/0.6861, allocations: 273.3 kB / 0.6388 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.6862, allocations: 4 kB / 0.6388 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6862, allocations: 7.938 kB / 0.6389 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.6862, allocations: 8 kB / 0.6389 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.6865, allocations: 43.92 kB / 0.6389 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.6865, allocations: 11.89 kB / 0.6389 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.6867, allocations: 23.95 kB / 0.6389 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.6868, allocations: 16 kB / 0.639 GB, free: 9.195 MB / 0.5105 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.0002135/0.687, allocations: 143.5 kB / 0.6391 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.687, allocations: 15.81 kB / 0.6391 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.6871, allocations: 21.86 kB / 0.6391 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.6871, allocations: 0 / 0.6391 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6872, allocations: 4 kB / 0.6391 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.6872, allocations: 7.953 kB / 0.6391 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.6886, allocations: 0.5584 MB / 0.6397 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.6886, allocations: 3.984 kB / 0.6397 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.6888, allocations: 19.98 kB / 0.6397 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6888, allocations: 4 kB / 0.6397 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.6888, allocations: 15.94 kB / 0.6397 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.6889, allocations: 0 / 0.6397 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6889, allocations: 0 / 0.6397 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.69, allocations: 425.6 kB / 0.6401 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.6901, allocations: 101 kB / 0.6402 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.6902, allocations: 4 kB / 0.6402 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.6904, allocations: 15.98 kB / 0.6402 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.6905, allocations: 15.95 kB / 0.6403 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.6906, allocations: 11.98 kB / 0.6403 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001357/0.6907, allocations: 120 kB / 0.6404 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6907, allocations: 0 / 0.6404 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005888/0.6913, allocations: 91.92 kB / 0.6405 GB, free: 7.527 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (ran.uRInt[1],kalFil.uRInt[1]) * Number of discrete variables: 13 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],$whenCondition3) * Number of discrete states: 2 (kalFil.uR[1],ran.uR[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001074/0.6924, allocations: 392.9 kB / 0.6408 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007169/0.6932, allocations: 191.7 kB / 0.641 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6932, allocations: 3.938 kB / 0.641 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.6935, allocations: 88.7 kB / 0.6411 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.6939, allocations: 19.98 kB / 0.6411 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.6949, allocations: 383.4 kB / 0.6415 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.6953, allocations: 0.7321 MB / 0.6422 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.6955, allocations: 49.45 kB / 0.6423 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.6956, allocations: 19.42 kB / 0.6423 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of SimCode: time 9.21e-07/0.6956, allocations: 0 / 0.6423 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of Templates: time 0.01004/0.7057, allocations: 2.851 MB / 0.6451 GB, free: 2.852 MB / 0.5105 GB