Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.906/3.906, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.21e-05/5.221e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.624/0.6241, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2641/0.8883, allocations: 127 MB / 0.7137 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/0.8887, allocations: 95.94 kB / 0.7138 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1148/1.003, allocations: 23.13 MB / 0.7364 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/1.004, allocations: 0 / 0.7364 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001561/1.004, allocations: 28 kB / 0.7364 GB, free: 8.004 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003681/1.007, allocations: 1.244 MB / 0.7376 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/1.007, allocations: 15.97 kB / 0.7376 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002996/1.008, allocations: 122.7 kB / 0.7378 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/1.008, allocations: 142.2 kB / 0.7379 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/1.01, allocations: 0.7771 MB / 0.7386 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.327e-05/1.011, allocations: 62 kB / 0.7387 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/1.011, allocations: 79.95 kB / 0.7388 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/1.013, allocations: 0.9173 MB / 0.7397 GB, free: 4.441 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/1.013, allocations: 7.938 kB / 0.7397 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/1.013, allocations: 32 kB / 0.7397 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/1.013, allocations: 20 kB / 0.7397 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/1.015, allocations: 0.5664 MB / 0.7403 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008052/1.023, allocations: 3.47 MB / 0.7437 GB, free: 244 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/1.026, allocations: 0.7508 MB / 0.7444 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00081/1.027, allocations: 262.5 kB / 0.7447 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.862e-05/1.027, allocations: 8.562 kB / 0.7447 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009417/1.028, allocations: 339.1 kB / 0.745 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=68): time 3.727e-06/1.028, allocations: 0 / 0.745 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.001991/1.03, allocations: 0.6119 MB / 0.7456 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002282/1.03, allocations: 380.3 kB / 0.746 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/1.032, allocations: 0.8346 MB / 0.7468 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/1.032, allocations: 41.7 kB / 0.7468 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/1.033, allocations: 0.5055 MB / 0.7473 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/1.033, allocations: 236.6 kB / 0.7475 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/1.034, allocations: 12 kB / 0.7475 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.034, allocations: 330 kB / 0.7479 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/1.034, allocations: 213.6 kB / 0.7481 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009399/1.035, allocations: 379.1 kB / 0.7484 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/1.036, allocations: 244.3 kB / 0.7486 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.036, allocations: 0 / 0.7486 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002108/1.038, allocations: 0.694 MB / 0.7493 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002166/1.038, allocations: 457.9 kB / 0.7498 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.039, allocations: 7.969 kB / 0.7498 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.039, allocations: 4 kB / 0.7498 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.04, allocations: 167.8 kB / 0.7499 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/1.04, allocations: 4 kB / 0.7499 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/1.042, allocations: 143.1 kB / 0.7501 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.042, allocations: 31.94 kB / 0.7501 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.042, allocations: 4 kB / 0.7501 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001576/1.043, allocations: 0.5259 MB / 0.7506 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.043, allocations: 0 / 0.7506 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.043, allocations: 4 kB / 0.7506 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.045, allocations: 135.8 kB / 0.7508 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/1.045, allocations: 7.938 kB / 0.7508 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.046, allocations: 99.31 kB / 0.7509 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/1.046, allocations: 23.98 kB / 0.7509 GB, free: 8.613 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003238/1.046, allocations: 145.9 kB / 0.751 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/1.047, allocations: 122.5 kB / 0.7511 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/1.047, allocations: 127.8 kB / 0.7513 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/1.047, allocations: 12 kB / 0.7513 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/1.047, allocations: 0 / 0.7513 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.047, allocations: 3.984 kB / 0.7513 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/1.049, allocations: 0.9423 MB / 0.7522 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.049, allocations: 4 kB / 0.7522 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/1.05, allocations: 151.8 kB / 0.7523 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/1.051, allocations: 0 / 0.7523 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.051, allocations: 23.88 kB / 0.7524 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/1.051, allocations: 4 kB / 0.7524 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.051, allocations: 0 / 0.7524 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/1.054, allocations: 0.9821 MB / 0.7533 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007851/1.054, allocations: 287.3 kB / 0.7536 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/1.055, allocations: 16 kB / 0.7536 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.056, allocations: 87.89 kB / 0.7537 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.056, allocations: 44.48 kB / 0.7537 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.057, allocations: 20 kB / 0.7538 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001572/1.058, allocations: 0.6479 MB / 0.7544 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.22e-07/1.058, allocations: 0 / 0.7544 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001663/1.06, allocations: 335 kB / 0.7547 GB, free: 4.578 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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.003544/1.063, allocations: 1.572 MB / 0.7563 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003671/1.067, allocations: 0.8876 MB / 0.7571 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/1.067, allocations: 0.5 kB / 0.7571 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008792/1.068, allocations: 291.2 kB / 0.7574 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/1.071, allocations: 330.7 kB / 0.7577 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/1.076, allocations: 1.556 MB / 0.7592 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000859/1.077, allocations: 1.083 MB / 0.7603 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00156/1.078, allocations: 215.8 kB / 0.7605 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000947/1.079, allocations: 427.3 kB / 0.7609 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/1.079, allocations: 4 kB / 0.7609 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5774/1.657, allocations: 23.87 MB / 0.7842 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/1.657, allocations: 162.7 kB / 0.7844 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.628/5.285, allocations: 0 / 0.7844 GB, free: 167.4 MB / 0.6511 GB