Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.346/4.346, allocations: 464.6 MB / 476.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.549e-05/5.586e-05, allocations: 11.94 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2943, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9108/1.205, allocations: 139.9 MB / 0.8145 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/1.206, allocations: 84.45 kB / 0.8145 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07169/1.277, allocations: 16.9 MB / 0.831 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.675e-06/1.277, allocations: 0 / 0.831 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.468e-05/1.277, allocations: 19.66 kB / 0.8311 GB, free: 7.828 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002222/1.28, allocations: 0.9467 MB / 0.832 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.28, allocations: 11.75 kB / 0.832 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/1.28, allocations: 92.42 kB / 0.8321 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/1.28, allocations: 97.02 kB / 0.8322 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/1.281, allocations: 0.5871 MB / 0.8328 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/1.282, allocations: 100.3 kB / 0.8329 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/1.282, allocations: 51.09 kB / 0.8329 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/1.283, allocations: 0.5748 MB / 0.8335 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/1.283, allocations: 0 / 0.8335 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/1.283, allocations: 28.47 kB / 0.8335 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/1.283, allocations: 11.69 kB / 0.8335 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009179/1.284, allocations: 370.3 kB / 0.8339 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/1.288, allocations: 2.209 MB / 0.836 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/1.29, allocations: 452.1 kB / 0.8364 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/1.29, allocations: 174.3 kB / 0.8366 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/1.29, allocations: 3.844 kB / 0.8366 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006061/1.291, allocations: 248.2 kB / 0.8368 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 3.096e-06/1.291, allocations: 0 / 0.8368 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.001119/1.292, allocations: 417.9 kB / 0.8372 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/1.292, allocations: 194.6 kB / 0.8374 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/1.293, allocations: 0.5334 MB / 0.838 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/1.293, allocations: 35.89 kB / 0.838 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/1.293, allocations: 367.4 kB / 0.8383 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/1.294, allocations: 160.8 kB / 0.8385 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/1.294, allocations: 6.625 kB / 0.8385 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.331e-05/1.294, allocations: 330.9 kB / 0.8388 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/1.294, allocations: 147.8 kB / 0.839 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/1.295, allocations: 279.4 kB / 0.8392 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/1.295, allocations: 202.1 kB / 0.8394 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.295, allocations: 3.938 kB / 0.8394 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001271/1.296, allocations: 0.5356 MB / 0.8399 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004881/1.297, allocations: 0.9883 MB / 0.8409 GB, free: 18.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.297, allocations: 3.984 kB / 0.8409 GB, free: 18.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/1.297, allocations: 7.688 kB / 0.8409 GB, free: 18.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/1.298, allocations: 121.3 kB / 0.841 GB, free: 18.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/1.298, allocations: 3.875 kB / 0.841 GB, free: 18.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009482/1.299, allocations: 86.89 kB / 0.8411 GB, free: 18.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/1.299, allocations: 18.59 kB / 0.8411 GB, free: 18.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/1.299, allocations: 3.875 kB / 0.8411 GB, free: 18.16 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/1.3, allocations: 459 kB / 0.8416 GB, free: 18.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.3, allocations: 3.781 kB / 0.8416 GB, free: 18.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.3, allocations: 3.875 kB / 0.8416 GB, free: 18.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/1.301, allocations: 115.7 kB / 0.8417 GB, free: 18.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.301, allocations: 11.73 kB / 0.8417 GB, free: 18.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/1.302, allocations: 78.34 kB / 0.8418 GB, free: 18.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/1.302, allocations: 18.81 kB / 0.8418 GB, free: 18.01 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0002458/1.302, allocations: 129.4 kB / 0.8419 GB, free: 17.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/1.303, allocations: 77.66 kB / 0.842 GB, free: 17.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/1.303, allocations: 83.7 kB / 0.8421 GB, free: 17.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.303, allocations: 7.938 kB / 0.8421 GB, free: 17.83 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.303, allocations: 7.953 kB / 0.8421 GB, free: 17.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/1.303, allocations: 3.984 kB / 0.8421 GB, free: 17.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/1.304, allocations: 0.6575 MB / 0.8427 GB, free: 17.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.304, allocations: 0 / 0.8427 GB, free: 17.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009526/1.305, allocations: 95.97 kB / 0.8428 GB, free: 17.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.305, allocations: 4 kB / 0.8428 GB, free: 17.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/1.305, allocations: 11.28 kB / 0.8428 GB, free: 17.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.305, allocations: 3.875 kB / 0.8428 GB, free: 17.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.305, allocations: 3.938 kB / 0.8429 GB, free: 17.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/1.306, allocations: 0.6461 MB / 0.8435 GB, free: 17.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/1.307, allocations: 204.7 kB / 0.8437 GB, free: 17.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.307, allocations: 10.41 kB / 0.8437 GB, free: 17.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009592/1.308, allocations: 64 kB / 0.8437 GB, free: 17.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.308, allocations: 37.48 kB / 0.8438 GB, free: 17.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/1.308, allocations: 19.05 kB / 0.8438 GB, free: 17.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007165/1.309, allocations: 437 kB / 0.8442 GB, free: 16.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.31e-07/1.309, allocations: 0 / 0.8442 GB, free: 16.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000974/1.31, allocations: 237.8 kB / 0.8444 GB, free: 16.92 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.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 (45): * Single equations (assignments): 43 * 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.001905/1.312, allocations: 1.22 MB / 0.8456 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.314, allocations: 0.7332 MB / 0.8464 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.314, allocations: 0 / 0.8464 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004459/1.314, allocations: 189.7 kB / 0.8465 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/1.315, allocations: 184.2 kB / 0.8467 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/1.318, allocations: 1.007 MB / 0.8477 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/1.319, allocations: 0.9389 MB / 0.8486 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001067/1.32, allocations: 135.6 kB / 0.8487 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/1.321, allocations: 255.5 kB / 0.849 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.323e-06/1.321, allocations: 0 / 0.849 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05976/1.38, allocations: 15 MB / 0.8636 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003539/1.381, allocations: 156.5 kB / 0.8638 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/4.572, allocations: 7.938 kB / 0.8638 GB, free: 14.11 MB / 0.6667 GB