Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.523/4.523, allocations: 404.2 MB / 411.3 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.554e-05, allocations: 4 kB / 0.4945 GB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7128/0.7129, allocations: 92.69 MB / 0.585 GB, free: 2.289 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2626/0.9755, allocations: 126.5 MB / 0.7085 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/0.9759, allocations: 87.88 kB / 0.7086 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1077/1.084, allocations: 16.19 MB / 0.7244 GB, free: 3.344 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/1.084, allocations: 0 / 0.7244 GB, free: 3.344 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001011/1.084, allocations: 27.94 kB / 0.7245 GB, free: 3.316 MB / 0.6042 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.003373/1.087, allocations: 0.9118 MB / 0.7253 GB, free: 2.348 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/1.087, allocations: 16.03 kB / 0.7254 GB, free: 2.332 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004064/1.088, allocations: 86.97 kB / 0.7254 GB, free: 2.246 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/1.09, allocations: 0.5668 MB / 0.726 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/1.09, allocations: 76.72 kB / 0.7261 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.09, allocations: 31.94 kB / 0.7261 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001148/1.091, allocations: 330.5 kB / 0.7264 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/1.093, allocations: 496.8 kB / 0.7269 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/1.093, allocations: 0 / 0.7269 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.754e-05/1.093, allocations: 4 kB / 0.7269 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/1.093, allocations: 16 kB / 0.7269 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005295/1.098, allocations: 1.9 MB / 0.7288 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/1.1, allocations: 435.8 kB / 0.7292 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/1.1, allocations: 157.6 kB / 0.7293 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.221e-05/1.1, allocations: 7.984 kB / 0.7293 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007049/1.101, allocations: 227.2 kB / 0.7296 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 4.148e-06/1.101, allocations: 0 / 0.7296 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001306/1.102, allocations: 388.9 kB / 0.7299 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/1.102, allocations: 191.9 kB / 0.7301 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009808/1.103, allocations: 459.5 kB / 0.7305 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/1.104, allocations: 25.7 kB / 0.7306 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/1.104, allocations: 344.8 kB / 0.7309 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/1.104, allocations: 149.8 kB / 0.731 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/1.104, allocations: 0 / 0.731 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002147/1.105, allocations: 370.8 kB / 0.7314 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/1.105, allocations: 137.1 kB / 0.7315 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/1.106, allocations: 256.9 kB / 0.7318 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005228/1.106, allocations: 160.7 kB / 0.7319 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.106, allocations: 0 / 0.7319 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001434/1.108, allocations: 459.1 kB / 0.7324 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004146/1.108, allocations: 0.8212 MB / 0.7332 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.108, allocations: 4 kB / 0.7332 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/1.108, allocations: 7.953 kB / 0.7332 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.109, allocations: 111.9 kB / 0.7333 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/1.109, allocations: 7.938 kB / 0.7333 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.11, allocations: 71.64 kB / 0.7334 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/1.11, allocations: 16 kB / 0.7334 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/1.11, allocations: 4 kB / 0.7334 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/1.112, allocations: 350.4 kB / 0.7337 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.112, allocations: 8 kB / 0.7337 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.112, allocations: 4 kB / 0.7337 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009108/1.113, allocations: 104.1 kB / 0.7338 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.113, allocations: 4 kB / 0.7338 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007602/1.113, allocations: 47.59 kB / 0.7339 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/1.113, allocations: 16 kB / 0.7339 GB, free: 9.215 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.0002348/1.114, allocations: 124.8 kB / 0.734 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001097/1.115, allocations: 376.7 kB / 0.7344 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/1.115, allocations: 67.16 kB / 0.7344 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/1.115, allocations: 66.61 kB / 0.7345 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.115, allocations: 4 kB / 0.7345 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.115, allocations: 0 / 0.7345 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.115, allocations: 7.984 kB / 0.7345 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/1.116, allocations: 0.5561 MB / 0.735 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/1.116, allocations: 0 / 0.735 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.117, allocations: 103.8 kB / 0.7351 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.117, allocations: 4 kB / 0.7351 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/1.118, allocations: 3.984 kB / 0.7352 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/1.118, allocations: 4 kB / 0.7352 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.118, allocations: 0 / 0.7352 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/1.119, allocations: 0.6078 MB / 0.7357 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/1.12, allocations: 192.2 kB / 0.7359 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/1.12, allocations: 11.94 kB / 0.7359 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.121, allocations: 55.94 kB / 0.736 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.121, allocations: 31.95 kB / 0.736 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/1.121, allocations: 19.98 kB / 0.736 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007824/1.122, allocations: 347.2 kB / 0.7364 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.01e-07/1.122, allocations: 0 / 0.7364 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001113/1.123, allocations: 207.1 kB / 0.7366 GB, free: 6.371 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.002234/1.125, allocations: 1.18 MB / 0.7377 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001863/1.127, allocations: 0.6736 MB / 0.7384 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.127, allocations: 0 / 0.7384 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005286/1.128, allocations: 175.9 kB / 0.7386 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/1.129, allocations: 153 kB / 0.7387 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/1.133, allocations: 0.9485 MB / 0.7396 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/1.134, allocations: 0.9189 MB / 0.7405 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001122/1.135, allocations: 126.9 kB / 0.7406 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005989/1.135, allocations: 243.3 kB / 0.7409 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/1.135, allocations: 0 / 0.7409 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3369/1.472, allocations: 13.29 MB / 0.7539 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0006813/1.473, allocations: 133.9 kB / 0.754 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.355/4.828, allocations: 4 kB / 0.754 GB, free: 4.477 MB / 0.6355 GB