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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.479/4.479, allocations: 404.1 MB / 411.3 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.094e-05, allocations: 8 kB / 0.4946 GB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7411/0.7412, allocations: 92.68 MB / 0.5851 GB, free: 2.312 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2704/1.012, allocations: 126.4 MB / 0.7085 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004072/1.012, allocations: 91.94 kB / 0.7086 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1131/1.125, allocations: 22.97 MB / 0.731 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.555e-06/1.125, allocations: 0 / 0.731 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001643/1.126, allocations: 31.94 kB / 0.731 GB, free: 12.65 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.003945/1.13, allocations: 1.247 MB / 0.7322 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/1.13, allocations: 8.031 kB / 0.7323 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000538/1.13, allocations: 146.2 kB / 0.7324 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/1.133, allocations: 0.7811 MB / 0.7332 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/1.133, allocations: 24 kB / 0.7332 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/1.133, allocations: 55.94 kB / 0.7332 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001903/1.135, allocations: 0.5195 MB / 0.7337 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/1.137, allocations: 0.7923 MB / 0.7345 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/1.137, allocations: 11.94 kB / 0.7345 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/1.137, allocations: 0 / 0.7345 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/1.137, allocations: 20 kB / 0.7345 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008692/1.146, allocations: 3.296 MB / 0.7378 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/1.149, allocations: 0.7131 MB / 0.7385 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007591/1.15, allocations: 246.5 kB / 0.7387 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/1.15, allocations: 16.53 kB / 0.7387 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009871/1.151, allocations: 317.9 kB / 0.739 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 4.478e-06/1.151, allocations: 0 / 0.739 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.002083/1.153, allocations: 0.5768 MB / 0.7396 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002635/1.153, allocations: 372.3 kB / 0.7399 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/1.155, allocations: 0.6747 MB / 0.7406 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/1.155, allocations: 29.7 kB / 0.7406 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/1.156, allocations: 0.5161 MB / 0.7411 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/1.156, allocations: 220.7 kB / 0.7413 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/1.156, allocations: 4 kB / 0.7413 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.157, allocations: 333.9 kB / 0.7417 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006947/1.157, allocations: 205.5 kB / 0.7419 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009516/1.158, allocations: 369.4 kB / 0.7422 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007553/1.159, allocations: 236.5 kB / 0.7424 GB, free: 480 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.159, allocations: 4 kB / 0.7424 GB, free: 476 kB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002135/1.161, allocations: 0.6319 MB / 0.743 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002594/1.162, allocations: 454.2 kB / 0.7435 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.162, allocations: 0 / 0.7435 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/1.162, allocations: 4 kB / 0.7435 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/1.163, allocations: 179.8 kB / 0.7437 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/1.163, allocations: 4 kB / 0.7437 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.165, allocations: 103.5 kB / 0.7438 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/1.165, allocations: 23.94 kB / 0.7438 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.165, allocations: 4 kB / 0.7438 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00156/1.167, allocations: 482.5 kB / 0.7442 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.167, allocations: 8.078 kB / 0.7443 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.167, allocations: 4 kB / 0.7443 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/1.168, allocations: 131.8 kB / 0.7444 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/1.168, allocations: 7.984 kB / 0.7444 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.169, allocations: 63.56 kB / 0.7445 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-05/1.17, allocations: 20 kB / 0.7445 GB, free: 14.33 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.0003208/1.17, allocations: 121.4 kB / 0.7446 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001774/1.172, allocations: 0.5684 MB / 0.7451 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/1.172, allocations: 110.6 kB / 0.7452 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/1.172, allocations: 110.7 kB / 0.7454 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/1.172, allocations: 8 kB / 0.7454 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.172, allocations: 0 / 0.7454 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/1.172, allocations: 3.984 kB / 0.7454 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/1.174, allocations: 0.8462 MB / 0.7462 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.174, allocations: 0 / 0.7462 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/1.176, allocations: 155.8 kB / 0.7463 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/1.176, allocations: 0 / 0.7463 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.784e-05/1.176, allocations: 15.94 kB / 0.7464 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-06/1.176, allocations: 4 kB / 0.7464 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.176, allocations: 0 / 0.7464 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/1.179, allocations: 0.9191 MB / 0.7473 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006788/1.18, allocations: 263.5 kB / 0.7475 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/1.18, allocations: 8 kB / 0.7475 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/1.182, allocations: 79.88 kB / 0.7476 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/1.182, allocations: 40.5 kB / 0.7476 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.453e-05/1.182, allocations: 27.97 kB / 0.7477 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001233/1.183, allocations: 0.5142 MB / 0.7482 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.61e-07/1.183, allocations: 0 / 0.7482 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001535/1.185, allocations: 330.5 kB / 0.7485 GB, free: 10.12 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.0033/1.188, allocations: 1.49 MB / 0.7499 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002647/1.191, allocations: 0.8434 MB / 0.7508 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.191, allocations: 0 / 0.7508 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008259/1.192, allocations: 278 kB / 0.751 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/1.194, allocations: 308 kB / 0.7513 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005252/1.2, allocations: 1.472 MB / 0.7527 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.201, allocations: 1.086 MB / 0.7538 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001727/1.203, allocations: 202.9 kB / 0.754 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/1.204, allocations: 415.3 kB / 0.7544 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/1.204, allocations: 0 / 0.7544 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7328/1.936, allocations: 21.41 MB / 0.7753 GB, free: 169 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003136/1.937, allocations: 148.3 kB / 0.7754 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.929/5.866, allocations: 0 / 0.7754 GB, free: 168.8 MB / 0.6511 GB