Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.69/4.69, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.808e-05, allocations: 8 kB / 0.5732 GB, free: 5.613 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.263, allocations: 107.2 MB / 0.6779 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9004/1.163, allocations: 138.8 MB / 0.8134 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/1.164, allocations: 95.69 kB / 0.8134 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0502/1.214, allocations: 12.88 MB / 0.826 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.214, allocations: 0 / 0.826 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.064e-05/1.214, allocations: 7.75 kB / 0.826 GB, free: 9.48 MB / 0.6355 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.0009661/1.215, allocations: 0.7152 MB / 0.8267 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.215, allocations: 7.719 kB / 0.8267 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/1.215, allocations: 44.64 kB / 0.8268 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/1.215, allocations: 62.31 kB / 0.8268 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/1.216, allocations: 339 kB / 0.8272 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/1.216, allocations: 14.91 kB / 0.8272 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/1.216, allocations: 3.875 kB / 0.8272 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/1.216, allocations: 132.3 kB / 0.8273 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.216, allocations: 0 / 0.8273 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/1.216, allocations: 3.312 kB / 0.8273 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/1.216, allocations: 7.953 kB / 0.8273 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/1.217, allocations: 93.08 kB / 0.8274 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/1.218, allocations: 0.5567 MB / 0.828 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/1.218, allocations: 111.8 kB / 0.8281 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/1.218, allocations: 68.38 kB / 0.8281 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/1.218, allocations: 11.75 kB / 0.8281 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/1.219, allocations: 144.9 kB / 0.8283 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 4.037e-06/1.219, allocations: 0 / 0.8283 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0006493/1.219, allocations: 276 kB / 0.8285 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/1.219, allocations: 84.94 kB / 0.8286 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.22, allocations: 0.6651 MB / 0.8293 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/1.221, allocations: 29.58 kB / 0.8293 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/1.221, allocations: 283.3 kB / 0.8296 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/1.221, allocations: 31.09 kB / 0.8296 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/1.221, allocations: 3.969 kB / 0.8296 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/1.221, allocations: 309.9 kB / 0.8299 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/1.221, allocations: 54 kB / 0.8299 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/1.221, allocations: 61.97 kB / 0.83 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/1.221, allocations: 76.17 kB / 0.8301 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.221, allocations: 0 / 0.8301 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000521/1.222, allocations: 275.9 kB / 0.8303 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/1.222, allocations: 33.52 kB / 0.8304 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.222, allocations: 7.953 kB / 0.8304 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.222, allocations: 64 / 0.8304 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/1.222, allocations: 15.45 kB / 0.8304 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/1.222, allocations: 0 / 0.8304 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/1.222, allocations: 15.66 kB / 0.8304 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/1.223, allocations: 7.656 kB / 0.8304 GB, free: 6.773 MB / 0.6355 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 (7): * Single equations (assignments): 6 * 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.0001034/1.223, allocations: 148.8 kB / 0.8306 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/1.223, allocations: 62.22 kB / 0.8306 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008135/1.224, allocations: 320.1 kB / 0.8309 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.224, allocations: 3.953 kB / 0.8309 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.224, allocations: 0 / 0.8309 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.224, allocations: 3.984 kB / 0.8309 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005779/1.224, allocations: 377 kB / 0.8313 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.224, allocations: 0 / 0.8313 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.936e-05/1.224, allocations: 7.719 kB / 0.8313 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/1.224, allocations: 0 / 0.8313 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/1.224, allocations: 3.844 kB / 0.8313 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.224, allocations: 0 / 0.8313 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.224, allocations: 3.953 kB / 0.8313 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/1.225, allocations: 341.2 kB / 0.8316 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/1.225, allocations: 143.1 kB / 0.8318 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/1.225, allocations: 7.719 kB / 0.8318 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/1.226, allocations: 3.844 kB / 0.8318 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/1.226, allocations: 11.78 kB / 0.8318 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/1.226, allocations: 7.688 kB / 0.8318 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009439/1.227, allocations: 0.555 MB / 0.8323 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.227, allocations: 0 / 0.8323 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007324/1.227, allocations: 152 kB / 0.8325 GB, free: 5.711 MB / 0.6355 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 (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 Backend phase and start with SimCode phase: time 0.001792/1.229, allocations: 1.1 MB / 0.8336 GB, free: 20.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004033/1.23, allocations: 191.6 kB / 0.8337 GB, free: 20.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.23, allocations: 0 / 0.8337 GB, free: 20.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/1.23, allocations: 148.3 kB / 0.8339 GB, free: 20.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/1.231, allocations: 103 kB / 0.834 GB, free: 20.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/1.234, allocations: 1.004 MB / 0.835 GB, free: 20.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.236, allocations: 0.9839 MB / 0.8359 GB, free: 19.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003161/1.236, allocations: 21.05 kB / 0.8359 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004735/1.237, allocations: 150.6 kB / 0.8361 GB, free: 19.52 MB / 0.6511 GB Notification: Performance of SimCode: time 2.014e-06/1.237, allocations: 0 / 0.8361 GB, free: 19.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05327/1.29, allocations: 12.61 MB / 0.8484 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004221/1.29, allocations: 179.8 kB / 0.8486 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/4.151, allocations: 0 / 0.8486 GB, free: 10.03 MB / 0.6511 GB