Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.824/3.824, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.273e-05/4.282e-05, allocations: 11.94 kB / 0.4992 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6174/0.6175, allocations: 92.67 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2573/0.8749, allocations: 126.8 MB / 0.7135 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004847/0.8754, allocations: 95.94 kB / 0.7136 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.06312/0.9386, allocations: 12.73 MB / 0.726 GB, free: 2.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9386, allocations: 0 / 0.726 GB, free: 2.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.039e-05/0.9387, allocations: 15.94 kB / 0.7261 GB, free: 2.465 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001317/0.94, allocations: 0.6975 MB / 0.7267 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.9401, allocations: 8.031 kB / 0.7267 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.399e-05/0.9402, allocations: 42.55 kB / 0.7268 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.9403, allocations: 71.2 kB / 0.7268 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.941, allocations: 335.8 kB / 0.7272 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.9411, allocations: 7.938 kB / 0.7272 GB, free: 1.207 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.9411, allocations: 8 kB / 0.7272 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.9415, allocations: 127.9 kB / 0.7273 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.9415, allocations: 0 / 0.7273 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.9415, allocations: 0 / 0.7273 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.9415, allocations: 4 kB / 0.7273 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.9418, allocations: 96 kB / 0.7274 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.9431, allocations: 0.5475 MB / 0.7279 GB, free: 380 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.9434, allocations: 106.6 kB / 0.728 GB, free: 264 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.9436, allocations: 57.03 kB / 0.7281 GB, free: 204 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/0.9436, allocations: 15.92 kB / 0.7281 GB, free: 188 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.9439, allocations: 133.1 kB / 0.7282 GB, free: 36 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.775e-06/0.944, allocations: 0 / 0.7282 GB, free: 36 kB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0006111/0.9446, allocations: 234.5 kB / 0.7285 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.9447, allocations: 81.11 kB / 0.7285 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.946, allocations: 0.6637 MB / 0.7292 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.9461, allocations: 29.7 kB / 0.7292 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.9464, allocations: 280.2 kB / 0.7295 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.9465, allocations: 23.66 kB / 0.7295 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.9465, allocations: 4 kB / 0.7295 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9467, allocations: 310 kB / 0.7298 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.9468, allocations: 47.97 kB / 0.7298 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.947, allocations: 51.91 kB / 0.7299 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.9471, allocations: 81.56 kB / 0.73 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9471, allocations: 4 kB / 0.73 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005283/0.9477, allocations: 222.6 kB / 0.7302 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.9478, allocations: 41.69 kB / 0.7302 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.9478, allocations: 3.938 kB / 0.7302 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.9478, allocations: 4 kB / 0.7302 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.9479, allocations: 4 kB / 0.7302 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.948, allocations: 3.953 kB / 0.7302 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.9482, allocations: 15.91 kB / 0.7303 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.9482, allocations: 11.98 kB / 0.7303 GB, free: 13.87 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.000145/0.9484, allocations: 142.2 kB / 0.7304 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.965e-05/0.9485, allocations: 67.23 kB / 0.7305 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.9493, allocations: 268.7 kB / 0.7307 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.9493, allocations: 4 kB / 0.7307 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9493, allocations: 0 / 0.7307 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.9493, allocations: 3.953 kB / 0.7307 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.9499, allocations: 369.6 kB / 0.7311 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.95, allocations: 4 kB / 0.7311 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.9501, allocations: 11.98 kB / 0.7311 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9501, allocations: 0 / 0.7311 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.9501, allocations: 4 kB / 0.7311 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.9501, allocations: 4 kB / 0.7311 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.9501, allocations: 0 / 0.7311 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.9507, allocations: 285.9 kB / 0.7314 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.951, allocations: 148.3 kB / 0.7315 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.9511, allocations: 4 kB / 0.7315 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.9513, allocations: 8 kB / 0.7315 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.9514, allocations: 7.984 kB / 0.7315 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.9514, allocations: 8 kB / 0.7316 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001141/0.9526, allocations: 0.5537 MB / 0.7321 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.31e-07/0.9526, allocations: 0 / 0.7321 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007866/0.9534, allocations: 147.9 kB / 0.7322 GB, free: 11.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.001715/0.9551, allocations: 1.054 MB / 0.7333 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.9556, allocations: 191.4 kB / 0.7334 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9556, allocations: 0 / 0.7334 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.9558, allocations: 143.3 kB / 0.7336 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008541/0.9567, allocations: 98.86 kB / 0.7337 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.9594, allocations: 1.006 MB / 0.7347 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008334/0.9602, allocations: 0.9702 MB / 0.7356 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.9604, allocations: 25.53 kB / 0.7356 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.9607, allocations: 151.4 kB / 0.7358 GB, free: 8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.212e-06/0.9608, allocations: 0 / 0.7358 GB, free: 8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05434/1.015, allocations: 12.42 MB / 0.7479 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/1.015, allocations: 177.8 kB / 0.7481 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.783, allocations: 0 / 0.7481 GB, free: 11.53 MB / 0.6355 GB