Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.344/4.344, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.757e-05, allocations: 4 kB / 0.5732 GB, free: 5.613 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2844, allocations: 107.2 MB / 0.6779 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8665/1.151, allocations: 134.2 MB / 0.8089 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/1.151, allocations: 73.77 kB / 0.809 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05723/1.208, allocations: 14.92 MB / 0.8236 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.854e-06/1.208, allocations: 3.938 kB / 0.8236 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.482e-05/1.209, allocations: 19.34 kB / 0.8236 GB, free: 9.305 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002435/1.211, allocations: 1.098 MB / 0.8247 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/1.211, allocations: 11.72 kB / 0.8247 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002435/1.211, allocations: 142.3 kB / 0.8248 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/1.212, allocations: 136.2 kB / 0.825 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/1.213, allocations: 0.6023 MB / 0.8255 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/1.213, allocations: 69.91 kB / 0.8256 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/1.213, allocations: 102.8 kB / 0.8257 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/1.215, allocations: 0.8434 MB / 0.8265 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/1.215, allocations: 0 / 0.8265 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.215, allocations: 41.34 kB / 0.8266 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/1.215, allocations: 22.81 kB / 0.8266 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/1.217, allocations: 0.57 MB / 0.8272 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005794/1.223, allocations: 2.744 MB / 0.8298 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/1.224, allocations: 0.6288 MB / 0.8304 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/1.225, allocations: 344.5 kB / 0.8308 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.401e-05/1.225, allocations: 12.3 kB / 0.8308 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007118/1.225, allocations: 329.5 kB / 0.8311 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=77): time 3.567e-06/1.226, allocations: 3.938 kB / 0.8311 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77): time 0.00141/1.227, allocations: 0.5676 MB / 0.8317 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/1.227, allocations: 170.5 kB / 0.8318 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/1.228, allocations: 0.5587 MB / 0.8324 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001762/1.228, allocations: 44.92 kB / 0.8324 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/1.229, allocations: 437.9 kB / 0.8328 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/1.229, allocations: 268 kB / 0.8331 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/1.229, allocations: 14.09 kB / 0.8331 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.083e-05/1.229, allocations: 330.6 kB / 0.8334 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/1.23, allocations: 195.2 kB / 0.8336 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/1.23, allocations: 311.6 kB / 0.8339 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/1.231, allocations: 228.4 kB / 0.8341 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.231, allocations: 3.688 kB / 0.8341 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001497/1.232, allocations: 0.6333 MB / 0.8347 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/1.232, allocations: 188.5 kB / 0.8349 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.232, allocations: 3.938 kB / 0.8349 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/1.232, allocations: 7.609 kB / 0.8349 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.234, allocations: 164.2 kB / 0.8351 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/1.234, allocations: 3.906 kB / 0.8351 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008796/1.235, allocations: 107.2 kB / 0.8352 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/1.235, allocations: 26.72 kB / 0.8352 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.235, allocations: 3.844 kB / 0.8352 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001156/1.236, allocations: 0.5133 MB / 0.8357 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.236, allocations: 0 / 0.8357 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/1.236, allocations: 3.75 kB / 0.8357 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009856/1.237, allocations: 140.1 kB / 0.8359 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.237, allocations: 3.844 kB / 0.8359 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/1.238, allocations: 87.61 kB / 0.8359 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/1.238, allocations: 21.88 kB / 0.836 GB, free: 4.312 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0002491/1.238, allocations: 142.2 kB / 0.8361 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/1.238, allocations: 85.58 kB / 0.8362 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/1.238, allocations: 100.8 kB / 0.8363 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.238, allocations: 11.81 kB / 0.8363 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.238, allocations: 11.83 kB / 0.8363 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.238, allocations: 3.984 kB / 0.8363 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/1.242, allocations: 1.595 MB / 0.8379 GB, free: 19.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.242, allocations: 3.938 kB / 0.8379 GB, free: 19.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.243, allocations: 149.9 kB / 0.838 GB, free: 19.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/1.243, allocations: 3.812 kB / 0.838 GB, free: 19.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/1.243, allocations: 21.72 kB / 0.838 GB, free: 19.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/1.243, allocations: 3.875 kB / 0.838 GB, free: 19.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.243, allocations: 0 / 0.838 GB, free: 19.44 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/1.245, allocations: 0.9683 MB / 0.839 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/1.245, allocations: 170.2 kB / 0.8391 GB, free: 19.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.245, allocations: 19.41 kB / 0.8392 GB, free: 19.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/1.246, allocations: 61.38 kB / 0.8392 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.246, allocations: 42.69 kB / 0.8393 GB, free: 19.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/1.246, allocations: 18.97 kB / 0.8393 GB, free: 19.01 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007703/1.247, allocations: 453.8 kB / 0.8397 GB, free: 18.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.61e-07/1.247, allocations: 0 / 0.8397 GB, free: 18.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001057/1.248, allocations: 322.4 kB / 0.84 GB, free: 18.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.002372/1.251, allocations: 1.555 MB / 0.8415 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001865/1.252, allocations: 0.8284 MB / 0.8423 GB, free: 17.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.253, allocations: 3.844 kB / 0.8424 GB, free: 17.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005636/1.253, allocations: 283.4 kB / 0.8426 GB, free: 17.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/1.254, allocations: 136.3 kB / 0.8428 GB, free: 17.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/1.258, allocations: 1.404 MB / 0.8441 GB, free: 17.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/1.258, allocations: 1.034 MB / 0.8451 GB, free: 16.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009153/1.259, allocations: 134.8 kB / 0.8453 GB, free: 16.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/1.26, allocations: 368.3 kB / 0.8456 GB, free: 16.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/1.26, allocations: 0 / 0.8456 GB, free: 16.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05573/1.316, allocations: 15.61 MB / 0.8609 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/1.316, allocations: 165.3 kB / 0.861 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/4.42, allocations: 4 kB / 0.861 GB, free: 0.6719 MB / 0.6511 GB