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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.647/4.647, allocations: 404.2 MB / 411.3 MB, free: 420 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.587e-05/4.584e-05, allocations: 8 kB / 0.4946 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7617, allocations: 92.68 MB / 0.5851 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2707/1.032, allocations: 126.2 MB / 0.7083 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003952/1.033, allocations: 99.88 kB / 0.7084 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.06406/1.097, allocations: 12.58 MB / 0.7206 GB, free: 7.242 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/1.097, allocations: 0 / 0.7206 GB, free: 7.242 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.805e-05/1.097, allocations: 4 kB / 0.7206 GB, free: 7.238 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.001352/1.098, allocations: 0.7092 MB / 0.7213 GB, free: 6.477 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/1.098, allocations: 12.02 kB / 0.7214 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/1.099, allocations: 67.2 kB / 0.7214 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007384/1.099, allocations: 339.9 kB / 0.7217 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/1.099, allocations: 7.938 kB / 0.7217 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/1.1, allocations: 4 kB / 0.7218 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003107/1.1, allocations: 92.08 kB / 0.7218 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/1.1, allocations: 112.8 kB / 0.7219 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.1, allocations: 0 / 0.7219 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/1.1, allocations: 4 kB / 0.722 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/1.1, allocations: 3.953 kB / 0.722 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/1.102, allocations: 0.5132 MB / 0.7225 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/1.102, allocations: 98.53 kB / 0.7225 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/1.102, allocations: 60.97 kB / 0.7226 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.174e-05/1.102, allocations: 8 kB / 0.7226 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/1.102, allocations: 141.1 kB / 0.7227 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 3.246e-06/1.103, allocations: 0 / 0.7227 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0007152/1.103, allocations: 196.9 kB / 0.7229 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/1.103, allocations: 77.11 kB / 0.723 GB, free: 4.625 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/1.105, allocations: 0.6011 MB / 0.7236 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/1.105, allocations: 33.7 kB / 0.7236 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/1.105, allocations: 283.7 kB / 0.7239 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/1.105, allocations: 27.59 kB / 0.7239 GB, free: 3.668 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/1.105, allocations: 0 / 0.7239 GB, free: 3.668 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002827/1.106, allocations: 374.8 kB / 0.7243 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/1.106, allocations: 43.98 kB / 0.7243 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/1.106, allocations: 43.97 kB / 0.7244 GB, free: 3.207 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/1.106, allocations: 51.92 kB / 0.7244 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.106, allocations: 0 / 0.7244 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006423/1.107, allocations: 204.8 kB / 0.7246 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/1.107, allocations: 33.7 kB / 0.7246 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.107, allocations: 0 / 0.7246 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/1.107, allocations: 0 / 0.7246 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/1.107, allocations: 11.98 kB / 0.7247 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/1.107, allocations: 0 / 0.7247 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/1.107, allocations: 11.94 kB / 0.7247 GB, free: 2.887 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/1.107, allocations: 11.95 kB / 0.7247 GB, free: 2.875 MB / 0.6042 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.0001516/1.108, allocations: 140.7 kB / 0.7248 GB, free: 2.727 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006231/1.108, allocations: 216.8 kB / 0.725 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.108, allocations: 59.34 kB / 0.7251 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/1.109, allocations: 230.8 kB / 0.7253 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.109, allocations: 0 / 0.7253 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.557e-06/1.109, allocations: 3.953 kB / 0.7253 GB, free: 2.207 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/1.109, allocations: 0 / 0.7253 GB, free: 2.207 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006765/1.11, allocations: 345.9 kB / 0.7256 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.11, allocations: 0 / 0.7256 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/1.11, allocations: 4 kB / 0.7256 GB, free: 1.828 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/1.11, allocations: 4 kB / 0.7256 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/1.11, allocations: 7.984 kB / 0.7256 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/1.11, allocations: 4 kB / 0.7256 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.11, allocations: 0 / 0.7256 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/1.111, allocations: 248.1 kB / 0.7259 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/1.111, allocations: 140.3 kB / 0.726 GB, free: 1.395 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.111, allocations: 3.984 kB / 0.726 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/1.111, allocations: 8 kB / 0.726 GB, free: 1.383 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/1.112, allocations: 7.938 kB / 0.726 GB, free: 1.375 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/1.112, allocations: 15.98 kB / 0.7261 GB, free: 1.359 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001083/1.113, allocations: 0.4951 MB / 0.7265 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.41e-07/1.113, allocations: 0 / 0.7265 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008097/1.114, allocations: 139.9 kB / 0.7267 GB, free: 0.7305 MB / 0.6042 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.001953/1.115, allocations: 1.025 MB / 0.7277 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004576/1.116, allocations: 183.8 kB / 0.7278 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.116, allocations: 0 / 0.7278 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/1.116, allocations: 147.4 kB / 0.728 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/1.117, allocations: 95.38 kB / 0.7281 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/1.12, allocations: 0.9867 MB / 0.729 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009599/1.121, allocations: 0.9777 MB / 0.73 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001701/1.121, allocations: 21.14 kB / 0.73 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/1.122, allocations: 147.4 kB / 0.7302 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/1.122, allocations: 0 / 0.7302 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0698/1.191, allocations: 10.53 MB / 0.7404 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003567/1.192, allocations: 176.8 kB / 0.7406 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.273/4.465, allocations: 0 / 0.7406 GB, free: 2.438 MB / 0.6198 GB