Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.877/2.877, allocations: 288.1 MB / 300.7 MB, free: 15.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.562e-05, allocations: 2.938 kB / 370.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1578, allocations: 67.01 MB / 437.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6528/0.8107, allocations: 104.4 MB / 0.5294 GB, free: 16.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.8111, allocations: 77.66 kB / 0.5294 GB, free: 16.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05131/0.8624, allocations: 12.46 MB / 0.5416 GB, free: 31.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.8625, allocations: 3.938 kB / 0.5416 GB, free: 31.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.879e-05/0.8625, allocations: 15.47 kB / 0.5416 GB, free: 31.79 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002346/0.8649, allocations: 0.8713 MB / 0.5425 GB, free: 31.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.865, allocations: 15.56 kB / 0.5425 GB, free: 31.21 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.8652, allocations: 99.97 kB / 0.5426 GB, free: 31.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.8654, allocations: 85.84 kB / 0.5427 GB, free: 31.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.8665, allocations: 0.5355 MB / 0.5432 GB, free: 30.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.8666, allocations: 42.28 kB / 0.5432 GB, free: 30.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.8667, allocations: 56.84 kB / 0.5433 GB, free: 30.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.8682, allocations: 0.6058 MB / 0.5439 GB, free: 30.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.8682, allocations: 7.781 kB / 0.5439 GB, free: 30.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-05/0.8683, allocations: 25.75 kB / 0.5439 GB, free: 30.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.8684, allocations: 15.56 kB / 0.5439 GB, free: 30.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.8695, allocations: 421 kB / 0.5443 GB, free: 30.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/0.8742, allocations: 2.084 MB / 0.5464 GB, free: 30.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.8753, allocations: 421.9 kB / 0.5468 GB, free: 30.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.8758, allocations: 221.5 kB / 0.547 GB, free: 30.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.043e-05/0.8759, allocations: 4.312 kB / 0.547 GB, free: 30.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005816/0.8765, allocations: 253.1 kB / 0.5472 GB, free: 29.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 3.286e-06/0.8765, allocations: 0 / 0.5472 GB, free: 29.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=50): time 0.00112/0.8776, allocations: 430.8 kB / 0.5476 GB, free: 29.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.8777, allocations: 173 kB / 0.5478 GB, free: 29.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006616/0.8784, allocations: 393.6 kB / 0.5482 GB, free: 29.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.081e-05/0.8785, allocations: 32.89 kB / 0.5482 GB, free: 29.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.8788, allocations: 319.4 kB / 0.5485 GB, free: 29.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.879, allocations: 166.6 kB / 0.5487 GB, free: 29.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.879, allocations: 11.28 kB / 0.5487 GB, free: 29.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.8792, allocations: 365.2 kB / 0.549 GB, free: 28.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.8796, allocations: 155.1 kB / 0.5492 GB, free: 28.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.8801, allocations: 260.5 kB / 0.5494 GB, free: 28.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.8806, allocations: 211.6 kB / 0.5496 GB, free: 28.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.8806, allocations: 0 / 0.5496 GB, free: 28.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001166/0.8818, allocations: 0.5209 MB / 0.5501 GB, free: 28.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.8819, allocations: 33.45 kB / 0.5502 GB, free: 28.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.8819, allocations: 48 / 0.5502 GB, free: 28.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.8819, allocations: 18.97 kB / 0.5502 GB, free: 28.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.8829, allocations: 124.3 kB / 0.5503 GB, free: 28.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.8829, allocations: 3.875 kB / 0.5503 GB, free: 28.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.8837, allocations: 89.47 kB / 0.5504 GB, free: 28.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.8838, allocations: 20.53 kB / 0.5504 GB, free: 28.63 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0001919/0.884, allocations: 134.6 kB / 0.5505 GB, free: 28.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.8841, allocations: 54.59 kB / 0.5506 GB, free: 28.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.8843, allocations: 67.78 kB / 0.5506 GB, free: 28.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.8843, allocations: 7.75 kB / 0.5507 GB, free: 28.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.8843, allocations: 4 kB / 0.5507 GB, free: 28.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.8844, allocations: 3.141 kB / 0.5507 GB, free: 28.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.8866, allocations: 1.227 MB / 0.5519 GB, free: 28.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8867, allocations: 0 / 0.5519 GB, free: 28.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009839/0.8877, allocations: 108.7 kB / 0.552 GB, free: 28.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.8877, allocations: 4 kB / 0.552 GB, free: 28.13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.946e-05/0.8878, allocations: 12.89 kB / 0.552 GB, free: 28.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.8878, allocations: 0 / 0.552 GB, free: 28.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.8878, allocations: 7.953 kB / 0.552 GB, free: 28.12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.8894, allocations: 0.751 MB / 0.5527 GB, free: 27.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.8898, allocations: 174.8 kB / 0.5529 GB, free: 27.83 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.8899, allocations: 13.78 kB / 0.5529 GB, free: 27.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.8906, allocations: 60.52 kB / 0.553 GB, free: 27.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.8908, allocations: 33.67 kB / 0.553 GB, free: 27.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.8908, allocations: 19.33 kB / 0.553 GB, free: 27.81 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005566/0.8914, allocations: 307.4 kB / 0.5533 GB, free: 27.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8914, allocations: 0 / 0.5533 GB, free: 27.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007921/0.8922, allocations: 161.8 kB / 0.5535 GB, free: 27.69 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.001956/0.8942, allocations: 1.306 MB / 0.5547 GB, free: 26.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.8953, allocations: 458.4 kB / 0.5552 GB, free: 26.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.8954, allocations: 4.062 kB / 0.5552 GB, free: 26.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004973/0.8959, allocations: 211.6 kB / 0.5554 GB, free: 26.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.8971, allocations: 134.7 kB / 0.5555 GB, free: 26.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.9021, allocations: 1.379 MB / 0.5569 GB, free: 26.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.9026, allocations: 0.9068 MB / 0.5577 GB, free: 25.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005052/0.9032, allocations: 60.78 kB / 0.5578 GB, free: 25.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/0.9036, allocations: 220.3 kB / 0.558 GB, free: 25.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.283e-06/0.9036, allocations: 0 / 0.558 GB, free: 25.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/0.9493, allocations: 11.46 MB / 0.5692 GB, free: 22.03 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.9496, allocations: 148 kB / 0.5693 GB, free: 21.81 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/3.752, allocations: 0 / 0.5693 GB, free: 21.81 MB / 458.7 MB