Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.879/3.879, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.589e-05/3.602e-05, allocations: 4.953 kB / 0.5338 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2087, allocations: 98.74 MB / 0.6302 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.252/0.4607, allocations: 131.5 MB / 0.7586 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.4611, allocations: 79.95 kB / 0.7587 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07746/0.5386, allocations: 16.31 MB / 0.7746 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5386, allocations: 0 / 0.7746 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.238e-05/0.5387, allocations: 16 kB / 0.7746 GB, free: 2.035 MB / 0.6511 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.002413/0.5412, allocations: 0.9193 MB / 0.7755 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.5412, allocations: 8.031 kB / 0.7755 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.5414, allocations: 86.52 kB / 0.7756 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.5417, allocations: 86.97 kB / 0.7757 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.5431, allocations: 0.5587 MB / 0.7762 GB, free: 280 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.5433, allocations: 100.4 kB / 0.7763 GB, free: 164 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.5434, allocations: 55.91 kB / 0.7764 GB, free: 108 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5665/1.11, allocations: 0.5343 MB / 0.7769 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/1.11, allocations: 7.594 kB / 0.7769 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-05/1.11, allocations: 24.89 kB / 0.7769 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/1.11, allocations: 12.3 kB / 0.7769 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/1.111, allocations: 347.1 kB / 0.7773 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004778/1.116, allocations: 1.999 MB / 0.7792 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.118, allocations: 450.7 kB / 0.7797 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/1.118, allocations: 171.1 kB / 0.7798 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.576e-05/1.118, allocations: 6.844 kB / 0.7798 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007481/1.119, allocations: 245.5 kB / 0.7801 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 3.376e-06/1.119, allocations: 0.625 kB / 0.7801 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.001342/1.12, allocations: 398.2 kB / 0.7804 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/1.121, allocations: 196.5 kB / 0.7806 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009868/1.122, allocations: 0.5106 MB / 0.7811 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/1.122, allocations: 36.91 kB / 0.7812 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/1.122, allocations: 341.9 kB / 0.7815 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/1.122, allocations: 154.8 kB / 0.7816 GB, free: 135 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/1.122, allocations: 8.562 kB / 0.7816 GB, free: 135 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.122, allocations: 381.9 kB / 0.782 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/1.123, allocations: 144.1 kB / 0.7821 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/1.123, allocations: 262.6 kB / 0.7824 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/1.124, allocations: 194.1 kB / 0.7826 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.124, allocations: 1.406 kB / 0.7826 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001402/1.125, allocations: 0.5084 MB / 0.7831 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002444/1.126, allocations: 0.8246 MB / 0.7839 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.126, allocations: 7.703 kB / 0.7839 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/1.126, allocations: 4.062 kB / 0.7839 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/1.127, allocations: 112.4 kB / 0.784 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/1.127, allocations: 9.406 kB / 0.784 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/1.128, allocations: 83.52 kB / 0.7841 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/1.128, allocations: 17.84 kB / 0.7841 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.128, allocations: 3.625 kB / 0.7841 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/1.129, allocations: 427.2 kB / 0.7845 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.129, allocations: 1.156 kB / 0.7845 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/1.129, allocations: 5.188 kB / 0.7845 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/1.13, allocations: 98.45 kB / 0.7846 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/1.13, allocations: 8.688 kB / 0.7846 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/1.131, allocations: 64.77 kB / 0.7847 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/1.131, allocations: 17.16 kB / 0.7847 GB, free: 133.5 MB / 0.6511 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.0002638/1.131, allocations: 137.3 kB / 0.7848 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/1.131, allocations: 68.88 kB / 0.7849 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/1.132, allocations: 80.48 kB / 0.785 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/1.132, allocations: 4.062 kB / 0.785 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.132, allocations: 0.5 kB / 0.785 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/1.132, allocations: 2.672 kB / 0.785 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/1.133, allocations: 0.6356 MB / 0.7856 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.133, allocations: 0 / 0.7856 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/1.134, allocations: 103.3 kB / 0.7857 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/1.134, allocations: 2.766 kB / 0.7857 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.179e-05/1.134, allocations: 10.42 kB / 0.7857 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.134, allocations: 1.219 kB / 0.7857 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.134, allocations: 5.641 kB / 0.7857 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/1.136, allocations: 0.6383 MB / 0.7863 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/1.136, allocations: 201.6 kB / 0.7865 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/1.136, allocations: 15.75 kB / 0.7865 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/1.137, allocations: 64.31 kB / 0.7866 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.138, allocations: 30.27 kB / 0.7866 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/1.138, allocations: 16.03 kB / 0.7867 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000836/1.139, allocations: 408 kB / 0.787 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/1.139, allocations: 3.469 kB / 0.787 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00113/1.14, allocations: 228.2 kB / 0.7873 GB, free: 132.8 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 (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.002005/1.142, allocations: 1.204 MB / 0.7884 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001795/1.144, allocations: 0.7072 MB / 0.7891 GB, free: 132 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.144, allocations: 0 / 0.7891 GB, free: 132 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005049/1.144, allocations: 187.4 kB / 0.7893 GB, free: 132 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.146, allocations: 161.3 kB / 0.7895 GB, free: 132 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/1.149, allocations: 0.978 MB / 0.7904 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/1.149, allocations: 0.9233 MB / 0.7913 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001069/1.15, allocations: 123.3 kB / 0.7914 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/1.151, allocations: 247.4 kB / 0.7917 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.273e-06/1.151, allocations: 0 / 0.7917 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0622/1.213, allocations: 14.51 MB / 0.8058 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/1.213, allocations: 147.5 kB / 0.806 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.993/4.206, allocations: 0 / 0.806 GB, free: 128.9 MB / 0.6511 GB