Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadModel(Buildings): time 3.582/3.582, allocations: 403.3 MB / 415.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.779e-05, allocations: 0 / 0.499 GB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4711, allocations: 92.68 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.6649, allocations: 126.9 MB / 0.7135 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.6652, allocations: 75.95 kB / 0.7135 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04834/0.7136, allocations: 12.56 MB / 0.7258 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.655e-06/0.7136, allocations: 0 / 0.7258 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.532e-05/0.7137, allocations: 12 kB / 0.7258 GB, free: 2.73 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001839/0.7155, allocations: 0.8724 MB / 0.7267 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.7156, allocations: 12.03 kB / 0.7267 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.7158, allocations: 82.97 kB / 0.7268 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.7168, allocations: 0.529 MB / 0.7273 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.7169, allocations: 45.31 kB / 0.7273 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.717, allocations: 59.94 kB / 0.7274 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.7184, allocations: 0.6132 MB / 0.728 GB, free: 400 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.7185, allocations: 0 / 0.728 GB, free: 400 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/0.7186, allocations: 24 kB / 0.728 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.7186, allocations: 16 kB / 0.728 GB, free: 360 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.7198, allocations: 429.1 kB / 0.7284 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004328/0.7241, allocations: 2.107 MB / 0.7305 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.7252, allocations: 440.2 kB / 0.7309 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/0.7257, allocations: 218.5 kB / 0.7311 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.7258, allocations: 8.422 kB / 0.7311 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006098/0.7264, allocations: 265.3 kB / 0.7314 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=50): time 4.123e-06/0.7264, allocations: 0 / 0.7314 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50): time 0.001079/0.7275, allocations: 427.5 kB / 0.7318 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.7276, allocations: 158.7 kB / 0.7319 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006661/0.7283, allocations: 395.9 kB / 0.7323 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.7284, allocations: 37.7 kB / 0.7323 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.7287, allocations: 321.1 kB / 0.7327 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.7289, allocations: 165.6 kB / 0.7328 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.729, allocations: 16 kB / 0.7328 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.7292, allocations: 366.7 kB / 0.7332 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.7296, allocations: 157.1 kB / 0.7333 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.7302, allocations: 259.5 kB / 0.7336 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.7307, allocations: 205.6 kB / 0.7338 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.578e-06/0.7307, allocations: 4 kB / 0.7338 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00124/0.7319, allocations: 0.5429 MB / 0.7343 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003556/0.7323, allocations: 0.6358 MB / 0.7349 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.891e-06/0.7323, allocations: 0 / 0.7349 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.7323, allocations: 4 kB / 0.7349 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007734/0.7331, allocations: 131.8 kB / 0.7351 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.7332, allocations: 4 kB / 0.7351 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.7338, allocations: 87.5 kB / 0.7351 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.7338, allocations: 16 kB / 0.7352 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.7339, allocations: 4 kB / 0.7352 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/0.735, allocations: 459 kB / 0.7356 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.613e-06/0.735, allocations: 3.938 kB / 0.7356 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.735, allocations: 4 kB / 0.7356 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.7357, allocations: 112.1 kB / 0.7357 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.7357, allocations: 4 kB / 0.7357 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.7363, allocations: 63.59 kB / 0.7358 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.7364, allocations: 19.94 kB / 0.7358 GB, free: 8.117 MB / 0.6198 GB 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.0002319/0.7366, allocations: 150.1 kB / 0.7359 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.7368, allocations: 59.3 kB / 0.736 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.737, allocations: 65.38 kB / 0.7361 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.737, allocations: 7.984 kB / 0.7361 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.737, allocations: 0 / 0.7361 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.252e-06/0.737, allocations: 0 / 0.7361 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.7394, allocations: 1.224 MB / 0.7373 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.847e-06/0.7395, allocations: 4 kB / 0.7373 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/0.7403, allocations: 107.9 kB / 0.7374 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.371e-06/0.7403, allocations: 0 / 0.7374 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.7403, allocations: 12 kB / 0.7374 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.865e-06/0.7404, allocations: 4 kB / 0.7374 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7404, allocations: 0 / 0.7374 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.742, allocations: 0.7563 MB / 0.7381 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.7423, allocations: 184.4 kB / 0.7383 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.7424, allocations: 12 kB / 0.7383 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/0.743, allocations: 59.86 kB / 0.7384 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.7431, allocations: 32.39 kB / 0.7384 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.7432, allocations: 20.11 kB / 0.7384 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000537/0.7437, allocations: 309.6 kB / 0.7387 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.06e-07/0.7438, allocations: 0 / 0.7387 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009906/0.7448, allocations: 271 kB / 0.739 GB, free: 4.773 MB / 0.6198 GB 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.0002162/0.745, allocations: 115.2 kB / 0.7391 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.7466, allocations: 0.7604 MB / 0.7398 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.053e-06/0.7467, allocations: 0 / 0.7398 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004848/0.7472, allocations: 214.4 kB / 0.74 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009031/0.7481, allocations: 138.9 kB / 0.7402 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.7518, allocations: 1.284 MB / 0.7414 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/0.7525, allocations: 0.9073 MB / 0.7423 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007123/0.7532, allocations: 96.48 kB / 0.7424 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.7534, allocations: 39.42 kB / 0.7424 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of SimCode: time 1.734e-06/0.7534, allocations: 0 / 0.7424 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of Templates: time 0.02031/0.7737, allocations: 7.594 MB / 0.7498 GB, free: 9.609 MB / 0.6355 GB