Notification: Performance of loadModel(Buildings): time 2.882/2.882, allocations: 268.2 MB / 275.3 MB, free: 6.566 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.721e-05, allocations: 0 / 339.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3545, allocations: 61.52 MB / 400.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/0.5313, allocations: 96.05 MB / 496.8 MB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/0.5317, allocations: 91.94 kB / 496.9 MB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.0188/0.5506, allocations: 3.853 MB / 0.489 GB, free: 9.465 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.5506, allocations: 4 kB / 0.489 GB, free: 9.461 MB / 426.7 MB 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.00109/0.5517, allocations: 0.5789 MB / 0.4896 GB, free: 8.812 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.5518, allocations: 8.031 kB / 0.4896 GB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.285e-05/0.5519, allocations: 15.81 kB / 0.4896 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.5523, allocations: 214.9 kB / 0.4898 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.5523, allocations: 4 kB / 0.4898 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.5524, allocations: 15.95 kB / 0.4898 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003461/0.5528, allocations: 91.89 kB / 0.4899 GB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.5532, allocations: 159.3 kB / 0.4901 GB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5532, allocations: 0 / 0.4901 GB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.5533, allocations: 4 kB / 0.4901 GB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5533, allocations: 0 / 0.4901 GB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000976/0.5543, allocations: 389.3 kB / 0.4905 GB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.5547, allocations: 134.5 kB / 0.4906 GB, free: 7.699 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.5549, allocations: 100.8 kB / 0.4907 GB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.555, allocations: 4 kB / 0.4907 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005728/0.5556, allocations: 256.4 kB / 0.4909 GB, free: 7.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.935e-06/0.5556, allocations: 0 / 0.4909 GB, free: 7.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008854/0.5565, allocations: 275.6 kB / 0.4912 GB, free: 7.039 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.5567, allocations: 203.9 kB / 0.4914 GB, free: 6.797 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.5569, allocations: 137.4 kB / 0.4915 GB, free: 6.656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.5569, allocations: 33.69 kB / 0.4916 GB, free: 6.617 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.557, allocations: 104.5 kB / 0.4917 GB, free: 6.512 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.43e-05/0.5571, allocations: 47.5 kB / 0.4917 GB, free: 6.465 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.5572, allocations: 0 / 0.4917 GB, free: 6.465 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.5574, allocations: 330.8 kB / 0.492 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.5576, allocations: 56.16 kB / 0.4921 GB, free: 6.074 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.5578, allocations: 148.6 kB / 0.4922 GB, free: 5.891 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.5581, allocations: 71.97 kB / 0.4923 GB, free: 5.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.5581, allocations: 4 kB / 0.4923 GB, free: 5.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006829/0.5588, allocations: 249.2 kB / 0.4925 GB, free: 5.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.5589, allocations: 122.8 kB / 0.4926 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.5589, allocations: 0 / 0.4926 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.559, allocations: 8.281 kB / 0.4926 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.5593, allocations: 35.91 kB / 0.4927 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.5593, allocations: 7.938 kB / 0.4927 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.5595, allocations: 15.84 kB / 0.4927 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.5596, allocations: 15.98 kB / 0.4927 GB, free: 5.34 MB / 426.7 MB Warning: Assuming fixed start value for the following 6 variables: ran.uRWri[1]:DISCRETE(fixed = false ) "Value to be sent to Python" type: Real [1] kalFil.yR[1]:DISCRETE(fixed = false ) "Real outputs received from Python" type: Real [1] kalFil.uRWri[1]:DISCRETE(fixed = false ) "Value to be sent to Python" type: Real [1] kalFil.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean ran.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean ran.yR[1]:DISCRETE(fixed = false ) "Real outputs received from Python" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition5,$PRE.ran.uRIntPre[1],ran.uRIntPre[1],$PRE.ran.uRWri[1],ran.uRWri[1],$PRE.kalFil.uRIntPre[1],kalFil.uRIntPre[1],$PRE.kalFil.yR[1],kalFil.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[1],$PRE.kalFil.firstTrigger,kalFil.firstTrigger,$PRE.ran.firstTrigger,ran.firstTrigger,$whenCondition1,$whenCondition4,ran.sampleTrigger,$whenCondition2,$whenCondition3,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 4 * 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.0003942/0.56, allocations: 216.2 kB / 0.4929 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000846/0.5609, allocations: 281.3 kB / 0.4932 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.5609, allocations: 23.89 kB / 0.4932 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.076e-05/0.561, allocations: 16.73 kB / 0.4932 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.5611, allocations: 3.953 kB / 0.4932 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5611, allocations: 7.938 kB / 0.4932 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5611, allocations: 4.031 kB / 0.4932 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.5625, allocations: 0.6013 MB / 0.4938 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5625, allocations: 0 / 0.4938 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.5628, allocations: 19.92 kB / 0.4938 GB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.5628, allocations: 0 / 0.4938 GB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.5629, allocations: 11.98 kB / 0.4939 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.5629, allocations: 0 / 0.4939 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.5629, allocations: 0 / 0.4939 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.5641, allocations: 0.5183 MB / 0.4944 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.5643, allocations: 120.8 kB / 0.4945 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.5644, allocations: 15.98 kB / 0.4945 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.5647, allocations: 15.98 kB / 0.4945 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.5648, allocations: 16.05 kB / 0.4945 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.5649, allocations: 12 kB / 0.4945 GB, free: 3.363 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.565, allocations: 103.3 kB / 0.4946 GB, free: 3.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.565, allocations: 0 / 0.4946 GB, free: 3.262 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006084/0.5657, allocations: 83.91 kB / 0.4947 GB, free: 3.18 MB / 426.7 MB 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,$whenCondition3,$whenCondition4,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],$whenCondition5) * Number of discrete states: 11 (ran.uRIntPre[1],ran.yR[1],ran.uRWri[1],$whenCondition4,i,ran.uR[i],kalFil.uRIntPre[1],kalFil.yR[1],kalFil.uRWri[1],$whenCondition3,kalFil.uR[i]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.002259/0.5679, allocations: 1.267 MB / 0.496 GB, free: 1.906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008684/0.5688, allocations: 437.4 kB / 0.4964 GB, free: 1.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5689, allocations: 0 / 0.4964 GB, free: 1.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.5694, allocations: 291.2 kB / 0.4966 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.5698, allocations: 30.45 kB / 0.4967 GB, free: 1.094 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.5714, allocations: 418.5 kB / 0.4971 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.5718, allocations: 0.728 MB / 0.4978 GB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.572, allocations: 29.19 kB / 0.4978 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5721, allocations: 43.42 kB / 0.4979 GB, free: 15.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.001e-06/0.5721, allocations: 0 / 0.4979 GB, free: 15.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04937/0.6215, allocations: 4.001 MB / 0.5018 GB, free: 11.85 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004882/0.6265, allocations: 207.2 kB / 0.502 GB, free: 11.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.031/3.658, allocations: 5.203 kB / 0.502 GB, free: 11.55 MB / 442.7 MB