Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.938/2.938, allocations: 288.1 MB / 300.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.271e-05/4.279e-05, allocations: 4.969 kB / 370.6 MB, free: 7.836 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1566, allocations: 67 MB / 437.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6169/0.7736, allocations: 104.3 MB / 0.5293 GB, free: 16.84 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/0.774, allocations: 78.41 kB / 0.5293 GB, free: 16.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02838/0.8024, allocations: 6.854 MB / 0.536 GB, free: 32.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8025, allocations: 0 / 0.536 GB, free: 32.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.301e-05/0.8026, allocations: 7.75 kB / 0.536 GB, free: 32.09 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001355/0.804, allocations: 0.5978 MB / 0.5366 GB, free: 31.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.804, allocations: 11.81 kB / 0.5366 GB, free: 31.63 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.681e-05/0.8041, allocations: 60.95 kB / 0.5367 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.8043, allocations: 50.75 kB / 0.5367 GB, free: 31.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/0.805, allocations: 386.8 kB / 0.5371 GB, free: 31.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.805, allocations: 23.84 kB / 0.5371 GB, free: 31.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.8051, allocations: 29.59 kB / 0.5372 GB, free: 31.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.806, allocations: 340.7 kB / 0.5375 GB, free: 31.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.8061, allocations: 3.938 kB / 0.5375 GB, free: 31.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.8063, allocations: 11.17 kB / 0.5375 GB, free: 31.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/0.8064, allocations: 7.656 kB / 0.5375 GB, free: 31.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.8079, allocations: 205.9 kB / 0.5377 GB, free: 31.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.8103, allocations: 1.239 MB / 0.5389 GB, free: 30.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.811, allocations: 234.3 kB / 0.5391 GB, free: 30.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.8112, allocations: 104.3 kB / 0.5392 GB, free: 30.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.8113, allocations: 4.062 kB / 0.5392 GB, free: 30.49 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.8113, allocations: 36.12 kB / 0.5393 GB, free: 30.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=22): time 4.348e-06/0.8113, allocations: 0 / 0.5393 GB, free: 30.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005639/0.8119, allocations: 218.1 kB / 0.5395 GB, free: 30.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.812, allocations: 159.4 kB / 0.5396 GB, free: 30.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/0.8125, allocations: 303 kB / 0.5399 GB, free: 30.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.8126, allocations: 33.45 kB / 0.5399 GB, free: 30.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.8128, allocations: 214.1 kB / 0.5402 GB, free: 29.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.8129, allocations: 75.92 kB / 0.5402 GB, free: 29.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.8129, allocations: 3.375 kB / 0.5402 GB, free: 29.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.8131, allocations: 343.5 kB / 0.5406 GB, free: 29.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.8133, allocations: 71.64 kB / 0.5406 GB, free: 29.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.8135, allocations: 143.2 kB / 0.5408 GB, free: 29.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.8138, allocations: 84.25 kB / 0.5408 GB, free: 29.51 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.8138, allocations: 0 / 0.5408 GB, free: 29.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005906/0.8144, allocations: 260.2 kB / 0.5411 GB, free: 29.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.8144, allocations: 4.75 kB / 0.5411 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.8145, allocations: 0 / 0.5411 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.8145, allocations: 3.875 kB / 0.5411 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.8149, allocations: 58.84 kB / 0.5412 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.815, allocations: 3.875 kB / 0.5412 GB, free: 29.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.8155, allocations: 49.66 kB / 0.5412 GB, free: 29.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.8155, allocations: 3.875 kB / 0.5412 GB, free: 29.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0001563/0.8157, allocations: 126 kB / 0.5413 GB, free: 29.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.8158, allocations: 38.88 kB / 0.5414 GB, free: 29.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.816, allocations: 44.95 kB / 0.5414 GB, free: 29.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.816, allocations: 4 kB / 0.5414 GB, free: 29.29 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.816, allocations: 0 / 0.5414 GB, free: 29.29 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.816, allocations: 5.422 kB / 0.5414 GB, free: 29.28 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.8167, allocations: 416.7 kB / 0.5418 GB, free: 29.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.8167, allocations: 7.891 kB / 0.5418 GB, free: 29.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.8172, allocations: 51.45 kB / 0.5419 GB, free: 29.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.8172, allocations: 0 / 0.5419 GB, free: 29.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.8172, allocations: 7.594 kB / 0.5419 GB, free: 29.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.8173, allocations: 0 / 0.5419 GB, free: 29.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8173, allocations: 0 / 0.5419 GB, free: 29.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008108/0.8181, allocations: 417.6 kB / 0.5423 GB, free: 28.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.8183, allocations: 144.9 kB / 0.5424 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.027e-05/0.8184, allocations: 11.53 kB / 0.5424 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.8188, allocations: 28.25 kB / 0.5425 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.8189, allocations: 14.95 kB / 0.5425 GB, free: 28.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.8189, allocations: 10.52 kB / 0.5425 GB, free: 28.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000393/0.8193, allocations: 243.8 kB / 0.5427 GB, free: 28.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8193, allocations: 0 / 0.5427 GB, free: 28.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004907/0.8198, allocations: 77.34 kB / 0.5428 GB, free: 28.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.001145/0.821, allocations: 0.9634 MB / 0.5437 GB, free: 28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005147/0.8215, allocations: 176.5 kB / 0.5439 GB, free: 28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8216, allocations: 0 / 0.5439 GB, free: 28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.8218, allocations: 102.8 kB / 0.544 GB, free: 27.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.8225, allocations: 65.31 kB / 0.5441 GB, free: 27.99 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.8244, allocations: 0.5774 MB / 0.5446 GB, free: 27.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.8248, allocations: 0.8005 MB / 0.5454 GB, free: 27.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002907/0.8252, allocations: 40.33 kB / 0.5454 GB, free: 27.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.8254, allocations: 127.8 kB / 0.5456 GB, free: 27.01 MB / 458.7 MB Notification: Performance of SimCode: time 1.312e-06/0.8254, allocations: 7.875 kB / 0.5456 GB, free: 27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.8609, allocations: 6.565 MB / 0.552 GB, free: 26.45 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.8612, allocations: 151.3 kB / 0.5521 GB, free: 26.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/3.598, allocations: 0 / 0.5521 GB, free: 26.23 MB / 458.7 MB