Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.179/3.179, allocations: 325.3 MB / 337.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.984e-05, allocations: 0 / 414.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1574, allocations: 74.41 MB / 489.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6067/0.7642, allocations: 110.3 MB / 0.5855 GB, free: 5.539 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.7646, allocations: 83.95 kB / 0.5856 GB, free: 5.496 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03263/0.7972, allocations: 7.819 MB / 0.5932 GB, free: 14.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.883e-06/0.7973, allocations: 7.984 kB / 0.5932 GB, free: 14.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.762e-05/0.7974, allocations: 8.188 kB / 0.5933 GB, free: 14.89 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001564/0.7989, allocations: 0.6485 MB / 0.5939 GB, free: 14.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.799, allocations: 8.031 kB / 0.5939 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.7991, allocations: 80.72 kB / 0.594 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.7993, allocations: 55.34 kB / 0.594 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.8001, allocations: 410.1 kB / 0.5944 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.8002, allocations: 31.22 kB / 0.5944 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.284e-05/0.8003, allocations: 36.31 kB / 0.5945 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009209/0.8012, allocations: 396 kB / 0.5949 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.8013, allocations: 0 / 0.5949 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.8014, allocations: 14.19 kB / 0.5949 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.8014, allocations: 12 kB / 0.5949 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007324/0.8021, allocations: 246.4 kB / 0.5951 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.805, allocations: 1.395 MB / 0.5965 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009155/0.8059, allocations: 307.6 kB / 0.5968 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.8062, allocations: 124.8 kB / 0.5969 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.8063, allocations: 4.219 kB / 0.5969 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004155/0.8067, allocations: 172.6 kB / 0.5971 GB, free: 11.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 5.721e-06/0.8067, allocations: 7.938 kB / 0.5971 GB, free: 11.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007607/0.8075, allocations: 281.8 kB / 0.5973 GB, free: 11.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.8076, allocations: 132.5 kB / 0.5975 GB, free: 11.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.8082, allocations: 319.4 kB / 0.5978 GB, free: 10.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.8082, allocations: 29.58 kB / 0.5978 GB, free: 10.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.8085, allocations: 241.3 kB / 0.598 GB, free: 10.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.8086, allocations: 104.1 kB / 0.5981 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.8086, allocations: 7.812 kB / 0.5981 GB, free: 10.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.8088, allocations: 345.2 kB / 0.5985 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.8091, allocations: 96.38 kB / 0.5986 GB, free: 10.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.8094, allocations: 169.9 kB / 0.5987 GB, free: 10.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.8097, allocations: 103.7 kB / 0.5988 GB, free: 10.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.235e-05/0.8098, allocations: 3.953 kB / 0.5988 GB, free: 10.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000803/0.8106, allocations: 325.4 kB / 0.5991 GB, free: 9.844 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002045/0.8108, allocations: 451.5 kB / 0.5996 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.8108, allocations: 4 kB / 0.5996 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.8109, allocations: 0 / 0.5996 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.8114, allocations: 67.89 kB / 0.5996 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.8115, allocations: 7.938 kB / 0.5996 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.8119, allocations: 50.73 kB / 0.5997 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.812, allocations: 11.88 kB / 0.5997 GB, free: 9.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.812, allocations: 7.938 kB / 0.5997 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006324/0.8126, allocations: 245.4 kB / 0.5999 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.8126, allocations: 0 / 0.5999 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.8127, allocations: 4 kB / 0.5999 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.8131, allocations: 58.47 kB / 0.6 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.8131, allocations: 7.938 kB / 0.6 GB, free: 9.016 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.8135, allocations: 53.25 kB / 0.6001 GB, free: 8.969 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.8136, allocations: 10.88 kB / 0.6001 GB, free: 8.961 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001638/0.8137, allocations: 123.5 kB / 0.6002 GB, free: 8.844 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.8139, allocations: 42.22 kB / 0.6002 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.814, allocations: 47.05 kB / 0.6003 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-06/0.8141, allocations: 8 kB / 0.6003 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.8141, allocations: 0 / 0.6003 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.8141, allocations: 0 / 0.6003 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.8157, allocations: 0.8324 MB / 0.6011 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.8157, allocations: 3.938 kB / 0.6011 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.8162, allocations: 51.97 kB / 0.6011 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.8162, allocations: 0 / 0.6011 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.8163, allocations: 15.73 kB / 0.6012 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.8163, allocations: 0 / 0.6012 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.8163, allocations: 3.953 kB / 0.6012 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.8173, allocations: 0.4999 MB / 0.6017 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.8175, allocations: 149.5 kB / 0.6018 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.337e-05/0.8176, allocations: 3.5 kB / 0.6018 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.8181, allocations: 35.53 kB / 0.6018 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.8182, allocations: 31.66 kB / 0.6019 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.8183, allocations: 11.5 kB / 0.6019 GB, free: 7.418 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003831/0.8186, allocations: 245.1 kB / 0.6021 GB, free: 7.234 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8187, allocations: 0 / 0.6021 GB, free: 7.234 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007645/0.8194, allocations: 155.5 kB / 0.6023 GB, free: 7.098 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001404/0.8208, allocations: 1.064 MB / 0.6033 GB, free: 6.145 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.8219, allocations: 409.1 kB / 0.6037 GB, free: 5.871 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8219, allocations: 0 / 0.6037 GB, free: 5.871 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.8223, allocations: 122 kB / 0.6038 GB, free: 5.789 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/0.823, allocations: 80.84 kB / 0.6039 GB, free: 5.727 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.8252, allocations: 0.6778 MB / 0.6045 GB, free: 5.094 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.8257, allocations: 0.8279 MB / 0.6053 GB, free: 4.234 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005421/0.8262, allocations: 73.17 kB / 0.6054 GB, free: 4.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.8265, allocations: 145.3 kB / 0.6056 GB, free: 4.117 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/0.8265, allocations: 3.938 kB / 0.6056 GB, free: 4.113 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1528/0.9793, allocations: 8.213 MB / 0.6136 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003417/0.9798, allocations: 160.8 kB / 0.6137 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.63, allocations: 4 kB / 0.6137 GB, free: 11.79 MB / 0.4948 GB