Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadModel(Buildings): time 3.757/3.757, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.183e-05/4.157e-05, allocations: 14.59 kB / 0.4991 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5234/0.5234, allocations: 92.7 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.7129, allocations: 127 MB / 0.7136 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.7132, allocations: 95.94 kB / 0.7137 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.08972/0.803, allocations: 23.12 MB / 0.7363 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.115e-06/0.803, allocations: 0 / 0.7363 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001313/0.8032, allocations: 39.92 kB / 0.7364 GB, free: 8.004 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002566/0.8057, allocations: 1.239 MB / 0.7376 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.8058, allocations: 12.03 kB / 0.7376 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.8061, allocations: 142.2 kB / 0.7377 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.8078, allocations: 0.777 MB / 0.7385 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-05/0.8079, allocations: 66 kB / 0.7385 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.8081, allocations: 79.98 kB / 0.7386 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.81, allocations: 0.9055 MB / 0.7395 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.8101, allocations: 0 / 0.7395 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.8102, allocations: 35.94 kB / 0.7395 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.8103, allocations: 24 kB / 0.7395 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.8117, allocations: 0.5584 MB / 0.7401 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006176/0.8179, allocations: 3.474 MB / 0.7435 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.8202, allocations: 0.728 MB / 0.7442 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.8209, allocations: 266.5 kB / 0.7445 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.897e-05/0.821, allocations: 4.562 kB / 0.7445 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008317/0.8219, allocations: 342 kB / 0.7448 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=68): time 4.636e-06/0.8219, allocations: 0 / 0.7448 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68): time 0.001725/0.8236, allocations: 0.6154 MB / 0.7454 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/0.8239, allocations: 376.4 kB / 0.7457 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.8256, allocations: 0.8268 MB / 0.7465 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.8257, allocations: 41.7 kB / 0.7466 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006099/0.8264, allocations: 0.5055 MB / 0.7471 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/0.8267, allocations: 236.6 kB / 0.7473 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.8267, allocations: 15.94 kB / 0.7473 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.8269, allocations: 334 kB / 0.7476 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005848/0.8275, allocations: 217.5 kB / 0.7478 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007768/0.8283, allocations: 373.5 kB / 0.7482 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/0.8289, allocations: 240.4 kB / 0.7484 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.396e-06/0.829, allocations: 4 kB / 0.7484 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001765/0.8307, allocations: 0.6901 MB / 0.7491 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.831, allocations: 457.9 kB / 0.7495 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.251e-06/0.831, allocations: 0 / 0.7495 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.8311, allocations: 4 kB / 0.7496 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.8321, allocations: 175.8 kB / 0.7497 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.8321, allocations: 4 kB / 0.7497 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/0.8331, allocations: 139.1 kB / 0.7499 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.8332, allocations: 20 kB / 0.7499 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8332, allocations: 9.516 kB / 0.7499 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001402/0.8346, allocations: 0.5298 MB / 0.7504 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.137e-06/0.8347, allocations: 8.125 kB / 0.7504 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.8347, allocations: 4 kB / 0.7504 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.8354, allocations: 123.8 kB / 0.7505 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.8354, allocations: 7.984 kB / 0.7505 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008292/0.8363, allocations: 95.19 kB / 0.7506 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.8364, allocations: 24 kB / 0.7507 GB, free: 8.805 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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.0002529/0.8366, allocations: 144.9 kB / 0.7508 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.8369, allocations: 122.5 kB / 0.7509 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.8372, allocations: 123.8 kB / 0.751 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.8373, allocations: 8 kB / 0.751 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.269e-06/0.8373, allocations: 3.938 kB / 0.751 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.8373, allocations: 3.984 kB / 0.751 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.8389, allocations: 0.9462 MB / 0.752 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.8389, allocations: 0 / 0.752 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.8399, allocations: 159.8 kB / 0.7521 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.83e-06/0.8399, allocations: 0 / 0.7521 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/0.84, allocations: 19.95 kB / 0.7521 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.016e-06/0.84, allocations: 4 kB / 0.7521 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.992e-06/0.84, allocations: 0 / 0.7521 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.8424, allocations: 0.9899 MB / 0.7531 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005682/0.843, allocations: 279.3 kB / 0.7534 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.8432, allocations: 16 kB / 0.7534 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/0.844, allocations: 95.86 kB / 0.7535 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.8442, allocations: 40.5 kB / 0.7535 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.8443, allocations: 23.98 kB / 0.7535 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001274/0.8456, allocations: 0.6557 MB / 0.7542 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.3e-07/0.8456, allocations: 0 / 0.7542 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001206/0.8468, allocations: 331.1 kB / 0.7545 GB, free: 4.762 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.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 (68): * Single equations (assignments): 66 * 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.0002719/0.8471, allocations: 142.8 kB / 0.7546 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.8492, allocations: 0.8761 MB / 0.7555 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.85e-06/0.8492, allocations: 4.062 kB / 0.7555 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.8499, allocations: 290 kB / 0.7558 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.8516, allocations: 315.5 kB / 0.7561 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.855, allocations: 1.362 MB / 0.7574 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008863/0.8559, allocations: 1.087 MB / 0.7585 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00131/0.8573, allocations: 211.8 kB / 0.7587 GB, free: 432 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.8575, allocations: 67.42 kB / 0.7587 GB, free: 364 kB / 0.6355 GB Notification: Performance of SimCode: time 1.893e-06/0.8576, allocations: 0 / 0.7587 GB, free: 364 kB / 0.6355 GB Notification: Performance of Templates: time 0.03789/0.8955, allocations: 14.56 MB / 0.773 GB, free: 1.902 MB / 0.6511 GB