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.847/3.847, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.421e-05, allocations: 0 / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5926, allocations: 92.67 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2521/0.8448, allocations: 127.1 MB / 0.7138 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/0.8452, allocations: 71.97 kB / 0.7138 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.07977/0.925, allocations: 16.31 MB / 0.7298 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9251, allocations: 3.938 kB / 0.7298 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9e-05/0.9252, allocations: 23.98 kB / 0.7298 GB, free: 14.63 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.002359/0.9275, allocations: 0.9192 MB / 0.7307 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.9276, allocations: 8.031 kB / 0.7307 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.9278, allocations: 86.53 kB / 0.7308 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.9281, allocations: 90.95 kB / 0.7309 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.9295, allocations: 0.5509 MB / 0.7314 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.9298, allocations: 104.4 kB / 0.7315 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.9299, allocations: 59.84 kB / 0.7316 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.9314, allocations: 0.5533 MB / 0.7321 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.9314, allocations: 0 / 0.7321 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/0.9315, allocations: 20 kB / 0.7321 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.9315, allocations: 16 kB / 0.7321 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.9326, allocations: 355.9 kB / 0.7325 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004691/0.9373, allocations: 1.998 MB / 0.7344 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.9389, allocations: 460.3 kB / 0.7349 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.9394, allocations: 165.6 kB / 0.735 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.145e-05/0.9394, allocations: 11.89 kB / 0.735 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007/0.9402, allocations: 243.3 kB / 0.7353 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.437e-06/0.9402, allocations: 0 / 0.7353 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001353/0.9415, allocations: 404.8 kB / 0.7356 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.9417, allocations: 183.9 kB / 0.7358 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.9428, allocations: 0.5153 MB / 0.7363 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.943, allocations: 37.7 kB / 0.7364 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.9434, allocations: 340.2 kB / 0.7367 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.9436, allocations: 161.7 kB / 0.7368 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.9437, allocations: 8 kB / 0.7368 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.9439, allocations: 382.7 kB / 0.7372 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.9444, allocations: 141.1 kB / 0.7373 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.945, allocations: 270 kB / 0.7376 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/0.9455, allocations: 195.3 kB / 0.7378 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.9455, allocations: 0 / 0.7378 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001449/0.947, allocations: 0.5125 MB / 0.7383 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003737/0.9474, allocations: 0.8248 MB / 0.7391 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.9474, allocations: 0 / 0.7391 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.9475, allocations: 4 kB / 0.7391 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.9485, allocations: 123.8 kB / 0.7392 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.9485, allocations: 4 kB / 0.7392 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009296/0.9495, allocations: 83.42 kB / 0.7393 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.9496, allocations: 24 kB / 0.7393 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.9496, allocations: 4 kB / 0.7393 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001175/0.9508, allocations: 431.9 kB / 0.7397 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.9508, allocations: 0 / 0.7397 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.9508, allocations: 4 kB / 0.7397 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/0.9516, allocations: 100.1 kB / 0.7398 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.9517, allocations: 8 kB / 0.7398 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/0.9524, allocations: 59.56 kB / 0.7399 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.9525, allocations: 20 kB / 0.7399 GB, free: 3.77 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.0002356/0.9528, allocations: 136.8 kB / 0.74 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.9529, allocations: 67.16 kB / 0.7401 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.9532, allocations: 74.75 kB / 0.7402 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.9532, allocations: 8 kB / 0.7402 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9532, allocations: 0 / 0.7402 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.9532, allocations: 3.984 kB / 0.7402 GB, free: 3.477 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.9543, allocations: 0.6413 MB / 0.7408 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.9543, allocations: 0 / 0.7408 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009658/0.9553, allocations: 95.88 kB / 0.7409 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.9554, allocations: 8 kB / 0.7409 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.9554, allocations: 8 kB / 0.7409 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.9554, allocations: 0 / 0.7409 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9554, allocations: 3.938 kB / 0.7409 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.9572, allocations: 0.6386 MB / 0.7416 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.9577, allocations: 208.1 kB / 0.7418 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.9578, allocations: 12 kB / 0.7418 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009476/0.9588, allocations: 63.95 kB / 0.7418 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.9589, allocations: 27.95 kB / 0.7419 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.108e-05/0.959, allocations: 19.98 kB / 0.7419 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008352/0.9599, allocations: 411.2 kB / 0.7423 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9599, allocations: 0 / 0.7423 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009757/0.9609, allocations: 219.4 kB / 0.7425 GB, free: 1.059 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.002138/0.963, allocations: 1.221 MB / 0.7437 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001861/0.9649, allocations: 0.7224 MB / 0.7444 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9649, allocations: 0 / 0.7444 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.9655, allocations: 179.9 kB / 0.7445 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.9668, allocations: 162.2 kB / 0.7447 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.97, allocations: 0.9705 MB / 0.7456 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.9706, allocations: 0.9194 MB / 0.7465 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009388/0.9715, allocations: 123.4 kB / 0.7467 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/0.972, allocations: 255.3 kB / 0.7469 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of SimCode: time 1.362e-06/0.9721, allocations: 3.938 kB / 0.7469 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05392/1.026, allocations: 14.56 MB / 0.7611 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003482/1.026, allocations: 163.3 kB / 0.7613 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.972/3.999, allocations: 0 / 0.7613 GB, free: 13.73 MB / 0.6511 GB