Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.351/4.351, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.084e-05/5.083e-05, allocations: 15.92 kB / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.241, allocations: 107.2 MB / 0.6779 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9008/1.142, allocations: 134.1 MB / 0.8088 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.142, allocations: 74.14 kB / 0.8089 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07547/1.218, allocations: 19.21 MB / 0.8276 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.254e-06/1.218, allocations: 0 / 0.8276 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.282e-05/1.218, allocations: 27.06 kB / 0.8277 GB, free: 7.703 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.003574/1.221, allocations: 1.288 MB / 0.8289 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.221, allocations: 7.656 kB / 0.8289 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003757/1.222, allocations: 156 kB / 0.8291 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/1.222, allocations: 159.3 kB / 0.8292 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/1.224, allocations: 0.7396 MB / 0.83 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/1.224, allocations: 85.58 kB / 0.83 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/1.225, allocations: 107.4 kB / 0.8301 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/1.227, allocations: 0.9783 MB / 0.8311 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/1.227, allocations: 0 / 0.8311 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/1.227, allocations: 50.05 kB / 0.8311 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/1.227, allocations: 30.92 kB / 0.8312 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/1.229, allocations: 0.68 MB / 0.8318 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00746/1.237, allocations: 3.383 MB / 0.8351 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/1.239, allocations: 0.8654 MB / 0.836 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007935/1.24, allocations: 374.2 kB / 0.8363 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.27e-05/1.24, allocations: 20.02 kB / 0.8364 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009512/1.241, allocations: 387.7 kB / 0.8367 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=92): time 4.288e-06/1.241, allocations: 0 / 0.8367 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92): time 0.001781/1.243, allocations: 0.6779 MB / 0.8374 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/1.243, allocations: 221.4 kB / 0.8376 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/1.244, allocations: 0.7427 MB / 0.8383 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001742/1.245, allocations: 46.7 kB / 0.8384 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/1.245, allocations: 0.5241 MB / 0.8389 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/1.246, allocations: 305.1 kB / 0.8392 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/1.246, allocations: 22.97 kB / 0.8392 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.023e-05/1.246, allocations: 346.4 kB / 0.8395 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/1.246, allocations: 242.8 kB / 0.8398 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007712/1.247, allocations: 402.8 kB / 0.8401 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/1.248, allocations: 290.9 kB / 0.8404 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.248, allocations: 4 kB / 0.8404 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001935/1.25, allocations: 0.7834 MB / 0.8412 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002564/1.25, allocations: 457.6 kB / 0.8416 GB, free: 17.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.25, allocations: 3.719 kB / 0.8416 GB, free: 17.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/1.25, allocations: 7.766 kB / 0.8416 GB, free: 17.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/1.252, allocations: 214.4 kB / 0.8418 GB, free: 17.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/1.252, allocations: 3.688 kB / 0.8418 GB, free: 17.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/1.253, allocations: 166.2 kB / 0.842 GB, free: 17.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-05/1.253, allocations: 26 kB / 0.842 GB, free: 17.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.253, allocations: 7.812 kB / 0.842 GB, free: 17.61 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001479/1.255, allocations: 0.6366 MB / 0.8427 GB, free: 17.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.255, allocations: 0 / 0.8427 GB, free: 17.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.255, allocations: 7.5 kB / 0.8427 GB, free: 17.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/1.256, allocations: 169.2 kB / 0.8428 GB, free: 17.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.256, allocations: 7.688 kB / 0.8428 GB, free: 17.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.257, allocations: 119.6 kB / 0.8429 GB, free: 17.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/1.257, allocations: 26.12 kB / 0.843 GB, free: 17.46 MB / 0.6511 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0003306/1.258, allocations: 157.5 kB / 0.8431 GB, free: 17.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/1.258, allocations: 112.6 kB / 0.8432 GB, free: 17.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/1.258, allocations: 129.5 kB / 0.8433 GB, free: 17.24 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.258, allocations: 7.688 kB / 0.8434 GB, free: 17.24 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.258, allocations: 4 kB / 0.8434 GB, free: 17.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/1.258, allocations: 7.922 kB / 0.8434 GB, free: 17.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/1.261, allocations: 1.742 MB / 0.8451 GB, free: 16.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.262, allocations: 0 / 0.8451 GB, free: 16.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.263, allocations: 191.4 kB / 0.8453 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/1.263, allocations: 3.938 kB / 0.8453 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/1.263, allocations: 17.8 kB / 0.8453 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/1.263, allocations: 3.875 kB / 0.8453 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.263, allocations: 0 / 0.8453 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/1.266, allocations: 1.162 MB / 0.8464 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/1.266, allocations: 198 kB / 0.8466 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/1.266, allocations: 16 kB / 0.8466 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/1.267, allocations: 87.38 kB / 0.8467 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.268, allocations: 59.62 kB / 0.8468 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.617e-05/1.268, allocations: 19.38 kB / 0.8468 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001153/1.269, allocations: 0.5878 MB / 0.8473 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.51e-07/1.269, allocations: 3.938 kB / 0.8474 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001518/1.27, allocations: 386.7 kB / 0.8477 GB, free: 14.79 MB / 0.6511 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: 7 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * 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.003265/1.274, allocations: 1.745 MB / 0.8494 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002776/1.277, allocations: 1.02 MB / 0.8504 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.277, allocations: 4.5 kB / 0.8504 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009068/1.278, allocations: 337.3 kB / 0.8507 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.279, allocations: 185.1 kB / 0.8509 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/1.284, allocations: 1.592 MB / 0.8525 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009337/1.285, allocations: 1.107 MB / 0.8536 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001367/1.286, allocations: 180 kB / 0.8537 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007957/1.287, allocations: 448 kB / 0.8542 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.673e-06/1.287, allocations: 0 / 0.8542 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.396, allocations: 20.54 MB / 0.8742 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003103/1.396, allocations: 162 kB / 0.8744 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.494/4.89, allocations: 0 / 0.8744 GB, free: 4.883 MB / 0.6667 GB