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.711/3.711, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.895e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6227/0.6228, allocations: 92.67 MB / 0.5896 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2419/0.8648, allocations: 126.8 MB / 0.7135 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003993/0.8652, allocations: 91.94 kB / 0.7136 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.05767/0.9229, allocations: 12.73 MB / 0.726 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.923, allocations: 0 / 0.726 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.024e-05/0.9231, allocations: 16 kB / 0.726 GB, free: 2.617 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.001277/0.9243, allocations: 0.7014 MB / 0.7267 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.9244, allocations: 8.031 kB / 0.7267 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.976e-05/0.9245, allocations: 42.55 kB / 0.7267 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.9247, allocations: 63.2 kB / 0.7268 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006917/0.9254, allocations: 339.8 kB / 0.7271 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.9254, allocations: 4 kB / 0.7271 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.9255, allocations: 8 kB / 0.7271 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.9258, allocations: 136 kB / 0.7273 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.9258, allocations: 0 / 0.7273 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.9259, allocations: 4 kB / 0.7273 GB, free: 1.211 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.9259, allocations: 0 / 0.7273 GB, free: 1.211 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.9262, allocations: 100 kB / 0.7274 GB, free: 1.113 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.9274, allocations: 0.5475 MB / 0.7279 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.9278, allocations: 102.6 kB / 0.728 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.9279, allocations: 64.92 kB / 0.7281 GB, free: 348 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.852e-05/0.928, allocations: 11.92 kB / 0.7281 GB, free: 336 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.9284, allocations: 133.1 kB / 0.7282 GB, free: 184 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 3.777e-06/0.9284, allocations: 0 / 0.7282 GB, free: 184 kB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0006799/0.9291, allocations: 230.6 kB / 0.7284 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.9292, allocations: 81.11 kB / 0.7285 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.9306, allocations: 0.6637 MB / 0.7292 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.9306, allocations: 25.7 kB / 0.7292 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.931, allocations: 284.1 kB / 0.7294 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.9311, allocations: 27.64 kB / 0.7295 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.9311, allocations: 4 kB / 0.7295 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9313, allocations: 310 kB / 0.7298 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.9314, allocations: 51.91 kB / 0.7298 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.9315, allocations: 47.98 kB / 0.7299 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.9317, allocations: 89.66 kB / 0.73 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.9317, allocations: 0 / 0.73 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005396/0.9323, allocations: 230.5 kB / 0.7302 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/0.9324, allocations: 37.69 kB / 0.7302 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.9324, allocations: 3.984 kB / 0.7302 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.9324, allocations: 0 / 0.7302 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.9325, allocations: 4 kB / 0.7302 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.9326, allocations: 11.95 kB / 0.7302 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.9328, allocations: 7.906 kB / 0.7302 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.9328, allocations: 16.17 kB / 0.7303 GB, free: 14 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.0001364/0.933, allocations: 134.7 kB / 0.7304 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.9331, allocations: 59.25 kB / 0.7304 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007171/0.9338, allocations: 280.7 kB / 0.7307 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9338, allocations: 0 / 0.7307 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.9339, allocations: 0 / 0.7307 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.9339, allocations: 7.953 kB / 0.7307 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/0.9345, allocations: 369.4 kB / 0.7311 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9345, allocations: 0 / 0.7311 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.9346, allocations: 7.984 kB / 0.7311 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.9346, allocations: 0 / 0.7311 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.9346, allocations: 8 kB / 0.7311 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.9347, allocations: 0 / 0.7311 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.9347, allocations: 0 / 0.7311 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/0.9352, allocations: 289.8 kB / 0.7314 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.9355, allocations: 144.3 kB / 0.7315 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.9356, allocations: 4 kB / 0.7315 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.9358, allocations: 8 kB / 0.7315 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.9359, allocations: 7.984 kB / 0.7315 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.9359, allocations: 4 kB / 0.7315 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001135/0.937, allocations: 0.5537 MB / 0.7321 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.51e-07/0.9371, allocations: 0 / 0.7321 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000765/0.9378, allocations: 147.8 kB / 0.7322 GB, free: 11.89 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.001646/0.9395, allocations: 1.06 MB / 0.7332 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.9399, allocations: 195.4 kB / 0.7334 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.94, allocations: 4 kB / 0.7334 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.9402, allocations: 139.4 kB / 0.7336 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007718/0.941, allocations: 94.86 kB / 0.7336 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.9436, allocations: 1.004 MB / 0.7346 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008206/0.9444, allocations: 0.9784 MB / 0.7356 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.9446, allocations: 21.55 kB / 0.7356 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.9449, allocations: 151.4 kB / 0.7357 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of SimCode: time 1.543e-06/0.9449, allocations: 0 / 0.7357 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05313/0.9981, allocations: 12.43 MB / 0.7479 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003604/0.9985, allocations: 180.1 kB / 0.7481 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.761/3.759, allocations: 4 kB / 0.7481 GB, free: 11.66 MB / 0.6355 GB