Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.882/3.882, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.946e-05/4.951e-05, allocations: 6.375 kB / 0.5338 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2104, allocations: 98.73 MB / 0.6302 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.256/0.4665, allocations: 131.2 MB / 0.7583 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004592/0.467, allocations: 95.88 kB / 0.7584 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06588/0.5329, allocations: 12.74 MB / 0.7708 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.084e-06/0.533, allocations: 0 / 0.7708 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.48e-05/0.533, allocations: 8 kB / 0.7708 GB, free: 5.859 MB / 0.6511 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.001185/0.5342, allocations: 0.7014 MB / 0.7715 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.5343, allocations: 12.03 kB / 0.7715 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.179e-05/0.5344, allocations: 50.48 kB / 0.7716 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.5345, allocations: 59.25 kB / 0.7717 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.5352, allocations: 335.8 kB / 0.772 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.5352, allocations: 8 kB / 0.772 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.5353, allocations: 4 kB / 0.772 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.5357, allocations: 126.1 kB / 0.7721 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5357, allocations: 0 / 0.7721 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.5357, allocations: 4 kB / 0.7721 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.5358, allocations: 7.938 kB / 0.7721 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.536, allocations: 92.14 kB / 0.7722 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.5373, allocations: 0.5436 MB / 0.7727 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.5376, allocations: 114.5 kB / 0.7728 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.5378, allocations: 60.98 kB / 0.7729 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/0.5379, allocations: 7.984 kB / 0.7729 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.5382, allocations: 133.1 kB / 0.773 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/0.5382, allocations: 0 / 0.773 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0005767/0.5388, allocations: 226.6 kB / 0.7733 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.5388, allocations: 81.11 kB / 0.7733 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.5402, allocations: 0.6675 MB / 0.774 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.5403, allocations: 29.7 kB / 0.774 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.5406, allocations: 280.1 kB / 0.7743 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.5407, allocations: 23.72 kB / 0.7743 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.5407, allocations: 0 / 0.7743 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5409, allocations: 310 kB / 0.7746 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.541, allocations: 47.98 kB / 0.7746 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.5412, allocations: 47.97 kB / 0.7747 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.5414, allocations: 89.67 kB / 0.7748 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5414, allocations: 0 / 0.7748 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000585/0.542, allocations: 234.5 kB / 0.775 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/0.5421, allocations: 37.69 kB / 0.775 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.5421, allocations: 0 / 0.775 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5421, allocations: 0 / 0.775 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.5422, allocations: 8.188 kB / 0.775 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.5423, allocations: 0 / 0.775 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.5425, allocations: 19.83 kB / 0.7751 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.5425, allocations: 19.95 kB / 0.7751 GB, free: 1.25 MB / 0.6511 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.0001377/0.5427, allocations: 146.6 kB / 0.7752 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/0.5428, allocations: 55.34 kB / 0.7753 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007479/0.5436, allocations: 272.7 kB / 0.7755 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.5436, allocations: 0 / 0.7755 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.5436, allocations: 3.984 kB / 0.7755 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.5436, allocations: 0 / 0.7755 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.5443, allocations: 373.4 kB / 0.7759 GB, free: 344 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5443, allocations: 0 / 0.7759 GB, free: 344 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.023e-05/0.5444, allocations: 11.94 kB / 0.7759 GB, free: 332 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.5444, allocations: 0 / 0.7759 GB, free: 332 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.5444, allocations: 8 kB / 0.7759 GB, free: 324 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5445, allocations: 0 / 0.7759 GB, free: 324 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5445, allocations: 4 kB / 0.7759 GB, free: 320 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.545, allocations: 274 kB / 0.7762 GB, free: 20 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.514/1.059, allocations: 139 kB / 0.7763 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/1.059, allocations: 4.359 kB / 0.7763 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/1.059, allocations: 11.44 kB / 0.7763 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.23e-05/1.059, allocations: 8.203 kB / 0.7763 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/1.06, allocations: 7.781 kB / 0.7763 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001228/1.061, allocations: 0.5533 MB / 0.7769 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.01e-07/1.061, allocations: 0 / 0.7769 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007912/1.062, allocations: 145.9 kB / 0.777 GB, free: 137.7 MB / 0.6511 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.00158/1.063, allocations: 1.051 MB / 0.778 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004115/1.064, allocations: 198.3 kB / 0.7782 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.064, allocations: 1 kB / 0.7782 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/1.064, allocations: 144 kB / 0.7784 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008224/1.065, allocations: 109.8 kB / 0.7785 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/1.068, allocations: 0.9924 MB / 0.7794 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/1.068, allocations: 0.9749 MB / 0.7804 GB, free: 136 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001736/1.069, allocations: 23.95 kB / 0.7804 GB, free: 136 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/1.069, allocations: 150.8 kB / 0.7806 GB, free: 136 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/1.069, allocations: 0 / 0.7806 GB, free: 136 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05371/1.123, allocations: 12.43 MB / 0.7927 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/1.123, allocations: 176 kB / 0.7929 GB, free: 135 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.893, allocations: 0 / 0.7929 GB, free: 135 MB / 0.6511 GB