Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadModel(Buildings): time 4.652/4.652, allocations: 458.9 MB / 473.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.131e-05, allocations: 4.531 kB / 0.5697 GB, free: 9.809 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2439, allocations: 106.2 MB / 0.6734 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006212/0.2502, allocations: 3.369 MB / 0.6767 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003468/0.2537, allocations: 1.166 MB / 0.6779 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000738/0.2545, allocations: 39.88 kB / 0.6779 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.2547, allocations: 59.36 kB / 0.6779 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.2558, allocations: 203.3 kB / 0.6781 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.2572, allocations: 291.5 kB / 0.6784 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.2587, allocations: 0.4924 MB / 0.6789 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006029/0.2594, allocations: 225.7 kB / 0.6791 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004977/0.2599, allocations: 195.3 kB / 0.6793 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.2603, allocations: 215 kB / 0.6795 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.2605, allocations: 20 kB / 0.6795 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.2606, allocations: 24 kB / 0.6795 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.2607, allocations: 87.55 kB / 0.6796 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.2609, allocations: 44 kB / 0.6797 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.2622, allocations: 0.8066 MB / 0.6805 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2622, allocations: 4 kB / 0.6805 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.367e-06/0.2622, allocations: 0 / 0.6805 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.676e-05/0.2623, allocations: 0 / 0.6805 GB, free: 11.37 MB / 0.5573 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.002601/0.2649, allocations: 0.8908 MB / 0.6813 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.2649, allocations: 8.031 kB / 0.6813 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.2653, allocations: 90.92 kB / 0.6814 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.2667, allocations: 0.533 MB / 0.6819 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.2668, allocations: 49.25 kB / 0.682 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.267, allocations: 56 kB / 0.682 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.2689, allocations: 0.5959 MB / 0.6826 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.2689, allocations: 3.938 kB / 0.6826 GB, free: 9.023 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-05/0.269, allocations: 24 kB / 0.6827 GB, free: 9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.2691, allocations: 16 kB / 0.6827 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.2708, allocations: 469 kB / 0.6831 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/0.2759, allocations: 2.028 MB / 0.6851 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.2778, allocations: 452.9 kB / 0.6855 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.269e-05/0.2779, allocations: 4.438 kB / 0.6855 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008868/0.2788, allocations: 269.2 kB / 0.6858 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=49): time 3.186e-06/0.2788, allocations: 0 / 0.6858 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49): time 0.002311/0.2812, allocations: 0.5961 MB / 0.6864 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.2812, allocations: 55.84 kB / 0.6864 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007562/0.282, allocations: 385.9 kB / 0.6868 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/0.2821, allocations: 41.7 kB / 0.6868 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.2825, allocations: 324.3 kB / 0.6871 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.2827, allocations: 165.6 kB / 0.6873 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.2828, allocations: 12 kB / 0.6873 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002154/0.283, allocations: 366.8 kB / 0.6877 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/0.2837, allocations: 165 kB / 0.6878 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007661/0.2845, allocations: 253.8 kB / 0.6881 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007577/0.2852, allocations: 223.9 kB / 0.6883 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2853, allocations: 0 / 0.6883 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001851/0.2871, allocations: 0.5663 MB / 0.6888 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/0.2872, allocations: 37.66 kB / 0.6889 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.2872, allocations: 8.25 kB / 0.6889 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.2873, allocations: 4 kB / 0.6889 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009689/0.2882, allocations: 115.8 kB / 0.689 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.2883, allocations: 4 kB / 0.689 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006674/0.2889, allocations: 75.5 kB / 0.6891 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.289, allocations: 19.98 kB / 0.6891 GB, free: 2.227 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,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 (65): * Single equations (assignments): 64 * 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.0004477/0.2895, allocations: 217.7 kB / 0.6893 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2896, allocations: 55.34 kB / 0.6893 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.2898, allocations: 65.55 kB / 0.6894 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.2898, allocations: 4 kB / 0.6894 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.2899, allocations: 7.984 kB / 0.6894 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2899, allocations: 0 / 0.6894 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.2929, allocations: 1.185 MB / 0.6906 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.2929, allocations: 3.938 kB / 0.6906 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009596/0.2939, allocations: 107.8 kB / 0.6907 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.2939, allocations: 0 / 0.6907 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.294, allocations: 8 kB / 0.6907 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.294, allocations: 4 kB / 0.6907 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.294, allocations: 0 / 0.6907 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.2965, allocations: 0.7718 MB / 0.6914 GB, free: 15.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.297, allocations: 176.3 kB / 0.6916 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.2971, allocations: 15.95 kB / 0.6916 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/0.2977, allocations: 35.91 kB / 0.6917 GB, free: 15.48 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.2978, allocations: 36.39 kB / 0.6917 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.2979, allocations: 8 kB / 0.6917 GB, free: 15.44 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005684/0.2984, allocations: 310.9 kB / 0.692 GB, free: 15.14 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.51e-07/0.2985, allocations: 0 / 0.692 GB, free: 15.14 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006569/0.2991, allocations: 143.4 kB / 0.6921 GB, free: 15 MB / 0.573 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.trigger.y,$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 (49): * Single equations (assignments): 47 * 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.0001952/0.2993, allocations: 123.2 kB / 0.6923 GB, free: 14.87 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.301, allocations: 493.5 kB / 0.6927 GB, free: 14.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.3011, allocations: 0 / 0.6927 GB, free: 14.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007498/0.3018, allocations: 218.4 kB / 0.6929 GB, free: 14.16 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.303, allocations: 138.1 kB / 0.6931 GB, free: 14.03 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/0.3078, allocations: 1.606 MB / 0.6946 GB, free: 12.39 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.3085, allocations: 0.9057 MB / 0.6955 GB, free: 11.46 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005239/0.3091, allocations: 68.52 kB / 0.6956 GB, free: 11.39 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.3093, allocations: 43.38 kB / 0.6956 GB, free: 11.35 MB / 0.573 GB Notification: Performance of SimCode: time 1.182e-06/0.3093, allocations: 0 / 0.6956 GB, free: 11.35 MB / 0.573 GB Notification: Performance of Templates: time 0.01858/0.3279, allocations: 5.337 MB / 0.7008 GB, free: 6.07 MB / 0.573 GB