Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadModel(IBPSA): time 2.839/2.839, allocations: 288.1 MB / 300.7 MB, free: 15.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.244e-05, allocations: 3.719 kB / 370.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1617, allocations: 67.02 MB / 437.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4878/0.6496, allocations: 104.4 MB / 0.5294 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.6499, allocations: 79.19 kB / 0.5294 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04612/0.696, allocations: 12.46 MB / 0.5416 GB, free: 33.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6961, allocations: 0 / 0.5416 GB, free: 33.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.123e-05/0.6961, allocations: 19.91 kB / 0.5416 GB, free: 33.08 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.001755/0.6979, allocations: 0.8684 MB / 0.5425 GB, free: 32.51 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.698, allocations: 7.688 kB / 0.5425 GB, free: 32.51 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.6982, allocations: 81.69 kB / 0.5426 GB, free: 32.47 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009685/0.6992, allocations: 0.5232 MB / 0.5431 GB, free: 32.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.6993, allocations: 50.23 kB / 0.5431 GB, free: 32.19 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.6994, allocations: 60.56 kB / 0.5432 GB, free: 32.19 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.7007, allocations: 0.5979 MB / 0.5438 GB, free: 32.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.7008, allocations: 12.25 kB / 0.5438 GB, free: 32.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.7009, allocations: 28.31 kB / 0.5438 GB, free: 32.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.7009, allocations: 15.56 kB / 0.5438 GB, free: 32.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.702, allocations: 417 kB / 0.5442 GB, free: 32.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.7062, allocations: 2.098 MB / 0.5463 GB, free: 31.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/0.7072, allocations: 428.5 kB / 0.5467 GB, free: 31.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.7076, allocations: 220.8 kB / 0.5469 GB, free: 31.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.7077, allocations: 4.375 kB / 0.5469 GB, free: 31.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005537/0.7082, allocations: 249 kB / 0.5471 GB, free: 31.29 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 5.393e-06/0.7083, allocations: 0 / 0.5471 GB, free: 31.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=50): time 0.001051/0.7093, allocations: 438 kB / 0.5475 GB, free: 31.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.7094, allocations: 162.4 kB / 0.5477 GB, free: 31.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008686/0.7103, allocations: 395.6 kB / 0.5481 GB, free: 30.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.7104, allocations: 36.67 kB / 0.5481 GB, free: 30.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.7109, allocations: 320.8 kB / 0.5484 GB, free: 30.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.7111, allocations: 171 kB / 0.5486 GB, free: 30.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.7112, allocations: 14.62 kB / 0.5486 GB, free: 30.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002733/0.7115, allocations: 363.7 kB / 0.5489 GB, free: 30.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.7122, allocations: 153 kB / 0.5491 GB, free: 30.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008419/0.713, allocations: 256.8 kB / 0.5493 GB, free: 30.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/0.7139, allocations: 209.4 kB / 0.5495 GB, free: 30.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.359e-06/0.7139, allocations: 0 / 0.5495 GB, free: 30.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001886/0.7158, allocations: 0.5283 MB / 0.55 GB, free: 30.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.7159, allocations: 37.23 kB / 0.5501 GB, free: 30.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.7159, allocations: 0 / 0.5501 GB, free: 30.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.716, allocations: 3.906 kB / 0.5501 GB, free: 30.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.717, allocations: 123.1 kB / 0.5502 GB, free: 30 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.7171, allocations: 3.906 kB / 0.5502 GB, free: 30 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.7183, allocations: 91.86 kB / 0.5503 GB, free: 29.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.7184, allocations: 22.75 kB / 0.5503 GB, free: 29.97 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.0002837/0.7187, allocations: 136 kB / 0.5504 GB, free: 29.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.7189, allocations: 58.53 kB / 0.5505 GB, free: 29.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.7192, allocations: 64.42 kB / 0.5506 GB, free: 29.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.513e-06/0.7192, allocations: 3.656 kB / 0.5506 GB, free: 29.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.697e-06/0.7193, allocations: 0 / 0.5506 GB, free: 29.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.7193, allocations: 11.5 kB / 0.5506 GB, free: 29.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003519/0.7228, allocations: 1.218 MB / 0.5518 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.7229, allocations: 0 / 0.5518 GB, free: 29.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.7241, allocations: 113.7 kB / 0.5519 GB, free: 29.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-05/0.7242, allocations: 1.75 kB / 0.5519 GB, free: 29.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.751e-05/0.7243, allocations: 13.94 kB / 0.5519 GB, free: 29.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.376e-06/0.7243, allocations: 1.625 kB / 0.5519 GB, free: 29.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.544e-06/0.7243, allocations: 3.609 kB / 0.5519 GB, free: 29.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.7269, allocations: 0.7566 MB / 0.5526 GB, free: 29.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/0.7274, allocations: 176.9 kB / 0.5528 GB, free: 29.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.7276, allocations: 11.47 kB / 0.5528 GB, free: 29.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/0.7286, allocations: 54.67 kB / 0.5529 GB, free: 29.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.7288, allocations: 37.44 kB / 0.5529 GB, free: 29.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-05/0.7289, allocations: 15.44 kB / 0.5529 GB, free: 29.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007907/0.7298, allocations: 316.7 kB / 0.5532 GB, free: 29.06 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.7298, allocations: 0 / 0.5532 GB, free: 29.06 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001186/0.731, allocations: 151.6 kB / 0.5534 GB, free: 29.04 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.0002995/0.7313, allocations: 124.3 kB / 0.5535 GB, free: 28.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.7329, allocations: 456.4 kB / 0.5539 GB, free: 28.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.733, allocations: 0 / 0.5539 GB, free: 28.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007462/0.7337, allocations: 208.1 kB / 0.5541 GB, free: 28.85 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.7354, allocations: 141.9 kB / 0.5543 GB, free: 28.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/0.7411, allocations: 1.266 MB / 0.5555 GB, free: 28.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008697/0.742, allocations: 0.8994 MB / 0.5564 GB, free: 27.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000796/0.7429, allocations: 63.59 kB / 0.5564 GB, free: 27.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.7432, allocations: 41.97 kB / 0.5565 GB, free: 27.62 MB / 458.7 MB Notification: Performance of SimCode: time 2.509e-06/0.7432, allocations: 0 / 0.5565 GB, free: 27.62 MB / 458.7 MB Notification: Performance of Templates: time 0.02751/0.7707, allocations: 6.206 MB / 0.5625 GB, free: 26.71 MB / 458.7 MB