Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.KalmanFilter") Notification: Performance of loadModel(Buildings): time 4.458/4.458, allocations: 458.9 MB / 473.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.758e-05, allocations: 5.219 kB / 0.5697 GB, free: 9.801 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 106.2 MB / 0.6734 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.KalmanFilter): time 0.00258/0.2764, allocations: 1.424 MB / 0.6748 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00348/0.2799, allocations: 1.67 MB / 0.6765 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.2801, allocations: 7.938 kB / 0.6765 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.2802, allocations: 19.91 kB / 0.6765 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.2804, allocations: 31.83 kB / 0.6765 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.2814, allocations: 219.4 kB / 0.6767 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.2816, allocations: 103.8 kB / 0.6768 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.2817, allocations: 12 kB / 0.6768 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.282, allocations: 63.75 kB / 0.6769 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.2822, allocations: 59.77 kB / 0.6769 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009303/0.2832, allocations: 203.7 kB / 0.6771 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.2833, allocations: 16 kB / 0.6772 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.2835, allocations: 43.88 kB / 0.6772 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.2836, allocations: 8 kB / 0.6772 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.2844, allocations: 263.8 kB / 0.6775 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2844, allocations: 0 / 0.6775 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2845, allocations: 0 / 0.6775 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.2845, allocations: 0 / 0.6775 GB, free: 14.47 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001466/0.286, allocations: 483.2 kB / 0.6779 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/0.286, allocations: 15.97 kB / 0.6779 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2862, allocations: 27.69 kB / 0.678 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.2866, allocations: 217.8 kB / 0.6782 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.2867, allocations: 12.19 kB / 0.6782 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.513e-05/0.2868, allocations: 19.92 kB / 0.6782 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.2874, allocations: 156.9 kB / 0.6783 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2875, allocations: 0 / 0.6783 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.2875, allocations: 3.984 kB / 0.6784 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.2875, allocations: 7.953 kB / 0.6784 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.2881, allocations: 92.5 kB / 0.6784 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.2898, allocations: 428.8 kB / 0.6789 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.2906, allocations: 162.4 kB / 0.679 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.2907, allocations: 4 kB / 0.679 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000673/0.2913, allocations: 169.7 kB / 0.6792 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=20): time 4.529e-06/0.2914, allocations: 0 / 0.6792 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20): time 0.001609/0.293, allocations: 315.4 kB / 0.6795 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.2932, allocations: 97.22 kB / 0.6796 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.2935, allocations: 157.5 kB / 0.6797 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.2936, allocations: 37.7 kB / 0.6798 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2937, allocations: 112.5 kB / 0.6799 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.2939, allocations: 55.34 kB / 0.6799 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.2939, allocations: 4 kB / 0.6799 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.2941, allocations: 338.8 kB / 0.6802 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.2946, allocations: 84.5 kB / 0.6803 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.2952, allocations: 177.9 kB / 0.6805 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.2957, allocations: 107.9 kB / 0.6806 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.2957, allocations: 0 / 0.6806 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00144/0.2972, allocations: 305.1 kB / 0.6809 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.2972, allocations: 4 kB / 0.6809 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.2973, allocations: 7.938 kB / 0.6809 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.2973, allocations: 4 kB / 0.6809 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.2978, allocations: 47.91 kB / 0.6809 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/0.2978, allocations: 7.938 kB / 0.681 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.2982, allocations: 32.08 kB / 0.681 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.2982, allocations: 12.09 kB / 0.681 GB, free: 10.57 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 25 ($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],$PRE.ran.uRWri_temp[1],ran.uRWri_temp[1],$whenCondition2,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[1],$PRE.kalFil.uRWri_temp[1],kalFil.uRWri_temp[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002587/0.2985, allocations: 163.8 kB / 0.6812 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.2985, allocations: 15.81 kB / 0.6812 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.2986, allocations: 21.86 kB / 0.6812 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.2986, allocations: 4 kB / 0.6812 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2987, allocations: 4 kB / 0.6812 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2987, allocations: 0 / 0.6812 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.3001, allocations: 0.5901 MB / 0.6818 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.3002, allocations: 3.984 kB / 0.6818 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3004, allocations: 16 kB / 0.6818 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-06/0.3004, allocations: 4 kB / 0.6818 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.3004, allocations: 7.984 kB / 0.6818 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3004, allocations: 4 kB / 0.6818 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3004, allocations: 0 / 0.6818 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.3016, allocations: 461.6 kB / 0.6822 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.3017, allocations: 88.95 kB / 0.6823 GB, free: 9.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.3018, allocations: 15.98 kB / 0.6823 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.302, allocations: 20.05 kB / 0.6824 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.3021, allocations: 11.98 kB / 0.6824 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.3022, allocations: 20.05 kB / 0.6824 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001316/0.3023, allocations: 119.2 kB / 0.6825 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.8e-07/0.3023, allocations: 0 / 0.6825 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006352/0.303, allocations: 111.9 kB / 0.6826 GB, free: 8.793 MB / 0.5573 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: 15 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],ran.uRWri_temp[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],kalFil.uRWri_temp[1],$whenCondition3) * Number of discrete states: 2 (kalFil.uR[1],ran.uR[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001193/0.3042, allocations: 433.8 kB / 0.683 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007492/0.3049, allocations: 199.9 kB / 0.6832 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.305, allocations: 0 / 0.6832 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.3053, allocations: 90.64 kB / 0.6833 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3056, allocations: 35.84 kB / 0.6833 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.3068, allocations: 419.1 kB / 0.6837 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.3072, allocations: 0.7359 MB / 0.6845 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.3074, allocations: 45.5 kB / 0.6845 GB, free: 6.883 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.3075, allocations: 19.44 kB / 0.6845 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/0.3075, allocations: 0 / 0.6845 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of Templates: time 0.01065/0.3181, allocations: 3.222 MB / 0.6877 GB, free: 3.648 MB / 0.5573 GB