Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.552/4.552, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.632e-05, allocations: 4 kB / 0.5732 GB, free: 5.598 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2645, allocations: 107.2 MB / 0.6779 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9372/1.202, allocations: 136.8 MB / 0.8115 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/1.202, allocations: 93.22 kB / 0.8116 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06623/1.268, allocations: 17.42 MB / 0.8286 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.697e-06/1.268, allocations: 0 / 0.8286 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.83e-05/1.269, allocations: 27.22 kB / 0.8286 GB, free: 7.254 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.00243/1.271, allocations: 1.101 MB / 0.8297 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.271, allocations: 7.719 kB / 0.8297 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002174/1.271, allocations: 147.4 kB / 0.8298 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/1.272, allocations: 124.4 kB / 0.8299 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/1.273, allocations: 0.6062 MB / 0.8305 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/1.273, allocations: 69.69 kB / 0.8306 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/1.273, allocations: 99.59 kB / 0.8307 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/1.275, allocations: 0.8351 MB / 0.8315 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/1.275, allocations: 0 / 0.8315 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/1.275, allocations: 46.14 kB / 0.8316 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/1.275, allocations: 23.22 kB / 0.8316 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/1.277, allocations: 0.5607 MB / 0.8321 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005909/1.283, allocations: 2.734 MB / 0.8348 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/1.284, allocations: 0.6307 MB / 0.8354 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006906/1.285, allocations: 343.5 kB / 0.8357 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.852e-05/1.285, allocations: 8.469 kB / 0.8358 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007663/1.286, allocations: 342.3 kB / 0.8361 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=77): time 5.13e-06/1.286, allocations: 0 / 0.8361 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77): time 0.001415/1.287, allocations: 0.5632 MB / 0.8366 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.67e-05/1.287, allocations: 166.8 kB / 0.8368 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009836/1.288, allocations: 0.5585 MB / 0.8373 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/1.288, allocations: 43.42 kB / 0.8374 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/1.289, allocations: 442.9 kB / 0.8378 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/1.289, allocations: 263.4 kB / 0.838 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/1.289, allocations: 21.53 kB / 0.8381 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/1.289, allocations: 331.8 kB / 0.8384 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/1.29, allocations: 196.8 kB / 0.8386 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/1.29, allocations: 302.6 kB / 0.8389 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/1.291, allocations: 234.1 kB / 0.8391 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.291, allocations: 3.844 kB / 0.8391 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001528/1.292, allocations: 0.633 MB / 0.8397 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/1.293, allocations: 191.5 kB / 0.8399 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.293, allocations: 4 kB / 0.8399 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/1.293, allocations: 3.75 kB / 0.8399 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.294, allocations: 159.1 kB / 0.84 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/1.294, allocations: 3.812 kB / 0.8401 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008321/1.295, allocations: 114.2 kB / 0.8402 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/1.295, allocations: 22.7 kB / 0.8402 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.295, allocations: 3.844 kB / 0.8402 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001174/1.296, allocations: 0.5149 MB / 0.8407 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.296, allocations: 7.812 kB / 0.8407 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/1.296, allocations: 0 / 0.8407 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/1.297, allocations: 138.4 kB / 0.8408 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.297, allocations: 3.812 kB / 0.8408 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/1.298, allocations: 79.5 kB / 0.8409 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/1.298, allocations: 21.44 kB / 0.8409 GB, free: 2.266 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.0002536/1.298, allocations: 153.6 kB / 0.8411 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/1.298, allocations: 85.44 kB / 0.8412 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/1.299, allocations: 95.89 kB / 0.8412 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/1.299, allocations: 7.688 kB / 0.8413 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.299, allocations: 4 kB / 0.8413 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.299, allocations: 3.984 kB / 0.8413 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/1.302, allocations: 1.591 MB / 0.8428 GB, free: 17.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.302, allocations: 4 kB / 0.8428 GB, free: 17.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/1.303, allocations: 150.5 kB / 0.843 GB, free: 17.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/1.303, allocations: 3.719 kB / 0.843 GB, free: 17.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.437e-05/1.303, allocations: 14.28 kB / 0.843 GB, free: 17.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/1.303, allocations: 0 / 0.843 GB, free: 17.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.303, allocations: 3.719 kB / 0.843 GB, free: 17.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/1.305, allocations: 0.9793 MB / 0.8439 GB, free: 17.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/1.306, allocations: 169.4 kB / 0.8441 GB, free: 17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/1.306, allocations: 13.75 kB / 0.8441 GB, free: 17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/1.306, allocations: 56.77 kB / 0.8442 GB, free: 16.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.307, allocations: 45.31 kB / 0.8442 GB, free: 16.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/1.307, allocations: 25.67 kB / 0.8442 GB, free: 16.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007755/1.307, allocations: 444.5 kB / 0.8447 GB, free: 16.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.307, allocations: 0 / 0.8447 GB, free: 16.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001117/1.309, allocations: 332.8 kB / 0.845 GB, free: 16.76 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.002458/1.311, allocations: 1.55 MB / 0.8465 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002033/1.313, allocations: 0.8306 MB / 0.8473 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.313, allocations: 0 / 0.8473 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/1.314, allocations: 284.3 kB / 0.8476 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/1.315, allocations: 146.6 kB / 0.8477 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/1.32, allocations: 1.406 MB / 0.8491 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008338/1.321, allocations: 1.042 MB / 0.8501 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001126/1.322, allocations: 133.2 kB / 0.8502 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000688/1.322, allocations: 369.6 kB / 0.8506 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.904e-06/1.322, allocations: 0 / 0.8506 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05871/1.381, allocations: 15.9 MB / 0.8661 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003579/1.382, allocations: 187 kB / 0.8663 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.379/4.761, allocations: 0 / 0.8663 GB, free: 12.27 MB / 0.6667 GB