Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.081/3.081, allocations: 325.3 MB / 337.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.281e-05/4.285e-05, allocations: 8 kB / 414.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 74.42 MB / 489.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6454/0.8941, allocations: 109.3 MB / 0.5845 GB, free: 6.234 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.8945, allocations: 76.08 kB / 0.5846 GB, free: 6.195 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0295/0.924, allocations: 7.198 MB / 0.5916 GB, free: 136 kB / 474.7 MB Notification: Performance of FrontEnd: time 3.546e-06/0.924, allocations: 0 / 0.5916 GB, free: 136 kB / 474.7 MB Notification: Performance of Transformations before backend: time 6.98e-05/0.9241, allocations: 9.422 kB / 0.5916 GB, free: 128 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001289/0.9254, allocations: 0.603 MB / 0.5922 GB, free: 15.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.9255, allocations: 8.031 kB / 0.5922 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.9256, allocations: 68.41 kB / 0.5923 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.9258, allocations: 51.12 kB / 0.5923 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.9265, allocations: 388.9 kB / 0.5927 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.9266, allocations: 23.72 kB / 0.5927 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.729e-05/0.9267, allocations: 30.31 kB / 0.5928 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.9275, allocations: 339.9 kB / 0.5931 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.9275, allocations: 0 / 0.5931 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.9276, allocations: 14.56 kB / 0.5931 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.9276, allocations: 15.98 kB / 0.5931 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005996/0.9282, allocations: 203.4 kB / 0.5933 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.9308, allocations: 1.256 MB / 0.5945 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.9316, allocations: 227.8 kB / 0.5947 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.9319, allocations: 106.8 kB / 0.5948 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.9319, allocations: 8.172 kB / 0.5949 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.932, allocations: 38.69 kB / 0.5949 GB, free: 13.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 3.256e-06/0.932, allocations: 0 / 0.5949 GB, free: 13.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006567/0.9327, allocations: 219.2 kB / 0.5951 GB, free: 13.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.9328, allocations: 162.2 kB / 0.5953 GB, free: 12.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.9333, allocations: 306.5 kB / 0.5956 GB, free: 12.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.9334, allocations: 29.33 kB / 0.5956 GB, free: 12.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.9336, allocations: 215 kB / 0.5958 GB, free: 12.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.25e-05/0.9337, allocations: 77.91 kB / 0.5959 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.9337, allocations: 7.562 kB / 0.5959 GB, free: 12.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.9339, allocations: 345.4 kB / 0.5962 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.9341, allocations: 68.94 kB / 0.5963 GB, free: 11.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.9344, allocations: 139.6 kB / 0.5964 GB, free: 11.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.9347, allocations: 87.12 kB / 0.5965 GB, free: 11.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9347, allocations: 0 / 0.5965 GB, free: 11.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006444/0.9354, allocations: 252.2 kB / 0.5967 GB, free: 11.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.9356, allocations: 450.8 kB / 0.5971 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.9356, allocations: 4 kB / 0.5972 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.9357, allocations: 7.938 kB / 0.5972 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.9362, allocations: 47.97 kB / 0.5972 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.9362, allocations: 4 kB / 0.5972 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.9366, allocations: 58.48 kB / 0.5973 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.9367, allocations: 12 kB / 0.5973 GB, free: 11.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.9367, allocations: 4 kB / 0.5973 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004876/0.9372, allocations: 185.5 kB / 0.5975 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.9372, allocations: 0 / 0.5975 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.9372, allocations: 4 kB / 0.5975 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.9376, allocations: 47.92 kB / 0.5975 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.9376, allocations: 4 kB / 0.5975 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.938, allocations: 50.19 kB / 0.5976 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.938, allocations: 4 kB / 0.5976 GB, free: 10.81 MB / 490.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.0001477/0.9382, allocations: 120.2 kB / 0.5977 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/0.9383, allocations: 39.48 kB / 0.5977 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.9384, allocations: 44.84 kB / 0.5978 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.9384, allocations: 4 kB / 0.5978 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.9385, allocations: 4 kB / 0.5978 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.9385, allocations: 7.922 kB / 0.5978 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006729/0.9392, allocations: 418.5 kB / 0.5982 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9392, allocations: 0 / 0.5982 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.9396, allocations: 51.28 kB / 0.5982 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.9397, allocations: 3.953 kB / 0.5982 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.9397, allocations: 4 kB / 0.5982 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.9397, allocations: 0 / 0.5982 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9397, allocations: 0 / 0.5982 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/0.9406, allocations: 428.2 kB / 0.5986 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.9408, allocations: 138.3 kB / 0.5988 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.181e-05/0.9409, allocations: 11.64 kB / 0.5988 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.9413, allocations: 27.97 kB / 0.5988 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.9414, allocations: 23.84 kB / 0.5988 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.9414, allocations: 4 kB / 0.5988 GB, free: 9.676 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003736/0.9418, allocations: 243 kB / 0.5991 GB, free: 9.492 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9418, allocations: 0 / 0.5991 GB, free: 9.492 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006779/0.9425, allocations: 130.9 kB / 0.5992 GB, free: 9.375 MB / 490.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.001199/0.9437, allocations: 0.9624 MB / 0.6001 GB, free: 8.492 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008344/0.9445, allocations: 305.6 kB / 0.6004 GB, free: 8.293 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9446, allocations: 0 / 0.6004 GB, free: 8.293 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.9448, allocations: 96 kB / 0.6005 GB, free: 8.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.9455, allocations: 85.62 kB / 0.6006 GB, free: 8.168 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.9475, allocations: 0.5826 MB / 0.6012 GB, free: 7.617 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.948, allocations: 0.8038 MB / 0.6019 GB, free: 6.785 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004394/0.9485, allocations: 64.23 kB / 0.602 GB, free: 6.727 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.9487, allocations: 122.8 kB / 0.6021 GB, free: 6.691 MB / 490.7 MB Notification: Performance of SimCode: time 5.72e-06/0.9487, allocations: 0 / 0.6021 GB, free: 6.691 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04256/0.9913, allocations: 7.378 MB / 0.6093 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/0.9916, allocations: 163.5 kB / 0.6095 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.521, allocations: 0 / 0.6095 GB, free: 15.19 MB / 0.4948 GB