Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 3.06/3.06, allocations: 288.1 MB / 300.7 MB, free: 15.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.715e-05, allocations: 3.359 kB / 370.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1592, allocations: 67 MB / 437.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6477/0.807, allocations: 105.8 MB / 0.5307 GB, free: 16.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.8073, allocations: 77.5 kB / 0.5307 GB, free: 16.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07632/0.8837, allocations: 16.9 MB / 0.5473 GB, free: 31.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.8838, allocations: 0 / 0.5473 GB, free: 31.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001384/0.8839, allocations: 23.47 kB / 0.5473 GB, free: 31.39 MB / 458.7 MB 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.002795/0.8868, allocations: 0.9392 MB / 0.5482 GB, free: 30.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.8868, allocations: 7.812 kB / 0.5482 GB, free: 30.79 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003065/0.8871, allocations: 89.08 kB / 0.5483 GB, free: 30.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.8876, allocations: 93.72 kB / 0.5484 GB, free: 30.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.8892, allocations: 0.5885 MB / 0.5489 GB, free: 30.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.8894, allocations: 109 kB / 0.5491 GB, free: 30.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.8895, allocations: 53.16 kB / 0.5491 GB, free: 30.33 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.8909, allocations: 0.5732 MB / 0.5497 GB, free: 30.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.8909, allocations: 3.844 kB / 0.5497 GB, free: 30.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.461e-05/0.891, allocations: 17.72 kB / 0.5497 GB, free: 30.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.8911, allocations: 12.94 kB / 0.5497 GB, free: 30.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.8922, allocations: 363.2 kB / 0.55 GB, free: 30.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004856/0.8971, allocations: 2.218 MB / 0.5522 GB, free: 29.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.8985, allocations: 454 kB / 0.5526 GB, free: 29.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.8991, allocations: 173.4 kB / 0.5528 GB, free: 29.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.928e-05/0.8991, allocations: 7.75 kB / 0.5528 GB, free: 29.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000681/0.8998, allocations: 241.9 kB / 0.553 GB, free: 28.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=45): time 3.787e-06/0.8999, allocations: 7.875 kB / 0.5531 GB, free: 28.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.001174/0.901, allocations: 419.2 kB / 0.5535 GB, free: 28.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.9012, allocations: 187.2 kB / 0.5536 GB, free: 28.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.9022, allocations: 0.5293 MB / 0.5541 GB, free: 28.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.9025, allocations: 40.39 kB / 0.5542 GB, free: 28.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.9028, allocations: 369.4 kB / 0.5545 GB, free: 28.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.903, allocations: 157.1 kB / 0.5547 GB, free: 28.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.9031, allocations: 10.94 kB / 0.5547 GB, free: 28.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9032, allocations: 328.3 kB / 0.555 GB, free: 27.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.9037, allocations: 143.7 kB / 0.5551 GB, free: 27.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.9042, allocations: 279.8 kB / 0.5554 GB, free: 27.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.9047, allocations: 208.2 kB / 0.5556 GB, free: 27.78 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.9047, allocations: 3.969 kB / 0.5556 GB, free: 27.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001345/0.9061, allocations: 0.5364 MB / 0.5561 GB, free: 27.65 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004144/0.9065, allocations: 0.9874 MB / 0.5571 GB, free: 26.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.9066, allocations: 0 / 0.5571 GB, free: 26.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.9066, allocations: 11.61 kB / 0.5571 GB, free: 26.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.9077, allocations: 128.2 kB / 0.5572 GB, free: 26.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.9077, allocations: 3.844 kB / 0.5572 GB, free: 26.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.9088, allocations: 77.22 kB / 0.5573 GB, free: 26.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/0.9089, allocations: 22.59 kB / 0.5573 GB, free: 26.58 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.9089, allocations: 7.812 kB / 0.5573 GB, free: 26.58 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/0.91, allocations: 452.1 kB / 0.5578 GB, free: 26.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.9101, allocations: 0 / 0.5578 GB, free: 26.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.9101, allocations: 7.75 kB / 0.5578 GB, free: 26.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009248/0.911, allocations: 116.8 kB / 0.5579 GB, free: 26.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.9111, allocations: 13.06 kB / 0.5579 GB, free: 26.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.9121, allocations: 73.23 kB / 0.558 GB, free: 26.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.9122, allocations: 19.97 kB / 0.558 GB, free: 26.48 MB / 458.7 MB 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.0003018/0.9125, allocations: 143.1 kB / 0.5581 GB, free: 26.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.9127, allocations: 81.77 kB / 0.5582 GB, free: 26.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.913, allocations: 76.36 kB / 0.5583 GB, free: 26.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.913, allocations: 5.141 kB / 0.5583 GB, free: 26.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.913, allocations: 0 / 0.5583 GB, free: 26.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.9131, allocations: 1.547 kB / 0.5583 GB, free: 26.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.9141, allocations: 0.6598 MB / 0.5589 GB, free: 26.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.9142, allocations: 0 / 0.5589 GB, free: 26.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.9152, allocations: 100.1 kB / 0.559 GB, free: 26.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.9153, allocations: 3.875 kB / 0.559 GB, free: 26.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.078e-05/0.9153, allocations: 7.188 kB / 0.559 GB, free: 26.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.9153, allocations: 3.875 kB / 0.559 GB, free: 26.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9154, allocations: 0 / 0.559 GB, free: 26.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.917, allocations: 0.6653 MB / 0.5597 GB, free: 25.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.9175, allocations: 202.1 kB / 0.5599 GB, free: 25.83 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.9177, allocations: 10.88 kB / 0.5599 GB, free: 25.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009848/0.9187, allocations: 61.66 kB / 0.56 GB, free: 25.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.9188, allocations: 37.91 kB / 0.56 GB, free: 25.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/0.9189, allocations: 15.66 kB / 0.56 GB, free: 25.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008156/0.9197, allocations: 424.1 kB / 0.5604 GB, free: 25.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9198, allocations: 0 / 0.5604 GB, free: 25.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001095/0.9209, allocations: 240 kB / 0.5606 GB, free: 25.69 MB / 458.7 MB 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.001957/0.9229, allocations: 1.233 MB / 0.5618 GB, free: 25.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.9246, allocations: 0.7246 MB / 0.5626 GB, free: 24.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.9246, allocations: 8.688 kB / 0.5626 GB, free: 24.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.9251, allocations: 191.2 kB / 0.5627 GB, free: 24.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.9265, allocations: 169.3 kB / 0.5629 GB, free: 24.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.9297, allocations: 1.018 MB / 0.5639 GB, free: 24.47 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.9302, allocations: 0.9333 MB / 0.5648 GB, free: 23.76 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001035/0.9313, allocations: 134 kB / 0.5649 GB, free: 23.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/0.9318, allocations: 259.2 kB / 0.5652 GB, free: 23.72 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/0.9318, allocations: 0 / 0.5652 GB, free: 23.72 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04796/0.9798, allocations: 15 MB / 0.5798 GB, free: 16.74 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/0.9801, allocations: 139.9 kB / 0.58 GB, free: 16.52 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/4.229, allocations: 3.875 kB / 0.58 GB, free: 16.52 MB / 458.7 MB