Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.079/3.079, allocations: 325.3 MB / 337.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.633e-05, allocations: 7.984 kB / 414.9 MB, free: 6.055 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1922, allocations: 74.41 MB / 489.3 MB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6271/0.8194, allocations: 109.4 MB / 0.5846 GB, free: 6.406 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.8197, allocations: 82.06 kB / 0.5847 GB, free: 6.363 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0579/0.8776, allocations: 13.09 MB / 0.5975 GB, free: 11.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.8777, allocations: 0 / 0.5975 GB, free: 11.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.385e-05/0.8778, allocations: 16 kB / 0.5975 GB, free: 11.36 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002255/0.88, allocations: 0.8818 MB / 0.5984 GB, free: 10.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.8801, allocations: 8.031 kB / 0.5984 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.8803, allocations: 101.2 kB / 0.5985 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.8805, allocations: 94.91 kB / 0.5986 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.8818, allocations: 0.5346 MB / 0.5991 GB, free: 9.836 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.8819, allocations: 47.05 kB / 0.5991 GB, free: 9.809 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.882, allocations: 65.84 kB / 0.5992 GB, free: 9.766 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.8835, allocations: 0.6099 MB / 0.5998 GB, free: 9.328 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.8836, allocations: 0 / 0.5998 GB, free: 9.328 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.902e-05/0.8837, allocations: 21.25 kB / 0.5998 GB, free: 9.324 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.8837, allocations: 16 kB / 0.5998 GB, free: 9.309 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.8849, allocations: 430 kB / 0.6002 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/0.8898, allocations: 2.115 MB / 0.6023 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.8909, allocations: 434.1 kB / 0.6027 GB, free: 7.176 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.8914, allocations: 221.7 kB / 0.6029 GB, free: 7.047 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.8915, allocations: 4.438 kB / 0.6029 GB, free: 7.043 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000623/0.8922, allocations: 246.4 kB / 0.6032 GB, free: 6.867 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 3.156e-06/0.8922, allocations: 0 / 0.6032 GB, free: 6.867 MB / 490.7 MB Notification: Performance of matching and sorting (n=50): time 0.001194/0.8934, allocations: 435.2 kB / 0.6036 GB, free: 6.559 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.8935, allocations: 166.7 kB / 0.6037 GB, free: 6.359 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007237/0.8942, allocations: 395.3 kB / 0.6041 GB, free: 6.051 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.032e-05/0.8943, allocations: 36.95 kB / 0.6041 GB, free: 6.016 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.8947, allocations: 323.2 kB / 0.6045 GB, free: 5.793 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.8949, allocations: 178.3 kB / 0.6046 GB, free: 5.641 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.895, allocations: 10.94 kB / 0.6046 GB, free: 5.637 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.8952, allocations: 364 kB / 0.605 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.8956, allocations: 157.9 kB / 0.6051 GB, free: 5.203 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.8962, allocations: 259.3 kB / 0.6054 GB, free: 5.004 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.8967, allocations: 205.7 kB / 0.6056 GB, free: 4.863 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.8967, allocations: 0 / 0.6056 GB, free: 4.863 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001313/0.898, allocations: 0.5331 MB / 0.6061 GB, free: 4.465 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002811/0.8983, allocations: 0.6392 MB / 0.6067 GB, free: 3.781 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.8983, allocations: 4 kB / 0.6067 GB, free: 3.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.8984, allocations: 8 kB / 0.6067 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/0.8994, allocations: 123.7 kB / 0.6068 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.8994, allocations: 4 kB / 0.6069 GB, free: 3.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008124/0.9002, allocations: 83.23 kB / 0.6069 GB, free: 3.574 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.9003, allocations: 19.62 kB / 0.607 GB, free: 3.559 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.9003, allocations: 4 kB / 0.607 GB, free: 3.555 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/0.9015, allocations: 458.7 kB / 0.6074 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.9015, allocations: 4 kB / 0.6074 GB, free: 3.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.9015, allocations: 11.89 kB / 0.6074 GB, free: 3.234 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/0.9024, allocations: 107.5 kB / 0.6075 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.9024, allocations: 4 kB / 0.6075 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/0.9031, allocations: 66.75 kB / 0.6076 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.9032, allocations: 22.94 kB / 0.6076 GB, free: 3.055 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0002296/0.9034, allocations: 142.8 kB / 0.6077 GB, free: 2.922 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.9036, allocations: 58.41 kB / 0.6078 GB, free: 2.867 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.9038, allocations: 61.7 kB / 0.6078 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.9038, allocations: 11.95 kB / 0.6079 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.9039, allocations: 7.984 kB / 0.6079 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.9039, allocations: 0 / 0.6079 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.9063, allocations: 1.218 MB / 0.6091 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.9064, allocations: 0 / 0.6091 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.9074, allocations: 107.7 kB / 0.6092 GB, free: 1.816 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.9074, allocations: 7.953 kB / 0.6092 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/0.9075, allocations: 11.25 kB / 0.6092 GB, free: 1.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.166e-06/0.9075, allocations: 4 kB / 0.6092 GB, free: 1.801 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.9075, allocations: 3.984 kB / 0.6092 GB, free: 1.797 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.9093, allocations: 0.7449 MB / 0.6099 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.9097, allocations: 185.5 kB / 0.6101 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.9098, allocations: 11.89 kB / 0.6101 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/0.9106, allocations: 55.64 kB / 0.6102 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.9107, allocations: 40.06 kB / 0.6102 GB, free: 1.016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.9108, allocations: 11.94 kB / 0.6102 GB, free: 1.004 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009071/0.9117, allocations: 326.1 kB / 0.6105 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.9117, allocations: 0 / 0.6105 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00149/0.9132, allocations: 277.8 kB / 0.6108 GB, free: 0.5156 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002063/0.9153, allocations: 1.317 MB / 0.6121 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.9171, allocations: 0.752 MB / 0.6128 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/0.9171, allocations: 0 / 0.6128 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.9176, allocations: 207 kB / 0.613 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.9188, allocations: 148.5 kB / 0.6131 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.9237, allocations: 1.405 MB / 0.6145 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.9244, allocations: 0.9112 MB / 0.6154 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008079/0.9252, allocations: 96.5 kB / 0.6155 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.9256, allocations: 219.2 kB / 0.6157 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/0.9256, allocations: 3.938 kB / 0.6157 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07954/1.005, allocations: 12.99 MB / 0.6284 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003669/1.006, allocations: 161.6 kB / 0.6286 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/3.853, allocations: 0 / 0.6286 GB, free: 15.15 MB / 0.5105 GB