Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadModel(Buildings): time 4.564/4.564, allocations: 458.9 MB / 473.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.529e-05, allocations: 7.344 kB / 0.5697 GB, free: 9.793 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2297, allocations: 106.2 MB / 0.6734 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005257/0.235, allocations: 3.107 MB / 0.6765 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003348/0.2384, allocations: 1.123 MB / 0.6776 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.2392, allocations: 43.88 kB / 0.6776 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.2393, allocations: 47.39 kB / 0.6776 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008959/0.2402, allocations: 187.3 kB / 0.6778 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.242, allocations: 443.1 kB / 0.6782 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001606/0.2436, allocations: 0.5436 MB / 0.6788 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004464/0.2441, allocations: 192.9 kB / 0.679 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.2447, allocations: 271.1 kB / 0.6792 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.2452, allocations: 230.8 kB / 0.6794 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-05/0.2453, allocations: 24 kB / 0.6795 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.2454, allocations: 20 kB / 0.6795 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.2455, allocations: 107.5 kB / 0.6796 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.2457, allocations: 36 kB / 0.6796 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009313/0.2466, allocations: 0.6198 MB / 0.6802 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2466, allocations: 0 / 0.6802 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2467, allocations: 4 kB / 0.6802 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.127e-05/0.2467, allocations: 0 / 0.6802 GB, free: 11.59 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002586/0.2493, allocations: 0.9549 MB / 0.6812 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2493, allocations: 8.031 kB / 0.6812 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.2496, allocations: 98.83 kB / 0.6813 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.2512, allocations: 0.5708 MB / 0.6818 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.2514, allocations: 100.4 kB / 0.6819 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.2516, allocations: 52 kB / 0.682 GB, free: 9.695 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.2534, allocations: 0.6079 MB / 0.6826 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.2534, allocations: 0 / 0.6826 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/0.2535, allocations: 24 kB / 0.6826 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.2536, allocations: 12 kB / 0.6826 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.2553, allocations: 443.6 kB / 0.683 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004613/0.26, allocations: 2.133 MB / 0.6851 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.2623, allocations: 0.5303 MB / 0.6856 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.489e-05/0.2624, allocations: 4 kB / 0.6856 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.2635, allocations: 293.9 kB / 0.6859 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=45): time 3.356e-06/0.2636, allocations: 0 / 0.6859 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of matching and sorting (n=45): time 0.002642/0.2662, allocations: 0.6347 MB / 0.6865 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.2663, allocations: 92.84 kB / 0.6866 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.2674, allocations: 0.531 MB / 0.6871 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.2676, allocations: 37.7 kB / 0.6872 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.268, allocations: 356.9 kB / 0.6875 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.2682, allocations: 157.7 kB / 0.6877 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.2683, allocations: 8 kB / 0.6877 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2684, allocations: 329.9 kB / 0.688 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/0.2693, allocations: 189 kB / 0.6882 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008816/0.2702, allocations: 284.2 kB / 0.6884 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008873/0.2711, allocations: 238.5 kB / 0.6887 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2711, allocations: 0 / 0.6887 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002194/0.2733, allocations: 0.614 MB / 0.6893 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005037/0.2739, allocations: 0.9945 MB / 0.6902 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.2739, allocations: 3.984 kB / 0.6902 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.2739, allocations: 8 kB / 0.6902 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/0.2749, allocations: 111.8 kB / 0.6903 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.275, allocations: 4 kB / 0.6903 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/0.2758, allocations: 79.34 kB / 0.6904 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.2759, allocations: 24 kB / 0.6904 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2759, allocations: 5.094 kB / 0.6904 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001807/0.2777, allocations: 0.5036 MB / 0.6909 GB, free: 156 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.2777, allocations: 4 kB / 0.6909 GB, free: 152 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2778, allocations: 4 kB / 0.6909 GB, free: 148 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009168/0.2787, allocations: 108.2 kB / 0.691 GB, free: 40 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.2787, allocations: 11.94 kB / 0.6911 GB, free: 28 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/0.2795, allocations: 67.48 kB / 0.6911 GB, free: 15.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.2796, allocations: 16 kB / 0.6911 GB, free: 15.95 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0004482/0.28, allocations: 193.1 kB / 0.6913 GB, free: 15.75 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.2802, allocations: 75.06 kB / 0.6914 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.2804, allocations: 95.22 kB / 0.6915 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.2805, allocations: 7.938 kB / 0.6915 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2805, allocations: 0 / 0.6915 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.2805, allocations: 0 / 0.6915 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.2815, allocations: 0.6219 MB / 0.6921 GB, free: 14.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2816, allocations: 0 / 0.6921 GB, free: 14.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009384/0.2825, allocations: 83.89 kB / 0.6922 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.2825, allocations: 4 kB / 0.6922 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.2826, allocations: 15.98 kB / 0.6922 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.2826, allocations: 7.953 kB / 0.6922 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.2826, allocations: 3.984 kB / 0.6922 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/0.2854, allocations: 0.7435 MB / 0.6929 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/0.2858, allocations: 192.1 kB / 0.6931 GB, free: 13.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.2859, allocations: 8 kB / 0.6931 GB, free: 13.81 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/0.2868, allocations: 47.95 kB / 0.6932 GB, free: 13.76 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.2869, allocations: 39.91 kB / 0.6932 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/0.287, allocations: 15.98 kB / 0.6932 GB, free: 13.71 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000832/0.2878, allocations: 435 kB / 0.6936 GB, free: 13.29 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2878, allocations: 0 / 0.6936 GB, free: 13.29 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009791/0.2888, allocations: 211.3 kB / 0.6938 GB, free: 13.08 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.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 (45): * Single equations (assignments): 43 * 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.0002126/0.2891, allocations: 117.5 kB / 0.694 GB, free: 12.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002835/0.2919, allocations: 0.8282 MB / 0.6948 GB, free: 12.11 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.292, allocations: 7.875 kB / 0.6948 GB, free: 12.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008661/0.2928, allocations: 228.7 kB / 0.695 GB, free: 11.88 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.2943, allocations: 169 kB / 0.6952 GB, free: 11.71 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.2979, allocations: 1.398 MB / 0.6965 GB, free: 10.29 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/0.2987, allocations: 0.9353 MB / 0.6974 GB, free: 9.324 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001031/0.2997, allocations: 125.1 kB / 0.6976 GB, free: 9.199 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.2999, allocations: 39.44 kB / 0.6976 GB, free: 9.16 MB / 0.573 GB Notification: Performance of SimCode: time 1.563e-06/0.2999, allocations: 0 / 0.6976 GB, free: 9.16 MB / 0.573 GB Notification: Performance of Templates: time 0.02611/0.3261, allocations: 8.25 MB / 0.7056 GB, free: 0.957 MB / 0.573 GB