Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.976/3.976, allocations: 403.3 MB / 415.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.688e-05, allocations: 4 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6012, allocations: 92.67 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.8376, allocations: 127.1 MB / 0.7138 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/0.838, allocations: 79.95 kB / 0.7139 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.07687/0.9149, allocations: 16.3 MB / 0.7298 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9149, allocations: 0 / 0.7298 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.154e-05/0.915, allocations: 23.94 kB / 0.7298 GB, free: 14.64 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002567/0.9176, allocations: 0.9192 MB / 0.7307 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.404e-05/0.9177, allocations: 8.031 kB / 0.7307 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/0.9179, allocations: 86.52 kB / 0.7308 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.9183, allocations: 90.97 kB / 0.7309 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.9198, allocations: 0.5626 MB / 0.7314 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.9201, allocations: 100.4 kB / 0.7315 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.9202, allocations: 55.84 kB / 0.7316 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.9218, allocations: 0.5475 MB / 0.7321 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.9219, allocations: 0 / 0.7321 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.922, allocations: 24 kB / 0.7321 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.922, allocations: 12 kB / 0.7322 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.9231, allocations: 349.9 kB / 0.7325 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005072/0.9282, allocations: 1.998 MB / 0.7344 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.9297, allocations: 447.8 kB / 0.7349 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/0.9303, allocations: 165.5 kB / 0.735 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.077e-05/0.9303, allocations: 4 kB / 0.735 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/0.9311, allocations: 255.2 kB / 0.7353 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.557e-06/0.9311, allocations: 0 / 0.7353 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001298/0.9324, allocations: 400.9 kB / 0.7357 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.9326, allocations: 191.9 kB / 0.7358 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.9336, allocations: 0.5115 MB / 0.7363 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.9338, allocations: 33.7 kB / 0.7364 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.9342, allocations: 336.2 kB / 0.7367 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.9344, allocations: 165.7 kB / 0.7368 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.9345, allocations: 12 kB / 0.7369 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.9347, allocations: 378.7 kB / 0.7372 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.9352, allocations: 145.1 kB / 0.7374 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.9358, allocations: 260.9 kB / 0.7376 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/0.9363, allocations: 191.3 kB / 0.7378 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.9363, allocations: 0 / 0.7378 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001526/0.9379, allocations: 0.5125 MB / 0.7383 GB, free: 5.559 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004131/0.9383, allocations: 0.8248 MB / 0.7391 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.9383, allocations: 0 / 0.7391 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.9384, allocations: 4 kB / 0.7391 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.9396, allocations: 119.9 kB / 0.7392 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/0.9396, allocations: 11.92 kB / 0.7392 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.9406, allocations: 71.56 kB / 0.7393 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/0.9407, allocations: 23.98 kB / 0.7393 GB, free: 4.441 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.9408, allocations: 8 kB / 0.7393 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001276/0.9421, allocations: 423.9 kB / 0.7397 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.9421, allocations: 4 kB / 0.7397 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9421, allocations: 4 kB / 0.7397 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/0.943, allocations: 99.83 kB / 0.7398 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.943, allocations: 4.25 kB / 0.7398 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.9438, allocations: 67.5 kB / 0.7399 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/0.9439, allocations: 16 kB / 0.7399 GB, free: 3.82 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0002804/0.9442, allocations: 138.5 kB / 0.74 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.9444, allocations: 67.16 kB / 0.7401 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.9447, allocations: 78.75 kB / 0.7402 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.9447, allocations: 7.984 kB / 0.7402 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.9447, allocations: 4 kB / 0.7402 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.9448, allocations: 0 / 0.7402 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.946, allocations: 0.6374 MB / 0.7408 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.946, allocations: 0 / 0.7408 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.947, allocations: 99.81 kB / 0.7409 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/0.947, allocations: 4 kB / 0.7409 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.9471, allocations: 12 kB / 0.7409 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/0.9471, allocations: 4 kB / 0.7409 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9472, allocations: 0 / 0.7409 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.9491, allocations: 0.6387 MB / 0.7416 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/0.9496, allocations: 204.1 kB / 0.7417 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.9497, allocations: 8 kB / 0.7418 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.9508, allocations: 60.14 kB / 0.7418 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.9509, allocations: 35.94 kB / 0.7418 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/0.951, allocations: 19.98 kB / 0.7419 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008146/0.9518, allocations: 407.2 kB / 0.7423 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9519, allocations: 4 kB / 0.7423 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001066/0.9529, allocations: 219.4 kB / 0.7425 GB, free: 1.109 MB / 0.6198 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 (44): * Single equations (assignments): 42 * 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.002217/0.9552, allocations: 1.221 MB / 0.7437 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.9571, allocations: 0.7054 MB / 0.7444 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.9572, allocations: 0 / 0.7444 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.9577, allocations: 187.8 kB / 0.7445 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.9592, allocations: 166.7 kB / 0.7447 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.9625, allocations: 0.9694 MB / 0.7456 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.9631, allocations: 0.9272 MB / 0.7465 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001008/0.9642, allocations: 123.4 kB / 0.7467 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/0.9647, allocations: 243.3 kB / 0.7469 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of SimCode: time 1.423e-06/0.9647, allocations: 0 / 0.7469 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08807/1.053, allocations: 14.52 MB / 0.7611 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/1.053, allocations: 155.5 kB / 0.7612 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.62/4.673, allocations: 0 / 0.7612 GB, free: 13.84 MB / 0.6511 GB