Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.051/3.051, allocations: 325.3 MB / 337.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.639e-05, allocations: 8 kB / 414.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1665, allocations: 74.41 MB / 489.3 MB, free: 11.51 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6646/0.8312, allocations: 110.1 MB / 0.5854 GB, free: 5.727 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.8316, allocations: 76.95 kB / 0.5854 GB, free: 5.688 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08082/0.9124, allocations: 17.71 MB / 0.6027 GB, free: 6.773 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.9125, allocations: 4 kB / 0.6027 GB, free: 6.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.158e-05/0.9126, allocations: 15.94 kB / 0.6028 GB, free: 6.754 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002422/0.915, allocations: 0.9505 MB / 0.6037 GB, free: 5.801 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.9151, allocations: 12.03 kB / 0.6037 GB, free: 5.789 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.9152, allocations: 91.14 kB / 0.6038 GB, free: 5.723 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.9155, allocations: 98.83 kB / 0.6039 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.9169, allocations: 0.6025 MB / 0.6045 GB, free: 5.074 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.9171, allocations: 98.72 kB / 0.6046 GB, free: 4.984 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.9172, allocations: 53.31 kB / 0.6046 GB, free: 4.949 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.9186, allocations: 0.5907 MB / 0.6052 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.9187, allocations: 0 / 0.6052 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.9188, allocations: 19.44 kB / 0.6052 GB, free: 4.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.9188, allocations: 12 kB / 0.6052 GB, free: 4.469 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.9198, allocations: 379.4 kB / 0.6056 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/0.9244, allocations: 2.239 MB / 0.6078 GB, free: 2.312 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.9258, allocations: 448.1 kB / 0.6082 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/0.9263, allocations: 173.7 kB / 0.6084 GB, free: 1.914 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-05/0.9264, allocations: 4 kB / 0.6084 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006575/0.9271, allocations: 261.4 kB / 0.6086 GB, free: 1.711 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.287e-06/0.9271, allocations: 0 / 0.6086 GB, free: 1.711 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.001177/0.9283, allocations: 413.5 kB / 0.609 GB, free: 1.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.9284, allocations: 187.9 kB / 0.6092 GB, free: 1.184 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000997/0.9294, allocations: 0.5425 MB / 0.6097 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.309e-05/0.9295, allocations: 40.14 kB / 0.6098 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.9299, allocations: 361.4 kB / 0.6101 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.9301, allocations: 159.2 kB / 0.6103 GB, free: 376 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.9302, allocations: 8.688 kB / 0.6103 GB, free: 376 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.9303, allocations: 334.4 kB / 0.6106 GB, free: 44 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.9308, allocations: 145.1 kB / 0.6107 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005635/0.9314, allocations: 276 kB / 0.611 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.9319, allocations: 207.8 kB / 0.6112 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.9319, allocations: 0 / 0.6112 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001464/0.9334, allocations: 0.5303 MB / 0.6117 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004417/0.9339, allocations: 0.996 MB / 0.6127 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.9339, allocations: 0 / 0.6127 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.9339, allocations: 8 kB / 0.6127 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.935, allocations: 123.7 kB / 0.6128 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.9351, allocations: 8 kB / 0.6128 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009694/0.936, allocations: 85.75 kB / 0.6129 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/0.9361, allocations: 19.3 kB / 0.6129 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.9361, allocations: 4 kB / 0.6129 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/0.9373, allocations: 456.6 kB / 0.6133 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9374, allocations: 0 / 0.6133 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.9374, allocations: 12.02 kB / 0.6134 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008495/0.9382, allocations: 99.14 kB / 0.6135 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-05/0.9383, allocations: 7.938 kB / 0.6135 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008361/0.9392, allocations: 68.83 kB / 0.6135 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.9392, allocations: 23.34 kB / 0.6135 GB, free: 13.38 MB / 0.4948 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.0002446/0.9395, allocations: 136.2 kB / 0.6137 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.9397, allocations: 75.06 kB / 0.6137 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.9399, allocations: 80.25 kB / 0.6138 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.9399, allocations: 7.953 kB / 0.6138 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.94, allocations: 0 / 0.6138 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.94, allocations: 7.984 kB / 0.6138 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.941, allocations: 0.65 MB / 0.6145 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.9411, allocations: 0 / 0.6145 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009886/0.9421, allocations: 98.06 kB / 0.6146 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.9421, allocations: 0 / 0.6146 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.9421, allocations: 14.36 kB / 0.6146 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.9422, allocations: 0 / 0.6146 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9422, allocations: 7.953 kB / 0.6146 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.9438, allocations: 0.6604 MB / 0.6152 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.9442, allocations: 196.1 kB / 0.6154 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.9444, allocations: 14.67 kB / 0.6154 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009574/0.9453, allocations: 63.14 kB / 0.6155 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.9455, allocations: 39.58 kB / 0.6155 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.056e-05/0.9456, allocations: 19.75 kB / 0.6156 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007773/0.9464, allocations: 430.7 kB / 0.616 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9464, allocations: 3.938 kB / 0.616 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001026/0.9474, allocations: 241 kB / 0.6162 GB, free: 11.19 MB / 0.4948 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.002017/0.9494, allocations: 1.22 MB / 0.6174 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.9512, allocations: 0.7229 MB / 0.6181 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9512, allocations: 8 kB / 0.6181 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005063/0.9518, allocations: 188.9 kB / 0.6183 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.9532, allocations: 191.6 kB / 0.6185 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.9563, allocations: 1.009 MB / 0.6194 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.9569, allocations: 0.9431 MB / 0.6204 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009486/0.9579, allocations: 135.6 kB / 0.6205 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004891/0.9584, allocations: 264.6 kB / 0.6208 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of SimCode: time 1.453e-06/0.9584, allocations: 0 / 0.6208 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0529/1.011, allocations: 15.42 MB / 0.6358 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/1.012, allocations: 150.8 kB / 0.636 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.036/4.047, allocations: 3.938 kB / 0.636 GB, free: 7.754 MB / 0.5105 GB