Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.176/4.176, allocations: 460.4 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.709e-05/4.724e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2855, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9045/1.19, allocations: 139.5 MB / 0.8082 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/1.19, allocations: 84.48 kB / 0.8083 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07213/1.263, allocations: 16.91 MB / 0.8248 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/1.263, allocations: 0 / 0.8248 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.442e-05/1.263, allocations: 15.41 kB / 0.8248 GB, free: 8.996 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.002278/1.265, allocations: 0.9495 MB / 0.8257 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.265, allocations: 11.56 kB / 0.8257 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001953/1.265, allocations: 89.17 kB / 0.8258 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/1.266, allocations: 92.41 kB / 0.8259 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/1.267, allocations: 0.5909 MB / 0.8265 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/1.267, allocations: 100.6 kB / 0.8266 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/1.268, allocations: 53.78 kB / 0.8266 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/1.269, allocations: 0.5756 MB / 0.8272 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/1.269, allocations: 3.938 kB / 0.8272 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.393e-05/1.269, allocations: 22.34 kB / 0.8272 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/1.269, allocations: 11.59 kB / 0.8272 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/1.27, allocations: 365.4 kB / 0.8276 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004711/1.275, allocations: 2.212 MB / 0.8297 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/1.276, allocations: 446.8 kB / 0.8301 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004182/1.277, allocations: 170.1 kB / 0.8303 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/1.277, allocations: 10 kB / 0.8303 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006358/1.277, allocations: 251.2 kB / 0.8306 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 4.028e-06/1.277, allocations: 0 / 0.8306 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.001288/1.279, allocations: 418 kB / 0.831 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/1.279, allocations: 187.7 kB / 0.8311 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/1.28, allocations: 0.5347 MB / 0.8317 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002537/1.281, allocations: 36.2 kB / 0.8317 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005234/1.281, allocations: 368 kB / 0.832 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/1.282, allocations: 157.9 kB / 0.8322 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/1.282, allocations: 14.75 kB / 0.8322 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.282, allocations: 324.4 kB / 0.8325 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/1.283, allocations: 147.2 kB / 0.8327 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009917/1.284, allocations: 280 kB / 0.8329 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/1.284, allocations: 202.2 kB / 0.8331 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.284, allocations: 7.719 kB / 0.8331 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002309/1.287, allocations: 0.5405 MB / 0.8337 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007851/1.288, allocations: 0.9889 MB / 0.8346 GB, free: 19.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.288, allocations: 0 / 0.8346 GB, free: 19.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/1.288, allocations: 11.7 kB / 0.8346 GB, free: 19.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.289, allocations: 120.1 kB / 0.8347 GB, free: 19.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/1.289, allocations: 7.719 kB / 0.8348 GB, free: 19.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.291, allocations: 77.17 kB / 0.8348 GB, free: 19.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.291, allocations: 25.8 kB / 0.8348 GB, free: 19.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.291, allocations: 3.844 kB / 0.8349 GB, free: 19.32 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001717/1.292, allocations: 455.1 kB / 0.8353 GB, free: 19.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.293, allocations: 3.875 kB / 0.8353 GB, free: 19.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.293, allocations: 7.188 kB / 0.8353 GB, free: 19.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/1.294, allocations: 122.9 kB / 0.8354 GB, free: 19.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/1.294, allocations: 7.641 kB / 0.8354 GB, free: 19.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/1.295, allocations: 72.53 kB / 0.8355 GB, free: 19.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.153e-05/1.296, allocations: 22.31 kB / 0.8355 GB, free: 19.18 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.0003797/1.296, allocations: 134.5 kB / 0.8356 GB, free: 19.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/1.296, allocations: 77.45 kB / 0.8357 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/1.297, allocations: 81.92 kB / 0.8358 GB, free: 18.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.297, allocations: 7.844 kB / 0.8358 GB, free: 18.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.297, allocations: 0 / 0.8358 GB, free: 18.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.297, allocations: 3.984 kB / 0.8358 GB, free: 18.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/1.298, allocations: 0.6492 MB / 0.8364 GB, free: 18.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.298, allocations: 3.906 kB / 0.8364 GB, free: 18.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/1.3, allocations: 100.4 kB / 0.8365 GB, free: 18.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/1.3, allocations: 3.938 kB / 0.8365 GB, free: 18.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/1.3, allocations: 14.83 kB / 0.8366 GB, free: 18.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.086e-06/1.3, allocations: 0 / 0.8366 GB, free: 18.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.3, allocations: 3.812 kB / 0.8366 GB, free: 18.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/1.302, allocations: 0.651 MB / 0.8372 GB, free: 18.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007198/1.303, allocations: 208.1 kB / 0.8374 GB, free: 18.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/1.304, allocations: 10.69 kB / 0.8374 GB, free: 18.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/1.305, allocations: 61.25 kB / 0.8375 GB, free: 18.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/1.306, allocations: 42.44 kB / 0.8375 GB, free: 18.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.306, allocations: 19.39 kB / 0.8375 GB, free: 18.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001302/1.307, allocations: 423.3 kB / 0.8379 GB, free: 18.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.683e-06/1.307, allocations: 3.812 kB / 0.8379 GB, free: 18.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00191/1.309, allocations: 229.8 kB / 0.8381 GB, free: 18.09 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.00321/1.312, allocations: 1.225 MB / 0.8393 GB, free: 17.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002718/1.315, allocations: 0.7353 MB / 0.8401 GB, free: 17.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.315, allocations: 0 / 0.8401 GB, free: 17.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007456/1.316, allocations: 188.8 kB / 0.8402 GB, free: 17.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/1.318, allocations: 187.8 kB / 0.8404 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/1.323, allocations: 1.004 MB / 0.8414 GB, free: 16.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007195/1.324, allocations: 0.9455 MB / 0.8423 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001564/1.325, allocations: 133.1 kB / 0.8425 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/1.326, allocations: 254.5 kB / 0.8427 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.724e-06/1.326, allocations: 0 / 0.8427 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05557/1.382, allocations: 15 MB / 0.8573 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/1.382, allocations: 162.9 kB / 0.8575 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.343/4.725, allocations: 0 / 0.8575 GB, free: 5.785 MB / 0.6511 GB